diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e1c37ff..f2f261c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is inspired by [Keep a Changelog](https://keepachangelog.com/) and th ### Added - **Expanded personal event consumption** (#790) — adds eight IM personal event keys, supports subscribing to and consuming multiple event keys in one `dws event consume` invocation, and adds targeted local-consumer shutdown when a subscription is stopped so other consumers can continue on the shared event bus. +- **Shortcut Runtime Schema delivery** — publishes all 210 public built-in shortcuts as reviewed Agent-visible leaf tools across 16 product groups, with stable canonical identities, executable `+shortcut` CLI paths, parameter and cross-parameter constraints, selection guidance, interface metadata, and runtime-aligned safety/confirmation semantics. `dws shortcut list` remains the lightweight batch-discovery view, while leaf Schema now carries the complete Agent contract; declared string-slice defaults are also preserved consistently in Cobra and Schema. ## [1.0.55-beta.4] - 2026-07-27 diff --git a/docs/drafts/dws-wiki-guide.md b/docs/drafts/dws-wiki-guide.md new file mode 100644 index 00000000..8cbb314c --- /dev/null +++ b/docs/drafts/dws-wiki-guide.md @@ -0,0 +1,203 @@ +# 5分钟搭好团队知识库:DWS 让 IT 服务台自己开口答疑,你值得拥有 + +> 💡 **省流版摘要:** +> 别再用鼠标一个个建文档了,真的没必要!本文带你用 DWS(钉钉命令行工具),5 分钟搭好一个团队知识库:建空间、搭目录、批量导入 FAQ、配权限,全程命令行一步到位。最后再花 30 秒把它挂到钉钉机器人上——同事在群里 @ 一下,知识库自己开口答疑。知识管理员从"搬运工"升级为"甩手掌柜",就是这么简单。 +> +> (温馨提示:本文内容可以直接丢给智能体,让智能体一次性逐步安装和使用) + +## 一、痛点吐槽:管知识库有多累? + +身为企业 IT / 知识管理员,你肯定经历过这些"九九八十一难"…… + +- **点击马拉松**:建空间点 5 下、建文件夹点 3 下、建一篇文档再点 4 下。一个季度下来,鼠标点击次数比写的字还多。 +- **搬运工噩梦**:几百篇历史 FAQ 散落在本地 Word / Markdown 里,要搬进钉钉知识库?复制粘贴到天荒地老,格式还经常翻车。 +- **权限苦差**:新同事入职要加权限、转岗要改角色、离职要移除。逐个空间点进去操作,漏一个就是安全隐患。 +- **知识沉睡**:库是建好了,可同事还是习惯私聊问你"VPN 又连不上了怎么办"。知识库躺着吃灰,你继续当人肉客服。😭 + +今天,DWS(DingTalk Workspace CLI)闪亮登场!🌟 + +你不需要写一行代码,只要在终端敲几行命令,知识库的"建、搬、管、用"全链路一次搞定。更香的是:搭好的知识库可以直接挂到钉钉机器人上,让知识自己开口答疑。 + +## 二、DWS 是个啥?知识库的"遥控指挥中心" + +DWS 是钉钉能力的原子化封装,把复杂的 OpenAPI 打包成简单指令。管知识库这件事,主要靠它的"三驾马车": + +| 命令族 | 能干什么 | +|---|---| +| 🗂️ `dws wiki` | 知识库空间、目录节点、成员权限的全生命周期管理 | +| 📄 `dws doc` | 文档内容读写、本地文件批量导入、模板套用 | +| 📁 `dws drive` | 钉盘文件上传下载、全局搜索、归档备份 | + +你可以把它想象成知识库的"遥控指挥中心" 🎮——既能你手动按(终端敲命令,比点界面快 10 倍),也能让 AI 帮你按(Claude Code、Qoder 等智能体直接听懂并调用)。 + +**适合谁用:** + +- **企业 IT / 知识管理员**:批量建库、批量导入、批量管权限,脚本化解放双手 +- **开发者 / AI 玩家**:把知识库挂到机器人上,打造 24 小时答疑小能手 +- **重度钉钉用户 / 效率党**:一条命令搜全库,比在界面里翻目录快得多 + +## 三、搭好的知识库能帮你做什么? + +| 场景 | 玩法 | +|---|---| +| 🛟 IT 服务台 FAQ 库 | VPN、邮箱、打印机常见问题集中沉淀,机器人自动答疑 | +| 📜 制度流程库 | 报销、请假、采购制度批量导入,全文秒搜 | +| 🎓 新人上岗手册 | 按部门建目录,入职即授权限,自助通关 | +| 🤖 知识库 + 机器人 | `--knowledge-source wiki:` 一挂,群里 @ 它就答 | + +所想即所得,拒绝画饼,直接上菜!🍽️ + +## 四、5分钟倒计时,搭好你的团队知识库 + +> 以下命令全部经过真实环境跑通验证,放心照抄。 + +### 0. 安装并登录 DWS(约 1 分钟) + +把以下指令复制给你的智能体(Claude Code、Qoder、Codex 等)执行,或手动在终端跑: + +macOS / Linux: + +```bash +curl -fsSL https://raw.githubusercontent.com/DingTalk-Real-AI/dingtalk-workspace-cli/main/scripts/install.sh | sh +``` + +Windows(PowerShell): + +```powershell +irm https://raw.githubusercontent.com/DingTalk-Real-AI/dingtalk-workspace-cli/main/scripts/install.ps1 | iex +``` + +登录(提示授权请扫码): + +```bash +dws auth login +``` + +【截图位:dws auth status 显示 token_valid: true】 + +### 1. 建一个知识库空间(10 秒) + +```bash +dws wiki space create --name "IT服务台知识库" --desc "IT 常见问题与制度流程" +``` + +返回里的 `workspaceId` 就是空间的身份证号,后面每步都要用它。 + +【截图位:返回 workspaceId 与 spaceUrl】 + +### 2. 搭目录结构(20 秒) + +知识库的结构 = 文件夹节点 + 文档节点。先建分类文件夹: + +```bash +dws wiki node create --workspace --name "常见问题FAQ" --type folder +dws wiki node create --workspace --name "制度流程" --type folder +``` + +在文件夹下建一篇空文档(不加 `--folder` 就建在根目录): + +```bash +dws wiki node create --workspace --name "VPN连接失败排查指南" --folder <文件夹nodeId> +``` + +### 3. 批量导入历史文档(1 分钟,重头戏!) + +几百篇本地 FAQ 不用复制粘贴,`doc import` 直接整批灌进知识库,Word、Excel、Markdown、txt 通吃: + +```bash +# 单篇导入到指定文件夹 +dws doc import --file ./vpn-faq.md --workspace --folder <文件夹nodeId> --name "VPN连接失败排查指南" + +# 批量导入整个目录(bash 一把梭) +for f in ./faq/*.md; do + dws doc import --file "$f" --workspace --folder <文件夹nodeId> +done +``` + +已有在线文档想补内容?Markdown 直接写入: + +```bash +dws doc update --node <文档nodeId> --content-file ./补充内容.md --mode append +``` + +【截图位:终端批量导入的滚动输出 + 知识库里齐刷刷的文档列表】 + +### 4. 配权限:把人拉进来(30 秒) + +```bash +# 先用通讯录查到同事的 userId +dws contact user search --query "张三" + +# 加为编辑者(--users 支持逗号分隔批量加) +dws wiki member add --workspace --users , --role EDITOR + +# 随时盘点成员 +dws wiki member list --workspace +``` + +### 5. 验收:搜一下,秒级命中(10 秒) + +```bash +# 库内全文搜索 +dws wiki node search --workspace --query "VPN" + +# 全局搜知识库空间 +dws wiki space search --query "IT服务台" +``` + +【截图位:搜索结果命中文档标题】 + +### 6. 封神一步:挂到机器人上,知识自己开口答疑(30 秒) + +如果你已经按《5分钟抱走你的嘴替机器人》建好了钉钉机器人,只需加一个参数: + +```bash +dws dev connect --channel claudecode \ + --robot-client-id <你的机器人ID> --robot-client-secret <你的机器人密钥> \ + --knowledge-source wiki: +``` + +机器人会自动从知识库拉取知识并缓存。同事在群里 @ 它问"VPN 连不上怎么办",它直接引用你刚导入的排查指南回答——你,终于不用当复读机了。😎 + +## 五、进阶使用技巧 + +### 知识库管理速查表 + +| 操作 | 命令 | +|---|---| +| 列出我的个人空间 | `dws wiki space list --type myWikiSpace` | +| 列出组织知识库 | `dws wiki space list --type orgWikiSpace` | +| 浏览库内节点树 | `dws wiki node list --workspace [--folder ]` | +| 移动 / 复制节点 | `dws wiki node move` / `dws wiki node copy` | +| 改成员角色 | `dws wiki member update --users --role VIEWER` | +| 移除成员 | `dws wiki member remove --users ` | +| 删除整个空间 | `dws wiki space delete --workspace `(进回收站,可恢复) | + +### 老手避坑指南 ⛳ + +- 建在线表格用 `--type axls`,**`asheet` 服务端不支持**,别踩坑。 +- `member list` 只返回姓名和角色、**不返回 userId**;要串联 `update` / `remove`,先用 `dws contact user search --query "<姓名>"` 反查。 +- 搜索关键词的 flag 是 `--query`,`--keyword` 是遗留别名,新脚本请用 `--query`。 +- 所有命令加 `--format json`,配合 `--jq` 过滤字段,写脚本时稳得一批。 +- 破坏性操作(删空间、覆盖写文档)前加 `--dry-run` 先预览,确认无误再执行。 + +### 让机器人答得更好 + +| 开关 | 作用 | +|---|---| +| `--knowledge-source wiki:` | 从钉钉知识库拉知识作为答疑来源(本文主角) | +| `--knowledge-dir <目录>` | 挂本地 .md/.txt 知识目录,可与上面并存 | +| `--allowed-groups / --allowed-users` | 白名单,只让指定群或人触发 | +| `--daemon` | 后台常驻,关掉终端也不断线 | + +## 六、更多 DWS 官方信息 + +- 钉钉 CLI 官网:https://open.dingtalk.com/dingtalk-cli +- 开源仓库:https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli +- 上一篇姊妹篇:《5分钟抱走你的嘴替机器人:启动钉钉DWS,你值得拥有》 + +## 七、欢迎加入交流群 + +【截图位:DWS 交流群二维码】 + +遇到问题来群里喊一声,官方同学在线答疑。下一篇想看什么?批量备份知识库?给知识库做权限审计?留言区点菜!🍻 diff --git a/internal/app/schema_shortcut_contract_test.go b/internal/app/schema_shortcut_contract_test.go new file mode 100644 index 00000000..628b792d --- /dev/null +++ b/internal/app/schema_shortcut_contract_test.go @@ -0,0 +1,358 @@ +// Copyright 2026 Alibaba Group +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. + +package app + +import ( + "bytes" + "encoding/json" + "fmt" + "strings" + "testing" + + "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/shortcut" +) + +const publicShortcutSchemaCount = 210 + +func TestEmbeddedSchemaPublishesEveryPublicShortcutContract(t *testing.T) { + tools := embeddedSchemaAllToolsForHelpFlagTest(t, NewRootCommand()) + public := make([]shortcut.Shortcut, 0, publicShortcutSchemaCount) + for _, candidate := range shortcut.All() { + if candidate.UserDefined || !shortcut.InPublicCatalog(candidate.Service, candidate.Command) { + continue + } + public = append(public, candidate) + } + if got := len(public); got != publicShortcutSchemaCount { + t.Fatalf("public built-in shortcuts = %d, want %d", got, publicShortcutSchemaCount) + } + + deliveredShortcuts := 0 + for canonical := range tools { + if strings.Contains(canonical, ".shortcut_") { + deliveredShortcuts++ + } + } + if deliveredShortcuts != publicShortcutSchemaCount { + t.Fatalf("embedded schema --all shortcut tools = %d, want %d", deliveredShortcuts, publicShortcutSchemaCount) + } + + for _, declared := range public { + declared := declared + t.Run(declared.Service+"/"+strings.TrimPrefix(declared.Command, "+"), func(t *testing.T) { + canonical := shortcutSchemaCanonical(declared) + tool := tools[canonical] + if tool == nil { + t.Fatalf("embedded schema --all is missing %s (%s %s)", canonical, declared.Service, declared.Command) + } + assertEmbeddedShortcutIdentityAndSelection(t, tool, declared, canonical) + assertEmbeddedShortcutSafetyAndInterface(t, tool, declared, canonical) + assertEmbeddedShortcutParameters(t, tool, declared, canonical) + assertEmbeddedShortcutConstraints(t, tool, declared, canonical) + }) + } +} + +func TestEmbeddedShortcutProgressiveQueriesReturnCompleteContracts(t *testing.T) { + leaf := executeShortcutSchemaQuery(t, "--cli-path", "chat +messages-read-status") + if got, want := schemaContractString(leaf["canonical_path"]), "chat.shortcut_messages_read_status"; got != want { + t.Fatalf("shortcut leaf canonical_path = %q, want %q", got, want) + } + if got, want := schemaContractString(leaf["confirmation"]), "not_required"; got != want { + t.Fatalf("shortcut leaf confirmation = %q, want %q", got, want) + } + conversationID := schemaContractMap(leaf["parameters"])["conversation-id"] + if required, _ := conversationID["required"].(bool); !required { + t.Fatal("public --conversation-id must become required after hidden compatibility aliases are removed from Schema") + } + if got := leaf["constraints"]; got != nil { + t.Fatalf("shortcut leaf constraints = %#v, want omitted after hidden compatibility aliases collapse", got) + } + + constrainedLeaf := executeShortcutSchemaQuery(t, "--cli-path", "calendar +freebusy") + wantConstraints := map[string]any{ + "require_one_of": [][]string{{"users", "rooms"}}, + } + if got := constrainedLeaf["constraints"]; !schemaContractJSONEqual(got, wantConstraints) { + t.Fatalf("shortcut leaf constraints = %#v, want %#v", got, wantConstraints) + } + + product := executeShortcutSchemaQuery(t, "chat") + productPayload, _ := product["product"].(map[string]any) + if got, want := int(product["count"].(float64)), 120; got != want { + t.Fatalf("schema chat count = %d, want %d", got, want) + } + summaries := schemaContractObjectSlice(productPayload["tools"]) + shortcutCount := 0 + for _, summary := range summaries { + if strings.HasPrefix(schemaContractString(summary["canonical_path"]), "chat.shortcut_") { + shortcutCount++ + } + } + if shortcutCount != 42 { + t.Fatalf("schema chat shortcut summaries = %d, want 42", shortcutCount) + } +} + +func executeShortcutSchemaQuery(t testing.TB, args ...string) map[string]any { + t.Helper() + root := NewRootCommand() + var stdout, stderr bytes.Buffer + root.SetOut(&stdout) + root.SetErr(&stderr) + root.SetArgs(append([]string{"schema"}, append(args, "--format", "json")...)) + if err := root.Execute(); err != nil { + t.Fatalf("execute dws schema %q: %v; stderr=%s", strings.Join(args, " "), err, stderr.String()) + } + var payload map[string]any + if err := json.Unmarshal(stdout.Bytes(), &payload); err != nil { + t.Fatalf("decode dws schema %q: %v", strings.Join(args, " "), err) + } + return payload +} + +func shortcutSchemaCanonical(declared shortcut.Shortcut) string { + name := strings.ReplaceAll(strings.TrimPrefix(declared.Command, "+"), "-", "_") + return declared.Service + ".shortcut_" + name +} + +func assertEmbeddedShortcutIdentityAndSelection( + t testing.TB, + tool map[string]any, + declared shortcut.Shortcut, + canonical string, +) { + t.Helper() + if got, want := schemaContractString(tool["canonical_path"]), canonical; got != want { + t.Errorf("canonical_path = %q, want %q", got, want) + } + if got, want := schemaContractString(tool["primary_cli_path"]), declared.Service+" "+declared.Command; got != want { + t.Errorf("%s primary_cli_path = %q, want %q", canonical, got, want) + } + if got, want := schemaContractString(tool["agent_summary"]), declared.Description; got != want { + t.Errorf("%s agent_summary = %q, want %q", canonical, got, want) + } + if got, want := schemaContractStringSlice(tool["use_when"]), []string{declared.Intent}; !schemaContractJSONEqual(got, want) { + t.Errorf("%s use_when = %#v, want %#v", canonical, got, want) + } + if len(schemaContractStringSlice(tool["avoid_when"])) == 0 { + t.Errorf("%s has no reviewed avoid_when", canonical) + } + examples := schemaContractStringSlice(tool["examples"]) + if len(examples) == 0 || len(examples) > 2 { + t.Errorf("%s examples = %d, want 1..2", canonical, len(examples)) + } + for _, example := range examples { + if strings.Contains(example, "--yes") { + t.Errorf("%s stores unsafe example %q", canonical, example) + } + if !strings.HasPrefix(example, "dws "+declared.Service+" "+declared.Command) { + t.Errorf("%s example does not use its primary path: %q", canonical, example) + } + } +} + +func assertEmbeddedShortcutSafetyAndInterface( + t testing.TB, + tool map[string]any, + declared shortcut.Shortcut, + canonical string, +) { + t.Helper() + risk := declared.Risk + if risk == "" { + risk = shortcut.RiskRead + } + wantEffect, wantRisk, wantConfirmation, wantIdempotency := "read", "low", "not_required", "idempotent" + switch risk { + case shortcut.RiskWrite: + wantEffect, wantRisk, wantConfirmation, wantIdempotency = "write", "medium", "user_required", "unknown" + case shortcut.RiskHighWrite: + wantEffect, wantRisk, wantConfirmation, wantIdempotency = "destructive", "high", "user_required", "unknown" + } + for field, want := range map[string]string{ + "effect": wantEffect, + "risk": wantRisk, + "confirmation": wantConfirmation, + "idempotency": wantIdempotency, + "interface_mode": "composite", + "availability": "available", + } { + if got := schemaContractString(tool[field]); got != want { + t.Errorf("%s %s = %q, want %q", canonical, field, got, want) + } + } + if strings.TrimSpace(schemaContractString(tool["interface_reason"])) == "" { + t.Errorf("%s has no reviewed composite interface reason", canonical) + } +} + +func assertEmbeddedShortcutParameters( + t testing.TB, + tool map[string]any, + declared shortcut.Shortcut, + canonical string, +) { + t.Helper() + parameters := schemaContractMap(tool["parameters"]) + publicFlags := make([]shortcut.Flag, 0, len(declared.Flags)) + for _, flag := range declared.Flags { + if !flag.Hidden { + publicFlags = append(publicFlags, flag) + } + } + if got, want := len(parameters), len(publicFlags); got != want { + t.Errorf("%s parameters = %d, want %d", canonical, got, want) + } + for _, flag := range publicFlags { + parameter := parameters[flag.Name] + if parameter == nil { + t.Errorf("%s is missing parameter --%s", canonical, flag.Name) + continue + } + flagType := flag.Type + if flagType == "" { + flagType = shortcut.FlagString + } + wantType := map[shortcut.FlagType]string{ + shortcut.FlagString: "string", + shortcut.FlagBool: "boolean", + shortcut.FlagInt: "integer", + shortcut.FlagStringSlice: "array", + }[flagType] + if got := schemaContractString(parameter["type"]); got != wantType { + t.Errorf("%s --%s type = %q, want %q", canonical, flag.Name, got, wantType) + } + if got, _ := parameter["required"].(bool); got != shortcutSchemaRequired(declared, flag.Name) { + t.Errorf("%s --%s required = %t, want %t", canonical, flag.Name, got, shortcutSchemaRequired(declared, flag.Name)) + } + if got, want := schemaContractString(parameter["default"]), shortcutSchemaDefault(flag); got != want { + t.Errorf("%s --%s default = %q, want %q", canonical, flag.Name, got, want) + } + gotEnum := schemaContractStringSlice(parameter["enum"]) + if len(flag.Enum) == 0 { + if len(gotEnum) != 0 { + t.Errorf("%s --%s enum = %#v, want empty", canonical, flag.Name, gotEnum) + } + } else if !schemaContractJSONEqual(gotEnum, flag.Enum) { + t.Errorf("%s --%s enum = %#v, want %#v", canonical, flag.Name, gotEnum, flag.Enum) + } + } +} + +func shortcutSchemaDefault(flag shortcut.Flag) string { + value := strings.TrimSpace(flag.Default) + switch flag.Type { + case shortcut.FlagBool: + if value != "true" { + return "" + } + case shortcut.FlagInt: + if value == "0" { + return "" + } + case shortcut.FlagStringSlice: + if value != "" { + return "[" + value + "]" + } + } + return value +} + +func shortcutSchemaRequired(declared shortcut.Shortcut, flagName string) bool { + for _, flag := range declared.Flags { + if flag.Name == flagName && flag.Required { + return true + } + } + public := make(map[string]bool, len(declared.Flags)) + for _, flag := range declared.Flags { + if !flag.Hidden { + public[flag.Name] = true + } + } + for _, constraint := range declared.Constraints { + if constraint.Kind != shortcut.ConstraintAtLeastOne && constraint.Kind != shortcut.ConstraintExactlyOne { + continue + } + visible := make([]string, 0, len(constraint.Flags)) + for _, constrained := range constraint.Flags { + if public[constrained] { + visible = append(visible, constrained) + } + } + if len(visible) == 1 && visible[0] == flagName { + return true + } + } + return false +} + +func assertEmbeddedShortcutConstraints( + t testing.TB, + tool map[string]any, + declared shortcut.Shortcut, + canonical string, +) { + t.Helper() + public := make(map[string]bool, len(declared.Flags)) + for _, flag := range declared.Flags { + if !flag.Hidden { + public[flag.Name] = true + } + } + want := map[string][][]string{} + for _, constraint := range declared.Constraints { + flags := make([]string, 0, len(constraint.Flags)) + for _, flagName := range constraint.Flags { + if public[flagName] { + flags = append(flags, flagName) + } + } + switch constraint.Kind { + case shortcut.ConstraintAtLeastOne: + if len(flags) > 1 { + want["require_one_of"] = append(want["require_one_of"], flags) + } + case shortcut.ConstraintExactlyOne: + if len(flags) > 1 { + want["require_one_of"] = append(want["require_one_of"], flags) + want["mutually_exclusive"] = append(want["mutually_exclusive"], flags) + } + case shortcut.ConstraintMutuallyExclusive: + if len(flags) > 1 { + want["mutually_exclusive"] = append(want["mutually_exclusive"], flags) + } + case shortcut.ConstraintCustom: + for _, flagName := range flags { + description := schemaContractString(schemaContractMap(tool["parameters"])[flagName]["description"]) + for _, requiredText := range []string{"原文不能为空", "不能重复"} { + if !strings.Contains(description, requiredText) { + t.Errorf("%s --%s description does not publish custom constraint %q: %q", canonical, flagName, requiredText, description) + } + } + } + default: + t.Errorf("%s has unsupported declared shortcut constraint %q", canonical, constraint.Kind) + } + } + if len(want) == 0 { + if got := tool["constraints"]; got != nil { + t.Errorf("%s constraints = %#v, want omitted", canonical, got) + } + return + } + if got := tool["constraints"]; !schemaContractJSONEqual(got, want) { + t.Errorf("%s constraints = %s, want %s", canonical, mustShortcutJSON(got), mustShortcutJSON(want)) + } +} + +func mustShortcutJSON(value any) string { + encoded, err := json.Marshal(value) + if err != nil { + return fmt.Sprintf("%#v", value) + } + return string(encoded) +} diff --git a/internal/cli/schema_agent_metadata/aitable.json b/internal/cli/schema_agent_metadata/aitable.json index c765c9bc..cfc2f451 100644 --- a/internal/cli/schema_agent_metadata/aitable.json +++ b/internal/cli/schema_agent_metadata/aitable.json @@ -1,6 +1,7500 @@ { "product_id": "aitable", "tools": { + "aitable +base-get": { + "agent_summary": "获取指定 Base 的目录信息(tables / dashboards summary)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +base-get --base-id BASE_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "获取指定 Base 的目录信息(tables / dashboards summary)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取指定 Base 的目录信息(tables / dashboards summary)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +base-get --base-id BASE_ID" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +base-get --base-id BASE_ID" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +base-get", + "cobra-help:dws aitable +base-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_base_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ] + }, + "aitable +base-list": { + "agent_summary": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ], + "field_provenance": { + "agent_summary": { + "value": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +base-list", + "cobra-help:dws aitable +base-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_base_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ] + }, + "aitable +base-search": { + "agent_summary": "按名称关键词搜索 AI 表格 Base", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +base-search --query \"项目管理\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称关键词搜索 AI 表格 Base", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称关键词搜索 AI 表格 Base", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +base-search --query \"项目管理\"" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +base-search --query \"项目管理\"" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +base-search", + "cobra-help:dws aitable +base-search", + "internal/cli/schema_command_registry.json#aitable.shortcut_base_search", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ] + }, + "aitable +chart-get": { + "agent_summary": "获取指定 chart 的详细信息", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ], + "field_provenance": { + "agent_summary": { + "value": "获取指定 chart 的详细信息", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取指定 chart 的详细信息", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +chart-get", + "cobra-help:dws aitable +chart-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_chart_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ] + }, + "aitable +chart-widgets-example": { + "agent_summary": "获取所有图表类型的 widget config 示例", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +chart-widgets-example" + ], + "field_provenance": { + "agent_summary": { + "value": "获取所有图表类型的 widget config 示例", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取所有图表类型的 widget config 示例", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +chart-widgets-example" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +chart-widgets-example" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +chart-widgets-example", + "cobra-help:dws aitable +chart-widgets-example", + "internal/cli/schema_command_registry.json#aitable.shortcut_chart_widgets_example", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ] + }, + "aitable +dashboard-config-example": { + "agent_summary": "获取 dashboard config 的结构示例", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +dashboard-config-example" + ], + "field_provenance": { + "agent_summary": { + "value": "获取 dashboard config 的结构示例", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取 dashboard config 的结构示例", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +dashboard-config-example" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +dashboard-config-example" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +dashboard-config-example", + "cobra-help:dws aitable +dashboard-config-example", + "internal/cli/schema_command_registry.json#aitable.shortcut_dashboard_config_example", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ] + }, + "aitable +dashboard-get": { + "agent_summary": "获取指定 dashboard 的详细信息(含 charts summary)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ], + "field_provenance": { + "agent_summary": { + "value": "获取指定 dashboard 的详细信息(含 charts summary)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取指定 dashboard 的详细信息(含 charts summary)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +dashboard-get", + "cobra-help:dws aitable +dashboard-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_dashboard_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ] + }, + "aitable +field-get": { + "agent_summary": "批量获取字段详情(含类型相关完整配置)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +field-get --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "value": "批量获取字段详情(含类型相关完整配置)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "批量获取字段详情(含类型相关完整配置)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +field-get --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +field-get --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +field-get", + "cobra-help:dws aitable +field-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_field_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ] + }, + "aitable +find-record": { + "agent_summary": "在指定多维表里按关键词查记录(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ], + "field_provenance": { + "agent_summary": { + "value": "在指定多维表里按关键词查记录(只读)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "在指定多维表里按关键词查记录(只读)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +find-record", + "cobra-help:dws aitable +find-record", + "internal/cli/schema_command_registry.json#aitable.shortcut_find_record", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ] + }, + "aitable +form-field-list": { + "agent_summary": "列出表单视图当前可见的字段及其配置", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "value": "列出表单视图当前可见的字段及其配置", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出表单视图当前可见的字段及其配置", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +form-field-list", + "cobra-help:dws aitable +form-field-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_form_field_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ] + }, + "aitable +form-list": { + "agent_summary": "列出指定数据表下的所有表单视图", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +form-list --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定数据表下的所有表单视图", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定数据表下的所有表单视图", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +form-list --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +form-list --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +form-list", + "cobra-help:dws aitable +form-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_form_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ] + }, + "aitable +form-share-get": { + "agent_summary": "读取视图当前的分享表单配置", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "value": "读取视图当前的分享表单配置", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "读取视图当前的分享表单配置", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +form-share-get", + "cobra-help:dws aitable +form-share-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_form_share_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ] + }, + "aitable +list-tables": { + "agent_summary": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +list-tables --base B" + ], + "field_provenance": { + "agent_summary": { + "value": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +list-tables --base B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +list-tables --base B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +list-tables", + "cobra-help:dws aitable +list-tables", + "internal/cli/schema_command_registry.json#aitable.shortcut_list_tables", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ] + }, + "aitable +record-history-list": { + "agent_summary": "按 recordId 查询单条记录的变更历史", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ], + "field_provenance": { + "agent_summary": { + "value": "按 recordId 查询单条记录的变更历史", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按 recordId 查询单条记录的变更历史", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +record-history-list", + "cobra-help:dws aitable +record-history-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_history_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ] + }, + "aitable +record-query": { + "agent_summary": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +record-query", + "cobra-help:dws aitable +record-query", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_query", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ] + }, + "aitable +record-query-empty": { + "agent_summary": "扫描并过滤出完全没填用户字段的空行", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "value": "扫描并过滤出完全没填用户字段的空行", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "扫描并过滤出完全没填用户字段的空行", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +record-query-empty", + "cobra-help:dws aitable +record-query-empty", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_query_empty", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ] + }, + "aitable +record-share-links": { + "agent_summary": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ], + "field_provenance": { + "agent_summary": { + "value": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +record-share-links", + "cobra-help:dws aitable +record-share-links", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_share_links", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ] + }, + "aitable +record-share-url": { + "agent_summary": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ], + "field_provenance": { + "agent_summary": { + "value": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +record-share-url", + "cobra-help:dws aitable +record-share-url", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_share_url", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ] + }, + "aitable +resolve-base": { + "agent_summary": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +resolve-base --name 项目管理" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +resolve-base --name 项目管理" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +resolve-base --name 项目管理" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +resolve-base", + "cobra-help:dws aitable +resolve-base", + "internal/cli/schema_command_registry.json#aitable.shortcut_resolve_base", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ] + }, + "aitable +resolve-table": { + "agent_summary": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +resolve-table --base B --name 任务" + ], + "field_provenance": { + "agent_summary": { + "value": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +resolve-table --base B --name 任务" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +resolve-table --base B --name 任务" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +resolve-table", + "cobra-help:dws aitable +resolve-table", + "internal/cli/schema_command_registry.json#aitable.shortcut_resolve_table", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ] + }, + "aitable +role-list": { + "agent_summary": "列出指定 Base 下的全部角色", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +role-list --base-id B" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定 Base 下的全部角色", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定 Base 下的全部角色", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +role-list --base-id B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +role-list --base-id B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +role-list", + "cobra-help:dws aitable +role-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_role_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ] + }, + "aitable +section-list-empty": { + "agent_summary": "列出指定 Base 下所有没有子节点的空文件夹", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +section-list-empty --base-id B" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定 Base 下所有没有子节点的空文件夹", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定 Base 下所有没有子节点的空文件夹", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +section-list-empty --base-id B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +section-list-empty --base-id B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +section-list-empty", + "cobra-help:dws aitable +section-list-empty", + "internal/cli/schema_command_registry.json#aitable.shortcut_section_list_empty", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ] + }, + "aitable +section-list-nodes": { + "agent_summary": "列出指定 Base 当前版本下的全部 nsheet 节点", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +section-list-nodes --base-id B" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定 Base 当前版本下的全部 nsheet 节点", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定 Base 当前版本下的全部 nsheet 节点", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +section-list-nodes --base-id B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +section-list-nodes --base-id B" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +section-list-nodes", + "cobra-help:dws aitable +section-list-nodes", + "internal/cli/schema_command_registry.json#aitable.shortcut_section_list_nodes", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ] + }, + "aitable +table-get": { + "agent_summary": "批量获取指定数据表的表级信息、字段目录与视图目录", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ], + "field_provenance": { + "agent_summary": { + "value": "批量获取指定数据表的表级信息、字段目录与视图目录", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "批量获取指定数据表的表级信息、字段目录与视图目录", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +table-get", + "cobra-help:dws aitable +table-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_table_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ] + }, + "aitable +template-search": { + "agent_summary": "按名称关键词搜索 AI 表格模板", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +template-search --query \"项目管理\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称关键词搜索 AI 表格模板", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称关键词搜索 AI 表格模板", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +template-search --query \"项目管理\"" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +template-search --query \"项目管理\"" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +template-search", + "cobra-help:dws aitable +template-search", + "internal/cli/schema_command_registry.json#aitable.shortcut_template_search", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ] + }, + "aitable +view-get": { + "agent_summary": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "value": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +view-get --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +view-get --base-id B --table-id T" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +view-get", + "cobra-help:dws aitable +view-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ] + }, + "aitable +view-get-frozen-cols": { + "agent_summary": "获取视图当前冻结的左侧列数", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "value": "获取视图当前冻结的左侧列数", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取视图当前冻结的左侧列数", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +view-get-frozen-cols", + "cobra-help:dws aitable +view-get-frozen-cols", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_frozen_cols", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ] + }, + "aitable +view-get-lock": { + "agent_summary": "获取视图锁定状态", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "value": "获取视图锁定状态", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取视图锁定状态", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +view-get-lock", + "cobra-help:dws aitable +view-get-lock", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_lock", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ] + }, + "aitable +view-get-row-height": { + "agent_summary": "获取视图单元格行高(像素)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "value": "获取视图单元格行高(像素)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取视图单元格行高(像素)", + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ], + "source": "internal/cli/schema_hints/selection/aitable.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:aitable +view-get-row-height", + "cobra-help:dws aitable +view-get-row-height", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_row_height", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "use_when": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ] + }, "aitable advperm disable": { "agent_summary": "关闭高级权限总开关(高危,需确认;全员回退默认权限)。", "agent_summary_source": "dws-agent-selection/aitable", diff --git a/internal/cli/schema_agent_metadata/attendance.json b/internal/cli/schema_agent_metadata/attendance.json index 22fa2896..2408b417 100644 --- a/internal/cli/schema_agent_metadata/attendance.json +++ b/internal/cli/schema_agent_metadata/attendance.json @@ -1,6 +1,4908 @@ { "product_id": "attendance", "tools": { + "attendance +check-record": { + "agent_summary": "查询用户打卡流水(打卡时间/地点/定位方式)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "field_provenance": { + "agent_summary": { + "value": "查询用户打卡流水(打卡时间/地点/定位方式)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询用户打卡流水(打卡时间/地点/定位方式)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +check-record", + "cobra-help:dws attendance +check-record", + "internal/cli/schema_command_registry.json#attendance.shortcut_check_record", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ] + }, + "attendance +check-result": { + "agent_summary": "查询用户打卡结果(迟到/早退/缺卡等)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +check-result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "查询用户打卡结果(迟到/早退/缺卡等)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询用户打卡结果(迟到/早退/缺卡等)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +check-result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +check-result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +check-result", + "cobra-help:dws attendance +check-result", + "internal/cli/schema_command_registry.json#attendance.shortcut_check_result", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ] + }, + "attendance +get-adjustment-rule": { + "agent_summary": "根据补卡规则主键 ID 查询补卡规则详情", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ], + "field_provenance": { + "agent_summary": { + "value": "根据补卡规则主键 ID 查询补卡规则详情", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "根据补卡规则主键 ID 查询补卡规则详情", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-adjustment-rule", + "cobra-help:dws attendance +get-adjustment-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_adjustment_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ] + }, + "attendance +get-approve-template": { + "agent_summary": "查询补卡/请假/加班/外出/出差审批提交链接", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-approve-template --type leave" + ], + "field_provenance": { + "agent_summary": { + "value": "查询补卡/请假/加班/外出/出差审批提交链接", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询补卡/请假/加班/外出/出差审批提交链接", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-approve-template --type leave" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-approve-template --type leave" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-approve-template", + "cobra-help:dws attendance +get-approve-template", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_approve_template", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ] + }, + "attendance +get-checkin-record": { + "agent_summary": "查询指定员工一段时间内的签到记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ], + "field_provenance": { + "agent_summary": { + "value": "查询指定员工一段时间内的签到记录", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询指定员工一段时间内的签到记录", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-checkin-record", + "cobra-help:dws attendance +get-checkin-record", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_checkin_record", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ] + }, + "attendance +get-leave-records": { + "agent_summary": "查询指定员工的假期余额变更记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ], + "field_provenance": { + "agent_summary": { + "value": "查询指定员工的假期余额变更记录", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询指定员工的假期余额变更记录", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-leave-records", + "cobra-help:dws attendance +get-leave-records", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_leave_records", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ] + }, + "attendance +get-overtime-rule": { + "agent_summary": "根据加班规则主键 ID 查询加班规则详情", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ], + "field_provenance": { + "agent_summary": { + "value": "根据加班规则主键 ID 查询加班规则详情", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "根据加班规则主键 ID 查询加班规则详情", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-overtime-rule", + "cobra-help:dws attendance +get-overtime-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_overtime_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ] + }, + "attendance +get-schedule": { + "agent_summary": "获取指定用户一段时间内的排班记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ], + "field_provenance": { + "agent_summary": { + "value": "获取指定用户一段时间内的排班记录", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取指定用户一段时间内的排班记录", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-schedule", + "cobra-help:dws attendance +get-schedule", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_schedule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ] + }, + "attendance +get-self-setting": { + "agent_summary": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-self-setting", + "cobra-help:dws attendance +get-self-setting", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_self_setting", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ] + }, + "attendance +get-summary": { + "agent_summary": "查询某个人的考勤统计摘要(周/月)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ], + "field_provenance": { + "agent_summary": { + "value": "查询某个人的考勤统计摘要(周/月)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询某个人的考勤统计摘要(周/月)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +get-summary", + "cobra-help:dws attendance +get-summary", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_summary", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ] + }, + "attendance +list-approve": { + "agent_summary": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ], + "field_provenance": { + "agent_summary": { + "value": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +list-approve", + "cobra-help:dws attendance +list-approve", + "internal/cli/schema_command_registry.json#attendance.shortcut_list_approve", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ] + }, + "attendance +list-leave-types": { + "agent_summary": "查询当前用户可用的假期规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +list-leave-types" + ], + "field_provenance": { + "agent_summary": { + "value": "查询当前用户可用的假期规则列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询当前用户可用的假期规则列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +list-leave-types" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +list-leave-types" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +list-leave-types", + "cobra-help:dws attendance +list-leave-types", + "internal/cli/schema_command_registry.json#attendance.shortcut_list_leave_types", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ] + }, + "attendance +my-attendance": { + "agent_summary": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +my-attendance" + ], + "field_provenance": { + "agent_summary": { + "value": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +my-attendance" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +my-attendance" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +my-attendance", + "cobra-help:dws attendance +my-attendance", + "internal/cli/schema_command_registry.json#attendance.shortcut_my_attendance", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ] + }, + "attendance +query-report-data": { + "agent_summary": "根据字段查询考勤报表数据(仅管理员)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ], + "field_provenance": { + "agent_summary": { + "value": "根据字段查询考勤报表数据(仅管理员)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "根据字段查询考勤报表数据(仅管理员)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +query-report-data", + "cobra-help:dws attendance +query-report-data", + "internal/cli/schema_command_registry.json#attendance.shortcut_query_report_data", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ] + }, + "attendance +search-adjustment-rule": { + "agent_summary": "查询当前用户可管理的补卡规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "查询当前用户可管理的补卡规则列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询当前用户可管理的补卡规则列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +search-adjustment-rule", + "cobra-help:dws attendance +search-adjustment-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_adjustment_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ] + }, + "attendance +search-class": { + "agent_summary": "查询当前用户可管理的班次详情列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ], + "field_provenance": { + "agent_summary": { + "value": "查询当前用户可管理的班次详情列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询当前用户可管理的班次详情列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +search-class", + "cobra-help:dws attendance +search-class", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_class", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ] + }, + "attendance +search-group": { + "agent_summary": "查询当前用户可管理的考勤组列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "查询当前用户可管理的考勤组列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询当前用户可管理的考勤组列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +search-group", + "cobra-help:dws attendance +search-group", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_group", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ] + }, + "attendance +search-overtime-rule": { + "agent_summary": "查询当前用户可管理的加班规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "查询当前用户可管理的加班规则列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询当前用户可管理的加班规则列表", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +search-overtime-rule", + "cobra-help:dws attendance +search-overtime-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_overtime_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ] + }, + "attendance +this-month": { + "agent_summary": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +this-month" + ], + "field_provenance": { + "agent_summary": { + "value": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws attendance +this-month" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws attendance +this-month" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ], + "source": "internal/cli/schema_hints/selection/attendance.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:attendance +this-month", + "cobra-help:dws attendance +this-month", + "internal/cli/schema_command_registry.json#attendance.shortcut_this_month", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "use_when": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ] + }, "attendance adjustment get": { "agent_summary": "查询单个补卡规则详情", "agent_summary_source": "dws-agent-selection/attendance", diff --git a/internal/cli/schema_agent_metadata/calendar.json b/internal/cli/schema_agent_metadata/calendar.json index 5df4a2b7..4d977959 100644 --- a/internal/cli/schema_agent_metadata/calendar.json +++ b/internal/cli/schema_agent_metadata/calendar.json @@ -1,6 +1,5187 @@ { "product_id": "calendar", "tools": { + "calendar +agenda": { + "agent_summary": "查询日程列表(不传时间默认查询今天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "查询日程列表(不传时间默认查询今天)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询日程列表(不传时间默认查询今天)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +agenda", + "cobra-help:dws calendar +agenda", + "internal/cli/schema_command_registry.json#calendar.shortcut_agenda", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ] + }, + "calendar +attendee-list": { + "agent_summary": "查看日程参会人", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +attendee-list --event EVENT_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "查看日程参会人", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看日程参会人", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +attendee-list --event EVENT_ID" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +attendee-list --event EVENT_ID" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +attendee-list", + "cobra-help:dws calendar +attendee-list", + "internal/cli/schema_command_registry.json#calendar.shortcut_attendee_list", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ] + }, + "calendar +book": { + "agent_summary": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ], + "field_provenance": { + "agent_summary": { + "value": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:calendar +book", + "cobra-help:dws calendar +book", + "internal/cli/schema_command_registry.json#calendar.shortcut_book", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ] + }, + "calendar +book-list": { + "agent_summary": "查询用户的日历本列表", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +book-list" + ], + "field_provenance": { + "agent_summary": { + "value": "查询用户的日历本列表", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询用户的日历本列表", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +book-list" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +book-list" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +book-list", + "cobra-help:dws calendar +book-list", + "internal/cli/schema_command_registry.json#calendar.shortcut_book_list", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ] + }, + "calendar +book-search": { + "agent_summary": "按名称模糊搜索日历本", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +book-search --query \"项目\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称模糊搜索日历本", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称模糊搜索日历本", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +book-search --query \"项目\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +book-search --query \"项目\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +book-search", + "cobra-help:dws calendar +book-search", + "internal/cli/schema_command_registry.json#calendar.shortcut_book_search", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ] + }, + "calendar +cancel-event": { + "agent_summary": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +cancel-event --event EVENT_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +cancel-event --event EVENT_ID" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +cancel-event --event EVENT_ID" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:calendar +cancel-event", + "cobra-help:dws calendar +cancel-event", + "internal/cli/schema_command_registry.json#calendar.shortcut_cancel_event", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ] + }, + "calendar +conflicts": { + "agent_summary": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ], + "field_provenance": { + "agent_summary": { + "value": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +conflicts", + "cobra-help:dws calendar +conflicts", + "internal/cli/schema_command_registry.json#calendar.shortcut_conflicts", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ] + }, + "calendar +free": { + "agent_summary": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +free", + "cobra-help:dws calendar +free", + "internal/cli/schema_command_registry.json#calendar.shortcut_free", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ] + }, + "calendar +free-slots": { + "agent_summary": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ], + "field_provenance": { + "agent_summary": { + "value": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +free-slots", + "cobra-help:dws calendar +free-slots", + "internal/cli/schema_command_registry.json#calendar.shortcut_free_slots", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ] + }, + "calendar +freebusy": { + "agent_summary": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "field_provenance": { + "agent_summary": { + "value": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +freebusy", + "cobra-help:dws calendar +freebusy", + "internal/cli/schema_command_registry.json#calendar.shortcut_freebusy", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ] + }, + "calendar +invite": { + "agent_summary": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:calendar +invite", + "cobra-help:dws calendar +invite", + "internal/cli/schema_command_registry.json#calendar.shortcut_invite", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ] + }, + "calendar +my-free": { + "agent_summary": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ], + "field_provenance": { + "agent_summary": { + "value": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +my-free", + "cobra-help:dws calendar +my-free", + "internal/cli/schema_command_registry.json#calendar.shortcut_my_free", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ] + }, + "calendar +next-event": { + "agent_summary": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +next-event" + ], + "field_provenance": { + "agent_summary": { + "value": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +next-event" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +next-event" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +next-event", + "cobra-help:dws calendar +next-event", + "internal/cli/schema_command_registry.json#calendar.shortcut_next_event", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ] + }, + "calendar +reschedule": { + "agent_summary": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ], + "field_provenance": { + "agent_summary": { + "value": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:calendar +reschedule", + "cobra-help:dws calendar +reschedule", + "internal/cli/schema_command_registry.json#calendar.shortcut_reschedule", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ] + }, + "calendar +room-groups": { + "agent_summary": "会议室分组列表", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +room-groups" + ], + "field_provenance": { + "agent_summary": { + "value": "会议室分组列表", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "会议室分组列表", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +room-groups" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +room-groups" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +room-groups", + "cobra-help:dws calendar +room-groups", + "internal/cli/schema_command_registry.json#calendar.shortcut_room_groups", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ] + }, + "calendar +room-search": { + "agent_summary": "按名称模糊搜索会议室(不检查可用性)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +room-search --room-name 永澄亭" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称模糊搜索会议室(不检查可用性)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称模糊搜索会议室(不检查可用性)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +room-search --room-name 永澄亭" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +room-search --room-name 永澄亭" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +room-search", + "cobra-help:dws calendar +room-search", + "internal/cli/schema_command_registry.json#calendar.shortcut_room_search", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ] + }, + "calendar +suggest-time": { + "agent_summary": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +suggest-time", + "cobra-help:dws calendar +suggest-time", + "internal/cli/schema_command_registry.json#calendar.shortcut_suggest_time", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ] + }, + "calendar +today": { + "agent_summary": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +today" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +today" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +today" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +today", + "cobra-help:dws calendar +today", + "internal/cli/schema_command_registry.json#calendar.shortcut_today", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ] + }, + "calendar +tomorrow": { + "agent_summary": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +tomorrow" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +tomorrow" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +tomorrow" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +tomorrow", + "cobra-help:dws calendar +tomorrow", + "internal/cli/schema_command_registry.json#calendar.shortcut_tomorrow", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ] + }, + "calendar +week": { + "agent_summary": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +week" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws calendar +week" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws calendar +week" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ], + "source": "internal/cli/schema_hints/selection/calendar.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:calendar +week", + "cobra-help:dws calendar +week", + "internal/cli/schema_command_registry.json#calendar.shortcut_week", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "use_when": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ] + }, "calendar acl list": { "agent_summary": "查询主日历访问控制列表", "agent_summary_source": "dws-agent-selection/calendar", diff --git a/internal/cli/schema_agent_metadata/chat.json b/internal/cli/schema_agent_metadata/chat.json index 81c52dc2..32d9bd45 100644 --- a/internal/cli/schema_agent_metadata/chat.json +++ b/internal/cli/schema_agent_metadata/chat.json @@ -1,6 +1,10851 @@ { "product_id": "chat", "tools": { + "chat +at-me": { + "agent_summary": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ], + "field_provenance": { + "agent_summary": { + "value": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +at-me", + "cobra-help:dws chat +at-me", + "internal/cli/schema_command_registry.json#chat.shortcut_at_me", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ] + }, + "chat +bot-find": { + "agent_summary": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +bot-find --query \"日报\"" + ], + "field_provenance": { + "agent_summary": { + "value": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +bot-find --query \"日报\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +bot-find --query \"日报\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +bot-find", + "cobra-help:dws chat +bot-find", + "internal/cli/schema_command_registry.json#chat.shortcut_bot_find", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ] + }, + "chat +bot-search": { + "agent_summary": "搜索当前用户自己创建的机器人", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ], + "field_provenance": { + "agent_summary": { + "value": "搜索当前用户自己创建的机器人", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "搜索当前用户自己创建的机器人", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +bot-search", + "cobra-help:dws chat +bot-search", + "internal/cli/schema_command_registry.json#chat.shortcut_bot_search", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ] + }, + "chat +broadcast": { + "agent_summary": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +broadcast", + "cobra-help:dws chat +broadcast", + "internal/cli/schema_command_registry.json#chat.shortcut_broadcast", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ] + }, + "chat +category-create": { + "agent_summary": "创建用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-create --title \"工作群\"" + ], + "field_provenance": { + "agent_summary": { + "value": "创建用户自定义会话分组", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "创建用户自定义会话分组", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +category-create --title \"工作群\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +category-create --title \"工作群\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +category-create", + "cobra-help:dws chat +category-create", + "internal/cli/schema_command_registry.json#chat.shortcut_category_create", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ] + }, + "chat +category-delete": { + "agent_summary": "删除用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-delete --category-id \u003c分组ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "删除用户自定义会话分组", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "删除用户自定义会话分组", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +category-delete --category-id \u003c分组ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +category-delete --category-id \u003c分组ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:chat +category-delete", + "cobra-help:dws chat +category-delete", + "internal/cli/schema_command_registry.json#chat.shortcut_category_delete", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ] + }, + "chat +category-list": { + "agent_summary": "获取用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-list" + ], + "field_provenance": { + "agent_summary": { + "value": "获取用户自定义会话分组", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取用户自定义会话分组", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +category-list" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +category-list" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +category-list", + "cobra-help:dws chat +category-list", + "internal/cli/schema_command_registry.json#chat.shortcut_category_list", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ] + }, + "chat +category-rename": { + "agent_summary": "更新用户自定义会话分组的名称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-rename --category-id \u003c分组ID\u003e --title \"新名称\"" + ], + "field_provenance": { + "agent_summary": { + "value": "更新用户自定义会话分组的名称", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "更新用户自定义会话分组的名称", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +category-rename --category-id \u003c分组ID\u003e --title \"新名称\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +category-rename --category-id \u003c分组ID\u003e --title \"新名称\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +category-rename", + "cobra-help:dws chat +category-rename", + "internal/cli/schema_command_registry.json#chat.shortcut_category_rename", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ] + }, + "chat +chat-bots": { + "agent_summary": "查看群内所有机器人", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-bots --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查看群内所有机器人", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看群内所有机器人", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-bots --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-bots --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-bots", + "cobra-help:dws chat +chat-bots", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_bots", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ] + }, + "chat +chat-dismiss": { + "agent_summary": "解散群聊(不可逆,需群主权限)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-dismiss --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "解散群聊(不可逆,需群主权限)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "解散群聊(不可逆,需群主权限)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-dismiss --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-dismiss --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:chat +chat-dismiss", + "cobra-help:dws chat +chat-dismiss", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_dismiss", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ] + }, + "chat +chat-invite-url": { + "agent_summary": "获取群邀请链接", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-invite-url --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "获取群邀请链接", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取群邀请链接", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-invite-url --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-invite-url --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-invite-url", + "cobra-help:dws chat +chat-invite-url", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_invite_url", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ] + }, + "chat +chat-list-all": { + "agent_summary": "分页拉取我加入的所有群列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-list-all --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "分页拉取我加入的所有群列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "分页拉取我加入的所有群列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-list-all --limit 50" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-list-all --limit 50" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-list-all", + "cobra-help:dws chat +chat-list-all", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_all", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ] + }, + "chat +chat-list-join-requests": { + "agent_summary": "分页拉取入群验证记录", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-list-join-requests --limit 30" + ], + "field_provenance": { + "agent_summary": { + "value": "分页拉取入群验证记录", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "分页拉取入群验证记录", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-list-join-requests --limit 30" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-list-join-requests --limit 30" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-list-join-requests", + "cobra-help:dws chat +chat-list-join-requests", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_join_requests", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ] + }, + "chat +chat-list-mine": { + "agent_summary": "拉取我创建/管理的群", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-list-mine --role OWNER" + ], + "field_provenance": { + "agent_summary": { + "value": "拉取我创建/管理的群", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "拉取我创建/管理的群", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-list-mine --role OWNER" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-list-mine --role OWNER" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-list-mine", + "cobra-help:dws chat +chat-list-mine", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_mine", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ] + }, + "chat +chat-mute": { + "agent_summary": "全员禁言 / 取消全员禁言", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-mute --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "全员禁言 / 取消全员禁言", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "全员禁言 / 取消全员禁言", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-mute --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-mute --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-mute", + "cobra-help:dws chat +chat-mute", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_mute", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ] + }, + "chat +chat-role-add": { + "agent_summary": "添加群身份", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-add --group \u003copenConversationId\u003e --name \"管理员\"" + ], + "field_provenance": { + "agent_summary": { + "value": "添加群身份", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "添加群身份", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-role-add --group \u003copenConversationId\u003e --name \"管理员\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-role-add --group \u003copenConversationId\u003e --name \"管理员\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-role-add", + "cobra-help:dws chat +chat-role-add", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_add", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ] + }, + "chat +chat-role-list": { + "agent_summary": "拉取会话的群身份列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-list --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "拉取会话的群身份列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "拉取会话的群身份列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-role-list --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-role-list --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-role-list", + "cobra-help:dws chat +chat-role-list", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_list", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ] + }, + "chat +chat-role-query-user": { + "agent_summary": "查询群成员的群身份", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-query-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询群成员的群身份", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询群成员的群身份", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-role-query-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-role-query-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-role-query-user", + "cobra-help:dws chat +chat-role-query-user", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_query_user", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ] + }, + "chat +chat-role-set-user": { + "agent_summary": "设置用户的群身份(覆盖该用户的全部群身份)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-set-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e --role-ids roleId1,roleId2" + ], + "field_provenance": { + "agent_summary": { + "value": "设置用户的群身份(覆盖该用户的全部群身份)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "设置用户的群身份(覆盖该用户的全部群身份)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-role-set-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e --role-ids roleId1,roleId2" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-role-set-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e --role-ids roleId1,roleId2" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-role-set-user", + "cobra-help:dws chat +chat-role-set-user", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_set_user", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ] + }, + "chat +chat-role-update": { + "agent_summary": "更新群身份名称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-update --group \u003copenConversationId\u003e --role-id \u003copenRoleId\u003e --name \"新名称\"" + ], + "field_provenance": { + "agent_summary": { + "value": "更新群身份名称", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "更新群身份名称", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-role-update --group \u003copenConversationId\u003e --role-id \u003copenRoleId\u003e --name \"新名称\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-role-update --group \u003copenConversationId\u003e --role-id \u003copenRoleId\u003e --name \"新名称\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-role-update", + "cobra-help:dws chat +chat-role-update", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_update", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ] + }, + "chat +chat-search": { + "agent_summary": "按关键词搜索群聊", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-search --query \"项目冲刺\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键词搜索群聊", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键词搜索群聊", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-search --query \"项目冲刺\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-search --query \"项目冲刺\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +chat-search", + "cobra-help:dws chat +chat-search", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_search", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ] + }, + "chat +chat-set-admin": { + "agent_summary": "设置 / 取消群管理员", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-set-admin --group \u003copenConversationId\u003e --users userId1,userId2" + ], + "field_provenance": { + "agent_summary": { + "value": "设置 / 取消群管理员", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "设置 / 取消群管理员", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-set-admin --group \u003copenConversationId\u003e --users userId1,userId2" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-set-admin --group \u003copenConversationId\u003e --users userId1,userId2" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-set-admin", + "cobra-help:dws chat +chat-set-admin", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_set_admin", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ] + }, + "chat +chat-set-history": { + "agent_summary": "设置新成员入群可查看历史消息范围", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-set-history --group \u003copenConversationId\u003e --option RECENT_100" + ], + "field_provenance": { + "agent_summary": { + "value": "设置新成员入群可查看历史消息范围", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "设置新成员入群可查看历史消息范围", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-set-history --group \u003copenConversationId\u003e --option RECENT_100" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-set-history --group \u003copenConversationId\u003e --option RECENT_100" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-set-history", + "cobra-help:dws chat +chat-set-history", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_set_history", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ] + }, + "chat +chat-update-alias": { + "agent_summary": "设置群备注(仅自己可见)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-update-alias --group \u003copenConversationId\u003e --alias-title \"项目A群\"" + ], + "field_provenance": { + "agent_summary": { + "value": "设置群备注(仅自己可见)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "设置群备注(仅自己可见)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-update-alias --group \u003copenConversationId\u003e --alias-title \"项目A群\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-update-alias --group \u003copenConversationId\u003e --alias-title \"项目A群\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-update-alias", + "cobra-help:dws chat +chat-update-alias", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_update_alias", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ] + }, + "chat +chat-update-nick": { + "agent_summary": "设置当前用户在群内的群昵称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-update-nick --group \u003copenConversationId\u003e --nick \"我的群昵称\"" + ], + "field_provenance": { + "agent_summary": { + "value": "设置当前用户在群内的群昵称", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "设置当前用户在群内的群昵称", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +chat-update-nick --group \u003copenConversationId\u003e --nick \"我的群昵称\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +chat-update-nick --group \u003copenConversationId\u003e --nick \"我的群昵称\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +chat-update-nick", + "cobra-help:dws chat +chat-update-nick", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_update_nick", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ] + }, + "chat +conversation-clear-all-red-point": { + "agent_summary": "清除所有会话红点(全部已读)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-clear-all-red-point" + ], + "field_provenance": { + "agent_summary": { + "value": "清除所有会话红点(全部已读)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "清除所有会话红点(全部已读)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +conversation-clear-all-red-point" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +conversation-clear-all-red-point" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +conversation-clear-all-red-point", + "cobra-help:dws chat +conversation-clear-all-red-point", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_clear_all_red_point", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ] + }, + "chat +conversation-info": { + "agent_summary": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-info --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +conversation-info --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +conversation-info --group \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +conversation-info", + "cobra-help:dws chat +conversation-info", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_info", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ] + }, + "chat +conversation-list": { + "agent_summary": "分页获取当前用户的全部会话列表(单聊+群聊)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-list --limit 50" + ], + "field_provenance": { + "agent_summary": { + "value": "分页获取当前用户的全部会话列表(单聊+群聊)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "分页获取当前用户的全部会话列表(单聊+群聊)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +conversation-list --limit 50" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +conversation-list --limit 50" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +conversation-list", + "cobra-help:dws chat +conversation-list", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_list", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + "chat +conversation-list-top": { + "agent_summary": "拉取置顶会话列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-list-top --limit 1000" + ], + "field_provenance": { + "agent_summary": { + "value": "拉取置顶会话列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "拉取置顶会话列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +conversation-list-top --limit 1000" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +conversation-list-top --limit 1000" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +conversation-list-top", + "cobra-help:dws chat +conversation-list-top", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_list_top", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + "chat +dm": { + "agent_summary": "按姓名直接给某人发单聊消息(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名直接给某人发单聊消息(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名直接给某人发单聊消息(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +dm", + "cobra-help:dws chat +dm", + "internal/cli/schema_command_registry.json#chat.shortcut_dm", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ] + }, + "chat +group-members": { + "agent_summary": "按群名列出群成员(自动搜群解析 openConversationId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +group-members --group 项目冲刺" + ], + "field_provenance": { + "agent_summary": { + "value": "按群名列出群成员(自动搜群解析 openConversationId)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按群名列出群成员(自动搜群解析 openConversationId)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +group-members --group 项目冲刺" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +group-members --group 项目冲刺" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +group-members", + "cobra-help:dws chat +group-members", + "internal/cli/schema_command_registry.json#chat.shortcut_group_members", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ] + }, + "chat +messages-list-direct": { + "agent_summary": "拉取单聊会话消息", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-list-direct --user \u003cuserId\u003e --time \"2025-03-01 00:00:00\"" + ], + "field_provenance": { + "agent_summary": { + "value": "拉取单聊会话消息", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "拉取单聊会话消息", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-list-direct --user \u003cuserId\u003e --time \"2025-03-01 00:00:00\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-list-direct --user \u003cuserId\u003e --time \"2025-03-01 00:00:00\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +messages-list-direct", + "cobra-help:dws chat +messages-list-direct", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_direct", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ] + }, + "chat +messages-list-pin": { + "agent_summary": "拉取会话中钉住的消息列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-list-pin --open-conversation-id \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "拉取会话中钉住的消息列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "拉取会话中钉住的消息列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-list-pin --open-conversation-id \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-list-pin --open-conversation-id \u003copenConversationId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +messages-list-pin", + "cobra-help:dws chat +messages-list-pin", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_pin", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ] + }, + "chat +messages-list-unread-conversations": { + "agent_summary": "获取有未读消息的会话列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-list-unread-conversations --count 20" + ], + "field_provenance": { + "agent_summary": { + "value": "获取有未读消息的会话列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取有未读消息的会话列表", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-list-unread-conversations --count 20" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-list-unread-conversations --count 20" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +messages-list-unread-conversations", + "cobra-help:dws chat +messages-list-unread-conversations", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_unread_conversations", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + "chat +messages-mget": { + "agent_summary": "根据消息 ID 批量查询消息(最多 50 条)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ], + "field_provenance": { + "agent_summary": { + "value": "根据消息 ID 批量查询消息(最多 50 条)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "根据消息 ID 批量查询消息(最多 50 条)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +messages-mget", + "cobra-help:dws chat +messages-mget", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_mget", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ] + }, + "chat +messages-query-send-status": { + "agent_summary": "查询消息发送状态", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-query-send-status --open-task-id \u003copenTaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询消息发送状态", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询消息发送状态", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-query-send-status --open-task-id \u003copenTaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-query-send-status --open-task-id \u003copenTaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +messages-query-send-status", + "cobra-help:dws chat +messages-query-send-status", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_query_send_status", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ] + }, + "chat +messages-read-status": { + "agent_summary": "查询消息的已读/未读状态", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-read-status --conversation-id \u003copenConversationId\u003e --message-id \u003copenMessageId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询消息的已读/未读状态", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询消息的已读/未读状态", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-read-status --conversation-id \u003copenConversationId\u003e --message-id \u003copenMessageId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-read-status --conversation-id \u003copenConversationId\u003e --message-id \u003copenMessageId\u003e" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +messages-read-status", + "cobra-help:dws chat +messages-read-status", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_read_status", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ] + }, + "chat +messages-send-by-webhook": { + "agent_summary": "自定义机器人 Webhook 发送群消息", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-send-by-webhook --token \u003ctoken\u003e --title \"告警\" --text \"CPU 超 90%\" --at-all" + ], + "field_provenance": { + "agent_summary": { + "value": "自定义机器人 Webhook 发送群消息", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "自定义机器人 Webhook 发送群消息", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-send-by-webhook --token \u003ctoken\u003e --title \"告警\" --text \"CPU 超 90%\" --at-all" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-send-by-webhook --token \u003ctoken\u003e --title \"告警\" --text \"CPU 超 90%\" --at-all" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +messages-send-by-webhook", + "cobra-help:dws chat +messages-send-by-webhook", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_send_by_webhook", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ] + }, + "chat +messages-update-card": { + "agent_summary": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-update-card --biz-id \u003cbizId\u003e --content \"内容\" --flow-status 3" + ], + "field_provenance": { + "agent_summary": { + "value": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +messages-update-card --biz-id \u003cbizId\u003e --content \"内容\" --flow-status 3" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +messages-update-card --biz-id \u003cbizId\u003e --content \"内容\" --flow-status 3" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +messages-update-card", + "cobra-help:dws chat +messages-update-card", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_update_card", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ] + }, + "chat +my-groups": { + "agent_summary": "列出我加入的群,可按类型过滤并投影关键字段", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我加入的群,可按类型过滤并投影关键字段", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我加入的群,可按类型过滤并投影关键字段", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +my-groups", + "cobra-help:dws chat +my-groups", + "internal/cli/schema_command_registry.json#chat.shortcut_my_groups", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ] + }, + "chat +send-to-group": { + "agent_summary": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:chat +send-to-group", + "cobra-help:dws chat +send-to-group", + "internal/cli/schema_command_registry.json#chat.shortcut_send_to_group", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ] + }, + "chat +unread-chats": { + "agent_summary": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/chat.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:chat +unread-chats", + "cobra-help:dws chat +unread-chats", + "internal/cli/schema_command_registry.json#chat.shortcut_unread_chats", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "use_when": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ] + }, "chat bot find": { "agent_summary": "按关键词搜索企业机器人并拿到 openDingTalkId", "agent_summary_source": "dws-agent-selection/chat", diff --git a/internal/cli/schema_agent_metadata/contact.json b/internal/cli/schema_agent_metadata/contact.json index eb18e2a0..8c04f154 100644 --- a/internal/cli/schema_agent_metadata/contact.json +++ b/internal/cli/schema_agent_metadata/contact.json @@ -1,6 +1,3618 @@ { "product_id": "contact", "tools": { + "contact +by-mobile": { + "agent_summary": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +by-mobile --mobile 13800138000" + ], + "field_provenance": { + "agent_summary": { + "value": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +by-mobile --mobile 13800138000" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +by-mobile --mobile 13800138000" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +by-mobile", + "cobra-help:dws contact +by-mobile", + "internal/cli/schema_command_registry.json#contact.shortcut_by_mobile", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ] + }, + "contact +dept-members": { + "agent_summary": "按部门名列出部门成员(自动解析 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +dept-members --dept 技术部" + ], + "field_provenance": { + "agent_summary": { + "value": "按部门名列出部门成员(自动解析 deptId)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按部门名列出部门成员(自动解析 deptId)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +dept-members --dept 技术部" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +dept-members --dept 技术部" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +dept-members", + "cobra-help:dws contact +dept-members", + "internal/cli/schema_command_registry.json#contact.shortcut_dept_members", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + }, + "contact +list-dept-members": { + "agent_summary": "查看部门成员(仅本部门,不含下级)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-dept-members --depts 12345,67890" + ], + "field_provenance": { + "agent_summary": { + "value": "查看部门成员(仅本部门,不含下级)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看部门成员(仅本部门,不含下级)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +list-dept-members --depts 12345,67890" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +list-dept-members --depts 12345,67890" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +list-dept-members", + "cobra-help:dws contact +list-dept-members", + "internal/cli/schema_command_registry.json#contact.shortcut_list_dept_members", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ] + }, + "contact +list-followings": { + "agent_summary": "获取当前用户的特别关注列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-followings" + ], + "field_provenance": { + "agent_summary": { + "value": "获取当前用户的特别关注列表", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取当前用户的特别关注列表", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +list-followings" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +list-followings" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +list-followings", + "cobra-help:dws contact +list-followings", + "internal/cli/schema_command_registry.json#contact.shortcut_list_followings", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ] + }, + "contact +list-role-members": { + "agent_summary": "查询角色下的成员列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-role-members --id 12345" + ], + "field_provenance": { + "agent_summary": { + "value": "查询角色下的成员列表", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询角色下的成员列表", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +list-role-members --id 12345" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +list-role-members --id 12345" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +list-role-members", + "cobra-help:dws contact +list-role-members", + "internal/cli/schema_command_registry.json#contact.shortcut_list_role_members", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ] + }, + "contact +list-roles": { + "agent_summary": "获取企业所有角色(标签)列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-roles" + ], + "field_provenance": { + "agent_summary": { + "value": "获取企业所有角色(标签)列表", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取企业所有角色(标签)列表", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +list-roles" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +list-roles" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +list-roles", + "cobra-help:dws contact +list-roles", + "internal/cli/schema_command_registry.json#contact.shortcut_list_roles", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ] + }, + "contact +list-sub-depts": { + "agent_summary": "查看指定部门的子部门", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-sub-depts --dept 1" + ], + "field_provenance": { + "agent_summary": { + "value": "查看指定部门的子部门", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看指定部门的子部门", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +list-sub-depts --dept 1" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +list-sub-depts --dept 1" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +list-sub-depts", + "cobra-help:dws contact +list-sub-depts", + "internal/cli/schema_command_registry.json#contact.shortcut_list_sub_depts", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ] + }, + "contact +lookup": { + "agent_summary": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +lookup --name 张三" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +lookup --name 张三" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +lookup --name 张三" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +lookup", + "cobra-help:dws contact +lookup", + "internal/cli/schema_command_registry.json#contact.shortcut_lookup", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ] + }, + "contact +me": { + "agent_summary": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +me" + ], + "field_provenance": { + "agent_summary": { + "value": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +me" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +me" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +me", + "cobra-help:dws contact +me", + "internal/cli/schema_command_registry.json#contact.shortcut_me", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ] + }, + "contact +org": { + "agent_summary": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +org --name 张三" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +org --name 张三" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +org --name 张三" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +org", + "cobra-help:dws contact +org", + "internal/cli/schema_command_registry.json#contact.shortcut_org", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ] + }, + "contact +resolve-dept": { + "agent_summary": "按名称搜索部门并解析出唯一 deptId(只读)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +resolve-dept --name 技术部" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称搜索部门并解析出唯一 deptId(只读)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称搜索部门并解析出唯一 deptId(只读)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +resolve-dept --name 技术部" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +resolve-dept --name 技术部" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +resolve-dept", + "cobra-help:dws contact +resolve-dept", + "internal/cli/schema_command_registry.json#contact.shortcut_resolve_dept", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ] + }, + "contact +search-mobile": { + "agent_summary": "按手机号搜索通讯录用户", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +search-mobile --mobile 13800138000" + ], + "field_provenance": { + "agent_summary": { + "value": "按手机号搜索通讯录用户", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按手机号搜索通讯录用户", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +search-mobile --mobile 13800138000" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +search-mobile --mobile 13800138000" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +search-mobile", + "cobra-help:dws contact +search-mobile", + "internal/cli/schema_command_registry.json#contact.shortcut_search_mobile", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ] + }, + "contact +search-user": { + "agent_summary": "按关键词搜索通讯录用户", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +search-user --query \"张三\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键词搜索通讯录用户", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键词搜索通讯录用户", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +search-user --query \"张三\"" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +search-user --query \"张三\"" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +search-user", + "cobra-help:dws contact +search-user", + "internal/cli/schema_command_registry.json#contact.shortcut_search_user", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ] + }, + "contact +team": { + "agent_summary": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +team --name 张三" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws contact +team --name 张三" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws contact +team --name 张三" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ], + "source": "internal/cli/schema_hints/selection/contact.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:contact +team", + "cobra-help:dws contact +team", + "internal/cli/schema_command_registry.json#contact.shortcut_team", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + }, "contact account create": { "agent_summary": "为当前企业创建专属登录账号", "agent_summary_source": "dws-agent-selection/contact", diff --git a/internal/cli/schema_agent_metadata/devapp.json b/internal/cli/schema_agent_metadata/devapp.json new file mode 100644 index 00000000..7fc18a0f --- /dev/null +++ b/internal/cli/schema_agent_metadata/devapp.json @@ -0,0 +1,4907 @@ +{ + "product_id": "devapp", + "tools": { + "devapp +create": { + "agent_summary": "创建开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +create --name \u003cNAME\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "创建开放平台企业内部应用", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "创建开放平台企业内部应用", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +create --name \u003cNAME\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +create --name \u003cNAME\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:devapp +create", + "cobra-help:dws devapp +create", + "internal/cli/schema_command_registry.json#devapp.shortcut_create", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ] + }, + "devapp +delete": { + "agent_summary": "删除开放平台企业内部应用(不可逆)", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +delete --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "删除开放平台企业内部应用(不可逆)", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "删除开放平台企业内部应用(不可逆)", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +delete --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +delete --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:devapp +delete", + "cobra-help:dws devapp +delete", + "internal/cli/schema_command_registry.json#devapp.shortcut_delete", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ] + }, + "devapp +disable": { + "agent_summary": "停用开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +disable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "停用开放平台企业内部应用", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "停用开放平台企业内部应用", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +disable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +disable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:devapp +disable", + "cobra-help:dws devapp +disable", + "internal/cli/schema_command_registry.json#devapp.shortcut_disable", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ] + }, + "devapp +enable": { + "agent_summary": "启用开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +enable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "启用开放平台企业内部应用", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "启用开放平台企业内部应用", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +enable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +enable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:devapp +enable", + "cobra-help:dws devapp +enable", + "internal/cli/schema_command_registry.json#devapp.shortcut_enable", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ] + }, + "devapp +event-list": { + "agent_summary": "查询应用已订阅的事件列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +event-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询应用已订阅的事件列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询应用已订阅的事件列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +event-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +event-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +event-list", + "cobra-help:dws devapp +event-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_event_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ] + }, + "devapp +get": { + "agent_summary": "查询开放平台企业内部应用详情", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询开放平台企业内部应用详情", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询开放平台企业内部应用详情", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +get", + "cobra-help:dws devapp +get", + "internal/cli/schema_command_registry.json#devapp.shortcut_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ] + }, + "devapp +list": { + "agent_summary": "查询开放平台企业内部应用列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +list" + ], + "field_provenance": { + "agent_summary": { + "value": "查询开放平台企业内部应用列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询开放平台企业内部应用列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +list" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +list" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +list", + "cobra-help:dws devapp +list", + "internal/cli/schema_command_registry.json#devapp.shortcut_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ] + }, + "devapp +member-add": { + "agent_summary": "添加开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +member-add --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "添加开放平台应用成员", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "添加开放平台应用成员", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +member-add --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +member-add --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:devapp +member-add", + "cobra-help:dws devapp +member-add", + "internal/cli/schema_command_registry.json#devapp.shortcut_member_add", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ] + }, + "devapp +member-list": { + "agent_summary": "查询开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +member-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询开放平台应用成员", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询开放平台应用成员", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +member-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +member-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +member-list", + "cobra-help:dws devapp +member-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_member_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ] + }, + "devapp +member-remove": { + "agent_summary": "移除开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +member-remove --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "移除开放平台应用成员", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "移除开放平台应用成员", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +member-remove --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +member-remove --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:devapp +member-remove", + "cobra-help:dws devapp +member-remove", + "internal/cli/schema_command_registry.json#devapp.shortcut_member_remove", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ] + }, + "devapp +permission-list": { + "agent_summary": "查询开放平台应用权限列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +permission-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询开放平台应用权限列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询开放平台应用权限列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +permission-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +permission-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +permission-list", + "cobra-help:dws devapp +permission-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_permission_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ] + }, + "devapp +robot-get": { + "agent_summary": "查询现有应用的机器人配置", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +robot-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询现有应用的机器人配置", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询现有应用的机器人配置", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +robot-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +robot-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +robot-get", + "cobra-help:dws devapp +robot-get", + "internal/cli/schema_command_registry.json#devapp.shortcut_robot_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ] + }, + "devapp +update": { + "agent_summary": "修改开放平台企业内部应用基础信息", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +update --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "修改开放平台企业内部应用基础信息", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "修改开放平台企业内部应用基础信息", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +update --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +update --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:devapp +update", + "cobra-help:dws devapp +update", + "internal/cli/schema_command_registry.json#devapp.shortcut_update", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ] + }, + "devapp +version-check-approval": { + "agent_summary": "预检版本发布是否需要审批(不实际发布)", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-check-approval --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "预检版本发布是否需要审批(不实际发布)", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "预检版本发布是否需要审批(不实际发布)", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +version-check-approval --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +version-check-approval --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +version-check-approval", + "cobra-help:dws devapp +version-check-approval", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_check_approval", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ] + }, + "devapp +version-get": { + "agent_summary": "查询指定版本详情", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-get --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询指定版本详情", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询指定版本详情", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +version-get --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +version-get --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +version-get", + "cobra-help:dws devapp +version-get", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ] + }, + "devapp +version-list": { + "agent_summary": "分页查询应用版本列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "分页查询应用版本列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "分页查询应用版本列表", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +version-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +version-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +version-list", + "cobra-help:dws devapp +version-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ] + }, + "devapp +version-status": { + "agent_summary": "查询版本发布/审批状态", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-status --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询版本发布/审批状态", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询版本发布/审批状态", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +version-status --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +version-status --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +version-status", + "cobra-help:dws devapp +version-status", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_status", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ] + }, + "devapp +webapp-config": { + "agent_summary": "配置网页应用能力", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +webapp-config --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "配置网页应用能力", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "配置网页应用能力", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +webapp-config --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +webapp-config --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:devapp +webapp-config", + "cobra-help:dws devapp +webapp-config", + "internal/cli/schema_command_registry.json#devapp.shortcut_webapp_config", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ] + }, + "devapp +webapp-get": { + "agent_summary": "查询网页应用配置", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +webapp-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询网页应用配置", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询网页应用配置", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws devapp +webapp-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws devapp +webapp-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:devapp +webapp-get", + "cobra-help:dws devapp +webapp-get", + "internal/cli/schema_command_registry.json#devapp.shortcut_webapp_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "use_when": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ] + } + } +} diff --git a/internal/cli/schema_agent_metadata/ding.json b/internal/cli/schema_agent_metadata/ding.json index 912ba98f..fb6ebdcc 100644 --- a/internal/cli/schema_agent_metadata/ding.json +++ b/internal/cli/schema_agent_metadata/ding.json @@ -1,6 +1,1038 @@ { "product_id": "ding", "tools": { + "ding +list": { + "agent_summary": "查询 DING 消息列表", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws ding +list" + ], + "field_provenance": { + "agent_summary": { + "value": "查询 DING 消息列表", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询 DING 消息列表", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws ding +list" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws ding +list" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:ding +list", + "cobra-help:dws ding +list", + "internal/cli/schema_command_registry.json#ding.shortcut_list", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "use_when": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ] + }, + "ding +recall-personal": { + "agent_summary": "撤回本人发起的 DING", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws ding +recall-personal --id \u003cID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "撤回本人发起的 DING", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "撤回本人发起的 DING", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws ding +recall-personal --id \u003cID\u003e" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws ding +recall-personal --id \u003cID\u003e" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:ding +recall-personal", + "cobra-help:dws ding +recall-personal", + "internal/cli/schema_command_registry.json#ding.shortcut_recall_personal", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "use_when": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ] + }, + "ding +receiver-status": { + "agent_summary": "查询 DING 消息接收人已读状态", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws ding +receiver-status --ding-id \u003cDING_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询 DING 消息接收人已读状态", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询 DING 消息接收人已读状态", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws ding +receiver-status --ding-id \u003cDING_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws ding +receiver-status --ding-id \u003cDING_ID\u003e" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:ding +receiver-status", + "cobra-help:dws ding +receiver-status", + "internal/cli/schema_command_registry.json#ding.shortcut_receiver_status", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "use_when": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ] + }, + "ding +send-personal": { + "agent_summary": "以本人身份发送 DING 给指定人", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws ding +send-personal --users \u003cVALUES\u003e --content \u003cCONTENT\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "以本人身份发送 DING 给指定人", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "以本人身份发送 DING 给指定人", + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws ding +send-personal --users \u003cVALUES\u003e --content \u003cCONTENT\u003e" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws ding +send-personal --users \u003cVALUES\u003e --content \u003cCONTENT\u003e" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ], + "source": "internal/cli/schema_hints/selection/ding.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:ding +send-personal", + "cobra-help:dws ding +send-personal", + "internal/cli/schema_command_registry.json#ding.shortcut_send_personal", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "use_when": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ] + }, "ding message recall": { "agent_summary": "撤回已发送的机器人 DING", "agent_summary_source": "dws-agent-selection/ding", diff --git a/internal/cli/schema_agent_metadata/doc.json b/internal/cli/schema_agent_metadata/doc.json index f65ec828..ec6cfd6e 100644 --- a/internal/cli/schema_agent_metadata/doc.json +++ b/internal/cli/schema_agent_metadata/doc.json @@ -1,6 +1,4407 @@ { "product_id": "doc", "tools": { + "doc +comment-create": { + "agent_summary": "在文档上创建一条评论", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ], + "field_provenance": { + "agent_summary": { + "value": "在文档上创建一条评论", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "在文档上创建一条评论", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +comment-create", + "cobra-help:dws doc +comment-create", + "internal/cli/schema_command_registry.json#doc.shortcut_comment_create", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ] + }, + "doc +comment-list": { + "agent_summary": "查询文档评论列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ], + "field_provenance": { + "agent_summary": { + "value": "查询文档评论列表", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询文档评论列表", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +comment-list", + "cobra-help:dws doc +comment-list", + "internal/cli/schema_command_registry.json#doc.shortcut_comment_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ] + }, + "doc +comment-reply": { + "agent_summary": "回复文档中的一条评论", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ], + "field_provenance": { + "agent_summary": { + "value": "回复文档中的一条评论", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "回复文档中的一条评论", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +comment-reply", + "cobra-help:dws doc +comment-reply", + "internal/cli/schema_command_registry.json#doc.shortcut_comment_reply", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ] + }, + "doc +copy": { + "agent_summary": "复制文档/文件到指定文件夹或知识库", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "复制文档/文件到指定文件夹或知识库", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "复制文档/文件到指定文件夹或知识库", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +copy", + "cobra-help:dws doc +copy", + "internal/cli/schema_command_registry.json#doc.shortcut_copy", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ] + }, + "doc +doc-append": { + "agent_summary": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\u003cDOC_UUID\u003e\" --text \"追加一行备注\"" + ], + "field_provenance": { + "agent_summary": { + "value": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\u003cDOC_UUID\u003e\" --text \"追加一行备注\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\u003cDOC_UUID\u003e\" --text \"追加一行备注\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +doc-append", + "cobra-help:dws doc +doc-append", + "internal/cli/schema_command_registry.json#doc.shortcut_doc_append", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ] + }, + "doc +export-get": { + "agent_summary": "根据 jobId 查询文档导出任务结果", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +export-get --job-id JOB_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "根据 jobId 查询文档导出任务结果", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "根据 jobId 查询文档导出任务结果", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +export-get --job-id JOB_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +export-get --job-id JOB_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +export-get", + "cobra-help:dws doc +export-get", + "internal/cli/schema_command_registry.json#doc.shortcut_export_get", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ] + }, + "doc +export-submit": { + "agent_summary": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ], + "field_provenance": { + "agent_summary": { + "value": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +export-submit", + "cobra-help:dws doc +export-submit", + "internal/cli/schema_command_registry.json#doc.shortcut_export_submit", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ] + }, + "doc +find-doc": { + "agent_summary": "按关键词搜索云文档并投影关键字段(只读)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键词搜索云文档并投影关键字段(只读)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键词搜索云文档并投影关键字段(只读)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +find-doc", + "cobra-help:dws doc +find-doc", + "internal/cli/schema_command_registry.json#doc.shortcut_find_doc", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ] + }, + "doc +list": { + "agent_summary": "列出文件夹或知识库下的直接子节点", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ], + "field_provenance": { + "agent_summary": { + "value": "列出文件夹或知识库下的直接子节点", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出文件夹或知识库下的直接子节点", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +list", + "cobra-help:dws doc +list", + "internal/cli/schema_command_registry.json#doc.shortcut_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ] + }, + "doc +move": { + "agent_summary": "移动文档/文件到指定文件夹或知识库", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "移动文档/文件到指定文件夹或知识库", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "移动文档/文件到指定文件夹或知识库", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +move", + "cobra-help:dws doc +move", + "internal/cli/schema_command_registry.json#doc.shortcut_move", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ] + }, + "doc +search": { + "agent_summary": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +search", + "cobra-help:dws doc +search", + "internal/cli/schema_command_registry.json#doc.shortcut_search", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ] + }, + "doc +share-doc": { + "agent_summary": "按姓名把文档链接私信发给某人(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名把文档链接私信发给某人(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名把文档链接私信发给某人(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +share-doc", + "cobra-help:dws doc +share-doc", + "internal/cli/schema_command_registry.json#doc.shortcut_share_doc", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ] + }, + "doc +template-list": { + "agent_summary": "获取文档模板列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +template-list --source PUBLIC" + ], + "field_provenance": { + "agent_summary": { + "value": "获取文档模板列表", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取文档模板列表", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +template-list --source PUBLIC" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +template-list --source PUBLIC" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +template-list", + "cobra-help:dws doc +template-list", + "internal/cli/schema_command_registry.json#doc.shortcut_template_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ] + }, + "doc +template-search": { + "agent_summary": "根据关键词搜索文档模板", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +template-search --query \"周报\"" + ], + "field_provenance": { + "agent_summary": { + "value": "根据关键词搜索文档模板", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "根据关键词搜索文档模板", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +template-search --query \"周报\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +template-search --query \"周报\"" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +template-search", + "cobra-help:dws doc +template-search", + "internal/cli/schema_command_registry.json#doc.shortcut_template_search", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ] + }, + "doc +version-list": { + "agent_summary": "查看文档历史版本列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +version-list --node DOC_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "查看文档历史版本列表", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查看文档历史版本列表", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +version-list --node DOC_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +version-list --node DOC_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:doc +version-list", + "cobra-help:dws doc +version-list", + "internal/cli/schema_command_registry.json#doc.shortcut_version_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ] + }, + "doc +version-revert": { + "agent_summary": "回滚文档到指定历史版本", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws doc +version-revert --node DOC_ID --version 3" + ], + "field_provenance": { + "agent_summary": { + "value": "回滚文档到指定历史版本", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "回滚文档到指定历史版本", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "destructive", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +version-revert --node DOC_ID --version 3" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +version-revert --node DOC_ID --version 3" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "high", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "high", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "high", + "source_refs": [ + "ShortcutRegistry:doc +version-revert", + "cobra-help:dws doc +version-revert", + "internal/cli/schema_command_registry.json#doc.shortcut_version_revert", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ] + }, + "doc +version-save": { + "agent_summary": "手动保存文档版本快照", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +version-save --node DOC_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "手动保存文档版本快照", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "手动保存文档版本快照", + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws doc +version-save --node DOC_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws doc +version-save --node DOC_ID" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ], + "source": "internal/cli/schema_hints/selection/doc.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:doc +version-save", + "cobra-help:dws doc +version-save", + "internal/cli/schema_command_registry.json#doc.shortcut_version_save", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "use_when": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ] + }, "doc block delete": { "agent_summary": "删除块元素(不可逆)", "agent_summary_source": "dws-agent-selection/doc", diff --git a/internal/cli/schema_agent_metadata/drive.json b/internal/cli/schema_agent_metadata/drive.json index bc0af3db..aa0edebb 100644 --- a/internal/cli/schema_agent_metadata/drive.json +++ b/internal/cli/schema_agent_metadata/drive.json @@ -1,6 +1,1821 @@ { "product_id": "drive", "tools": { + "drive +copy": { + "agent_summary": "复制文件/文档到指定位置", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive +copy --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "复制文件/文档到指定位置", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "复制文件/文档到指定位置", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +copy --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +copy --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:drive +copy", + "cobra-help:dws drive +copy", + "internal/cli/schema_command_registry.json#drive.shortcut_copy", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ] + }, + "drive +find-file": { + "agent_summary": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ], + "field_provenance": { + "agent_summary": { + "value": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:drive +find-file", + "cobra-help:dws drive +find-file", + "internal/cli/schema_command_registry.json#drive.shortcut_find_file", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ] + }, + "drive +info": { + "agent_summary": "获取钉盘文件/文件夹元数据", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +info --node \u003cdentryUuid\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "获取钉盘文件/文件夹元数据", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取钉盘文件/文件夹元数据", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +info --node \u003cdentryUuid\u003e" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +info --node \u003cdentryUuid\u003e" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:drive +info", + "cobra-help:dws drive +info", + "internal/cli/schema_command_registry.json#drive.shortcut_info", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ] + }, + "drive +move": { + "agent_summary": "移动文件/文档到指定位置", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive +move --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "移动文件/文档到指定位置", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "移动文件/文档到指定位置", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +move --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +move --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:drive +move", + "cobra-help:dws drive +move", + "internal/cli/schema_command_registry.json#drive.shortcut_move", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ] + }, + "drive +recent": { + "agent_summary": "获取最近访问/编辑的文档列表", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ], + "field_provenance": { + "agent_summary": { + "value": "获取最近访问/编辑的文档列表", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取最近访问/编辑的文档列表", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:drive +recent", + "cobra-help:dws drive +recent", + "internal/cli/schema_command_registry.json#drive.shortcut_recent", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ] + }, + "drive +search": { + "agent_summary": "搜索钉盘文件", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ], + "field_provenance": { + "agent_summary": { + "value": "搜索钉盘文件", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "搜索钉盘文件", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:drive +search", + "cobra-help:dws drive +search", + "internal/cli/schema_command_registry.json#drive.shortcut_search", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ] + }, + "drive +search-docs": { + "agent_summary": "搜索文档空间文档", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +search-docs --query \"季度汇报\"" + ], + "field_provenance": { + "agent_summary": { + "value": "搜索文档空间文档", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "搜索文档空间文档", + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws drive +search-docs --query \"季度汇报\"" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws drive +search-docs --query \"季度汇报\"" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ], + "source": "internal/cli/schema_hints/selection/drive.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:drive +search-docs", + "cobra-help:dws drive +search-docs", + "internal/cli/schema_command_registry.json#drive.shortcut_search_docs", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "use_when": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ] + }, "drive commit": { "agent_summary": "提交文件上传", "agent_summary_source": "dws-agent-selection/drive", diff --git a/internal/cli/schema_agent_metadata/index.json b/internal/cli/schema_agent_metadata/index.json index 9a9c2e85..6195ecce 100644 --- a/internal/cli/schema_agent_metadata/index.json +++ b/internal/cli/schema_agent_metadata/index.json @@ -1,17 +1,17 @@ { "version": 1, - "source_hash": "sha256:6476ce71a3390ba917908d92aae636ed6519499a099f23d4d6b2b2295a67e677", - "surface_hash": "sha256:8eef4235b4391a6a865c180ebd3a65ca3531a84c6985b37811f23fff9daf2e3a", + "source_hash": "sha256:557f4019cc83df15cbfe6d1611774331b0bdde87c0b5748c4d37d778b35abade", + "surface_hash": "sha256:4cf8460240b19f896c3a330c69982cbb5f57aa8576cdf30373172082eea893ed", "coverage": { - "surface_products": 25, - "products_with_metadata": 25, - "surface_tools": 603, - "tools_with_metadata": 603, - "tools_with_agent_summary": 603, - "tools_with_use_when": 603, - "tools_with_avoid_when": 603, - "tools_with_examples": 603, - "tools_with_interface_mode": 603, + "surface_products": 26, + "products_with_metadata": 26, + "surface_tools": 813, + "tools_with_metadata": 813, + "tools_with_agent_summary": 813, + "tools_with_use_when": 813, + "tools_with_avoid_when": 813, + "tools_with_examples": 813, + "tools_with_interface_mode": 813, "unmatched_skill_tools": 122, "unreviewed_skill_tools": 11 }, @@ -585,6 +585,74 @@ "创建/配置开放平台应用、机器人、权限、事件订阅或发布版本" ] }, + "devapp": { + "agent_summary": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本", + "agent_summary_source": "dws-agent-selection/devapp", + "avoid_when": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ], + "field_provenance": { + "agent_summary": { + "value": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "candidates": [ + { + "value": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本", + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true + } + ] + }, + "avoid_when": { + "value": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "candidates": [ + { + "value": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true + } + ] + }, + "use_when": { + "value": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "candidates": [ + { + "value": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ], + "source": "internal/cli/schema_hints/selection/devapp.json", + "precedence": "reviewed_explicit", + "selected": true + } + ] + } + }, + "source_refs": [ + "CommandRegistry:product=devapp", + "internal/cli/schema_command_registry.json", + "internal/cli/schema_hints/selection/devapp.json", + "internal/shortcut/devapp" + ], + "use_when": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ] + }, "devdoc": { "agent_summary": "搜索钉钉开放平台开发文档与错误排查资料", "agent_summary_source": "dws-agent-selection/devdoc", @@ -1806,6 +1874,7 @@ "chat", "contact", "dev", + "devapp", "devdoc", "ding", "doc", diff --git a/internal/cli/schema_agent_metadata/mail.json b/internal/cli/schema_agent_metadata/mail.json index b2b14208..f182f8aa 100644 --- a/internal/cli/schema_agent_metadata/mail.json +++ b/internal/cli/schema_agent_metadata/mail.json @@ -1,6 +1,2601 @@ { "product_id": "mail", "tools": { + "mail +contact-list": { + "agent_summary": "列出指定邮箱的所有邮件联系人", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +contact-list --email user@company.com --limit 20" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定邮箱的所有邮件联系人", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定邮箱的所有邮件联系人", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +contact-list --email user@company.com --limit 20" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +contact-list --email user@company.com --limit 20" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +contact-list", + "cobra-help:dws mail +contact-list", + "internal/cli/schema_command_registry.json#mail.shortcut_contact_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ] + }, + "mail +find-mail-user": { + "agent_summary": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +find-mail-user", + "cobra-help:dws mail +find-mail-user", + "internal/cli/schema_command_registry.json#mail.shortcut_find_mail_user", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ] + }, + "mail +folder-list": { + "agent_summary": "列出顶层文件夹或指定父文件夹下的子文件夹", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +folder-list --email user@company.com" + ], + "field_provenance": { + "agent_summary": { + "value": "列出顶层文件夹或指定父文件夹下的子文件夹", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出顶层文件夹或指定父文件夹下的子文件夹", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +folder-list --email user@company.com" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +folder-list --email user@company.com" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +folder-list", + "cobra-help:dws mail +folder-list", + "internal/cli/schema_command_registry.json#mail.shortcut_folder_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ] + }, + "mail +recent-mail": { + "agent_summary": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ], + "field_provenance": { + "agent_summary": { + "value": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +recent-mail", + "cobra-help:dws mail +recent-mail", + "internal/cli/schema_command_registry.json#mail.shortcut_recent_mail", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ] + }, + "mail +search-mail": { + "agent_summary": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date\u003e2025-06-01T00:00:00Z\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date\u003e2025-06-01T00:00:00Z\"" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date\u003e2025-06-01T00:00:00Z\"" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +search-mail", + "cobra-help:dws mail +search-mail", + "internal/cli/schema_command_registry.json#mail.shortcut_search_mail", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ] + }, + "mail +tag-list": { + "agent_summary": "列出指定邮箱下的所有邮件标签", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +tag-list --email user@company.com" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定邮箱下的所有邮件标签", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定邮箱下的所有邮件标签", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +tag-list --email user@company.com" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +tag-list --email user@company.com" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +tag-list", + "cobra-help:dws mail +tag-list", + "internal/cli/schema_command_registry.json#mail.shortcut_tag_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ] + }, + "mail +template-list": { + "agent_summary": "列出指定邮箱的所有邮件模板", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +template-list --email user@company.com --limit 20" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定邮箱的所有邮件模板", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定邮箱的所有邮件模板", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +template-list --email user@company.com --limit 20" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +template-list --email user@company.com --limit 20" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +template-list", + "cobra-help:dws mail +template-list", + "internal/cli/schema_command_registry.json#mail.shortcut_template_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ] + }, + "mail +thread-list": { + "agent_summary": "列出指定邮箱文件夹下的邮件会话(thread)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ], + "field_provenance": { + "agent_summary": { + "value": "列出指定邮箱文件夹下的邮件会话(thread)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出指定邮箱文件夹下的邮件会话(thread)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +thread-list", + "cobra-help:dws mail +thread-list", + "internal/cli/schema_command_registry.json#mail.shortcut_thread_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ] + }, + "mail +unread-mail": { + "agent_summary": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ], + "field_provenance": { + "agent_summary": { + "value": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +unread-mail", + "cobra-help:dws mail +unread-mail", + "internal/cli/schema_command_registry.json#mail.shortcut_unread_mail", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ] + }, + "mail +user-search": { + "agent_summary": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ], + "source": "internal/cli/schema_hints/selection/mail.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:mail +user-search", + "cobra-help:dws mail +user-search", + "internal/cli/schema_command_registry.json#mail.shortcut_user_search", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "use_when": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ] + }, "mail attachment download": { "agent_summary": "把指定邮件附件下载到本地文件", "agent_summary_source": "dws-agent-selection/mail", diff --git a/internal/cli/schema_agent_metadata/minutes.json b/internal/cli/schema_agent_metadata/minutes.json index 28db4eb7..276b7446 100644 --- a/internal/cli/schema_agent_metadata/minutes.json +++ b/internal/cli/schema_agent_metadata/minutes.json @@ -1,6 +1,1560 @@ { "product_id": "minutes", "tools": { + "minutes +detail": { + "agent_summary": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +detail --id \u003ctaskUuid\u003e", + "dws minutes +detail --id \u003ctaskUuid\u003e --artifacts summary,todos" + ], + "field_provenance": { + "agent_summary": { + "value": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws minutes +detail --id \u003ctaskUuid\u003e", + "dws minutes +detail --id \u003ctaskUuid\u003e --artifacts summary,todos" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws minutes +detail --id \u003ctaskUuid\u003e", + "dws minutes +detail --id \u003ctaskUuid\u003e --artifacts summary,todos" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:minutes +detail", + "cobra-help:dws minutes +detail", + "internal/cli/schema_command_registry.json#minutes.shortcut_detail", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "use_when": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ] + }, + "minutes +list-all": { + "agent_summary": "查询我有权限访问的所有听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ], + "field_provenance": { + "agent_summary": { + "value": "查询我有权限访问的所有听记列表", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询我有权限访问的所有听记列表", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:minutes +list-all", + "cobra-help:dws minutes +list-all", + "internal/cli/schema_command_registry.json#minutes.shortcut_list_all", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "use_when": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ] + }, + "minutes +list-mine": { + "agent_summary": "查询我创建的听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ], + "field_provenance": { + "agent_summary": { + "value": "查询我创建的听记列表", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询我创建的听记列表", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:minutes +list-mine", + "cobra-help:dws minutes +list-mine", + "internal/cli/schema_command_registry.json#minutes.shortcut_list_mine", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "use_when": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ] + }, + "minutes +list-shared": { + "agent_summary": "查询他人共享给我的听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +list-shared --limit 20" + ], + "field_provenance": { + "agent_summary": { + "value": "查询他人共享给我的听记列表", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询他人共享给我的听记列表", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws minutes +list-shared --limit 20" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws minutes +list-shared --limit 20" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:minutes +list-shared", + "cobra-help:dws minutes +list-shared", + "internal/cli/schema_command_registry.json#minutes.shortcut_list_shared", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "use_when": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ] + }, + "minutes +record-start": { + "agent_summary": "发起听记(开始录音)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +record-start --session-id \u003csessionId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "发起听记(开始录音)", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "发起听记(开始录音)", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws minutes +record-start --session-id \u003csessionId\u003e" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws minutes +record-start --session-id \u003csessionId\u003e" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:minutes +record-start", + "cobra-help:dws minutes +record-start", + "internal/cli/schema_command_registry.json#minutes.shortcut_record_start", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "use_when": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ] + }, + "minutes +replace-batch": { + "agent_summary": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"张三=\u003e张三丰\"", + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"Q2=\u003e第二季度\" --pair \"PM=\u003e产品经理\"" + ], + "field_provenance": { + "agent_summary": { + "value": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"张三=\u003e张三丰\"", + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"Q2=\u003e第二季度\" --pair \"PM=\u003e产品经理\"" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"张三=\u003e张三丰\"", + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"Q2=\u003e第二季度\" --pair \"PM=\u003e产品经理\"" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ], + "source": "internal/cli/schema_hints/selection/minutes.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:minutes +replace-batch", + "cobra-help:dws minutes +replace-batch", + "internal/cli/schema_command_registry.json#minutes.shortcut_replace_batch", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "use_when": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ] + }, "minutes get audio": { "agent_summary": "查询听记的音频/视频文件地址(OSS 链接)。", "agent_summary_source": "dws-agent-selection/minutes", diff --git a/internal/cli/schema_agent_metadata/oa.json b/internal/cli/schema_agent_metadata/oa.json index 65e9eba1..e2d172d8 100644 --- a/internal/cli/schema_agent_metadata/oa.json +++ b/internal/cli/schema_agent_metadata/oa.json @@ -1,6 +1,1815 @@ { "product_id": "oa", "tools": { + "oa +list-cc": { + "agent_summary": "获取抄送当前用户的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "value": "获取抄送当前用户的审批单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取抄送当前用户的审批单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +list-cc", + "cobra-help:dws oa +list-cc", + "internal/cli/schema_command_registry.json#oa.shortcut_list_cc", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ] + }, + "oa +list-executed": { + "agent_summary": "获取当前用户已经处理过的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "value": "获取当前用户已经处理过的审批单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取当前用户已经处理过的审批单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +list-executed", + "cobra-help:dws oa +list-executed", + "internal/cli/schema_command_registry.json#oa.shortcut_list_executed", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ] + }, + "oa +list-forms": { + "agent_summary": "获取当前用户可见的审批表单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-forms --cursor 0 --limit 100" + ], + "field_provenance": { + "agent_summary": { + "value": "获取当前用户可见的审批表单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取当前用户可见的审批表单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +list-forms --cursor 0 --limit 100" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +list-forms --cursor 0 --limit 100" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +list-forms", + "cobra-help:dws oa +list-forms", + "internal/cli/schema_command_registry.json#oa.shortcut_list_forms", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ] + }, + "oa +list-pending": { + "agent_summary": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "value": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +list-pending", + "cobra-help:dws oa +list-pending", + "internal/cli/schema_command_registry.json#oa.shortcut_list_pending", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ] + }, + "oa +list-submitted": { + "agent_summary": "获取当前用户已发起的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "value": "获取当前用户已发起的审批单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取当前用户已发起的审批单列表", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +list-submitted", + "cobra-help:dws oa +list-submitted", + "internal/cli/schema_command_registry.json#oa.shortcut_list_submitted", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ] + }, + "oa +my-initiated": { + "agent_summary": "列出我发起(提交)的审批单据", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我发起(提交)的审批单据", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我发起(提交)的审批单据", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +my-initiated", + "cobra-help:dws oa +my-initiated", + "internal/cli/schema_command_registry.json#oa.shortcut_my_initiated", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ] + }, + "oa +search-forms": { + "agent_summary": "按关键字模糊搜索当前用户可见的审批表单", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +search-forms --query 报销" + ], + "field_provenance": { + "agent_summary": { + "value": "按关键字模糊搜索当前用户可见的审批表单", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按关键字模糊搜索当前用户可见的审批表单", + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws oa +search-forms --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws oa +search-forms --query 报销" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ], + "source": "internal/cli/schema_hints/selection/oa.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:oa +search-forms", + "cobra-help:dws oa +search-forms", + "internal/cli/schema_command_registry.json#oa.shortcut_search_forms", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "use_when": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ] + }, "oa approval approve": { "agent_summary": "同意审批", "agent_summary_source": "dws-agent-selection/oa", diff --git a/internal/cli/schema_agent_metadata/report.json b/internal/cli/schema_agent_metadata/report.json index 06d20562..f31762ee 100644 --- a/internal/cli/schema_agent_metadata/report.json +++ b/internal/cli/schema_agent_metadata/report.json @@ -1,6 +1,525 @@ { "product_id": "report", "tools": { + "report +inbox-list": { + "agent_summary": "列出我收到的日报(按时间范围分页)", + "agent_summary_source": "dws-agent-selection/report", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我收到的日报(按时间范围分页)", + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我收到的日报(按时间范围分页)", + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:report +inbox-list", + "cobra-help:dws report +inbox-list", + "internal/cli/schema_command_registry.json#report.shortcut_inbox_list", + "internal/cli/schema_hints/metadata/report.json", + "internal/cli/schema_hints/selection/report.json" + ], + "use_when": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ] + }, + "report +outbox-list": { + "agent_summary": "列出我发出的日报(可选时间/模版名过滤)", + "agent_summary_source": "dws-agent-selection/report", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我发出的日报(可选时间/模版名过滤)", + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我发出的日报(可选时间/模版名过滤)", + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ], + "source": "internal/cli/schema_hints/selection/report.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:report +outbox-list", + "cobra-help:dws report +outbox-list", + "internal/cli/schema_command_registry.json#report.shortcut_outbox_list", + "internal/cli/schema_hints/metadata/report.json", + "internal/cli/schema_hints/selection/report.json" + ], + "use_when": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ] + }, "report entry get": { "agent_summary": "获取指定一篇日志的详情信息", "agent_summary_source": "dws-agent-selection/report", diff --git a/internal/cli/schema_agent_metadata/sheet.json b/internal/cli/schema_agent_metadata/sheet.json index c9285f63..15abf382 100644 --- a/internal/cli/schema_agent_metadata/sheet.json +++ b/internal/cli/schema_agent_metadata/sheet.json @@ -1,6 +1,522 @@ { "product_id": "sheet", "tools": { + "sheet +list-sheets": { + "agent_summary": "获取表格文档中全部工作表列表", + "agent_summary_source": "dws-agent-selection/sheet", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet +list-sheets --node NODE_ID" + ], + "field_provenance": { + "agent_summary": { + "value": "获取表格文档中全部工作表列表", + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "获取表格文档中全部工作表列表", + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws sheet +list-sheets --node NODE_ID" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws sheet +list-sheets --node NODE_ID" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:sheet +list-sheets", + "cobra-help:dws sheet +list-sheets", + "internal/cli/schema_command_registry.json#sheet.shortcut_list_sheets", + "internal/cli/schema_hints/metadata/sheet.json", + "internal/cli/schema_hints/selection/sheet.json" + ], + "use_when": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ] + }, + "sheet +read": { + "agent_summary": "读取工作表指定范围的结构化单元格数据", + "agent_summary_source": "dws-agent-selection/sheet", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ], + "field_provenance": { + "agent_summary": { + "value": "读取工作表指定范围的结构化单元格数据", + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "读取工作表指定范围的结构化单元格数据", + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ], + "source": "internal/cli/schema_hints/selection/sheet.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:sheet +read", + "cobra-help:dws sheet +read", + "internal/cli/schema_command_registry.json#sheet.shortcut_read", + "internal/cli/schema_hints/metadata/sheet.json", + "internal/cli/schema_hints/selection/sheet.json" + ], + "use_when": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ] + }, "sheet add-dimension": { "agent_summary": "在工作表末尾追加空行或空列。", "agent_summary_source": "dws-agent-selection/sheet", diff --git a/internal/cli/schema_agent_metadata/todo.json b/internal/cli/schema_agent_metadata/todo.json index 091ebf5e..af17dc32 100644 --- a/internal/cli/schema_agent_metadata/todo.json +++ b/internal/cli/schema_agent_metadata/todo.json @@ -1,6 +1,2844 @@ { "product_id": "todo", "tools": { + "todo +assign": { + "agent_summary": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ], + "field_provenance": { + "agent_summary": { + "value": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:todo +assign", + "cobra-help:dws todo +assign", + "internal/cli/schema_command_registry.json#todo.shortcut_assign", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ] + }, + "todo +assign-multi": { + "agent_summary": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ], + "field_provenance": { + "agent_summary": { + "value": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:todo +assign-multi", + "cobra-help:dws todo +assign-multi", + "internal/cli/schema_command_registry.json#todo.shortcut_assign_multi", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ] + }, + "todo +created-todos": { + "agent_summary": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +created-todos" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +created-todos" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +created-todos" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +created-todos", + "cobra-help:dws todo +created-todos", + "internal/cli/schema_command_registry.json#todo.shortcut_created_todos", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ] + }, + "todo +get": { + "agent_summary": "查询待办详情", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +get --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询待办详情", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询待办详情", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +get --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +get --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +get", + "cobra-help:dws todo +get", + "internal/cli/schema_command_registry.json#todo.shortcut_get", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ] + }, + "todo +get-my-tasks": { + "agent_summary": "查询当前组织下我的待办列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ], + "field_provenance": { + "agent_summary": { + "value": "查询当前组织下我的待办列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询当前组织下我的待办列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +get-my-tasks", + "cobra-help:dws todo +get-my-tasks", + "internal/cli/schema_command_registry.json#todo.shortcut_get_my_tasks", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ] + }, + "todo +list-attachment": { + "agent_summary": "查询待办任务的附件列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +list-attachment --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询待办任务的附件列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询待办任务的附件列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +list-attachment --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +list-attachment --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +list-attachment", + "cobra-help:dws todo +list-attachment", + "internal/cli/schema_command_registry.json#todo.shortcut_list_attachment", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ] + }, + "todo +list-comment": { + "agent_summary": "查询待办评论列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +list-comment --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询待办评论列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询待办评论列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +list-comment --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +list-comment --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +list-comment", + "cobra-help:dws todo +list-comment", + "internal/cli/schema_command_registry.json#todo.shortcut_list_comment", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ] + }, + "todo +list-sub": { + "agent_summary": "查询子待办列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +list-sub --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "value": "查询子待办列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "查询子待办列表", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +list-sub --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +list-sub --task-id \u003ctaskId\u003e" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +list-sub", + "cobra-help:dws todo +list-sub", + "internal/cli/schema_command_registry.json#todo.shortcut_list_sub", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ] + }, + "todo +overdue": { + "agent_summary": "列出我已过期未完成的待办", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +overdue" + ], + "field_provenance": { + "agent_summary": { + "value": "列出我已过期未完成的待办", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "列出我已过期未完成的待办", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +overdue" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +overdue" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:todo +overdue", + "cobra-help:dws todo +overdue", + "internal/cli/schema_command_registry.json#todo.shortcut_overdue", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ] + }, + "todo +remind": { + "agent_summary": "给自己创建一条带截止/提醒时间的待办", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ], + "field_provenance": { + "agent_summary": { + "value": "给自己创建一条带截止/提醒时间的待办", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "给自己创建一条带截止/提醒时间的待办", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:todo +remind", + "cobra-help:dws todo +remind", + "internal/cli/schema_command_registry.json#todo.shortcut_remind", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ] + }, + "todo +todo-done": { + "agent_summary": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "user_required", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +todo-done --task 周报" + ], + "field_provenance": { + "agent_summary": { + "value": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "user_required", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "write", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws todo +todo-done --task 周报" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws todo +todo-done --task 周报" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "unknown", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "medium", + "source": "internal/cli/schema_hints/metadata/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ], + "source": "internal/cli/schema_hints/selection/todo.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "medium", + "source_refs": [ + "ShortcutRegistry:todo +todo-done", + "cobra-help:dws todo +todo-done", + "internal/cli/schema_command_registry.json#todo.shortcut_todo_done", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "use_when": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ] + }, "todo comment add": { "agent_summary": "给待办添加评论", "agent_summary_source": "dws-agent-selection/todo", diff --git a/internal/cli/schema_agent_metadata/wiki.json b/internal/cli/schema_agent_metadata/wiki.json index 4a8ba928..03fed77e 100644 --- a/internal/cli/schema_agent_metadata/wiki.json +++ b/internal/cli/schema_agent_metadata/wiki.json @@ -1,6 +1,264 @@ { "product_id": "wiki", "tools": { + "wiki +space-search": { + "agent_summary": "搜索知识库", + "agent_summary_source": "dws-agent-selection/wiki", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "confirmation": "not_required", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws wiki +space-search --query \"产品文档\"" + ], + "field_provenance": { + "agent_summary": { + "value": "搜索知识库", + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": "搜索知识库", + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "availability": { + "value": "available", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "available", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "avoid_when": { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "confirmation": { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "not_required", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "effect": { + "value": "read", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "read", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "examples": { + "value": [ + "dws wiki +space-search --query \"产品文档\"" + ], + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "dws wiki +space-search --query \"产品文档\"" + ], + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "idempotency": { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "idempotent", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_mode": { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "composite", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_reason": { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "interface_ref": { + "value": null, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "candidates": [ + { + "value": null, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "final interface mode composite forbids a direct MCP interface_ref" + } + ] + }, + "reviewed": { + "value": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + }, + { + "value": true, + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "selected": false, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + }, + "risk": { + "value": "low", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "candidates": [ + { + "value": "low", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity." + } + ] + }, + "use_when": { + "value": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ], + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "candidates": [ + { + "value": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ], + "source": "internal/cli/schema_hints/selection/wiki.json", + "precedence": "reviewed_explicit", + "selected": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts." + } + ] + } + }, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "risk": "low", + "source_refs": [ + "ShortcutRegistry:wiki +space-search", + "cobra-help:dws wiki +space-search", + "internal/cli/schema_command_registry.json#wiki.shortcut_space_search", + "internal/cli/schema_hints/metadata/wiki.json", + "internal/cli/schema_hints/selection/wiki.json" + ], + "use_when": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ] + }, "wiki member add": { "agent_summary": "为指定知识库添加一个或多个成员,并授予指定角色", "agent_summary_source": "dws-agent-selection/wiki", diff --git a/internal/cli/schema_agent_metadata_audit.json b/internal/cli/schema_agent_metadata_audit.json index 69df94dc..ad43c166 100644 --- a/internal/cli/schema_agent_metadata_audit.json +++ b/internal/cli/schema_agent_metadata_audit.json @@ -1,11 +1,11 @@ { "version": 1, - "source_hash": "sha256:6476ce71a3390ba917908d92aae636ed6519499a099f23d4d6b2b2295a67e677", - "surface_hash": "sha256:8eef4235b4391a6a865c180ebd3a65ca3531a84c6985b37811f23fff9daf2e3a", - "source_files": 158, - "hint_files": 52, - "hint_products": 42, - "hint_tools": 1358, + "source_hash": "sha256:557f4019cc83df15cbfe6d1611774331b0bdde87c0b5748c4d37d778b35abade", + "surface_hash": "sha256:4cf8460240b19f896c3a330c69982cbb5f57aa8576cdf30373172082eea893ed", + "source_files": 160, + "hint_files": 54, + "hint_products": 43, + "hint_tools": 1778, "interface_metadata": { "source": "mcp-tools-list+cli-registry", "revision": "4574f7022c32cf4c033e9b7b4156e2fec815fed8", @@ -27,15 +27,15 @@ ] }, "coverage": { - "surface_products": 25, - "products_with_metadata": 25, - "surface_tools": 603, - "tools_with_metadata": 603, - "tools_with_agent_summary": 603, - "tools_with_use_when": 603, - "tools_with_avoid_when": 603, - "tools_with_examples": 603, - "tools_with_interface_mode": 603, + "surface_products": 26, + "products_with_metadata": 26, + "surface_tools": 813, + "tools_with_metadata": 813, + "tools_with_agent_summary": 813, + "tools_with_use_when": 813, + "tools_with_avoid_when": 813, + "tools_with_examples": 813, + "tools_with_interface_mode": 813, "unmatched_skill_tools": 122, "unreviewed_skill_tools": 11 }, @@ -51,6 +51,7 @@ "conference", "contact", "dev", + "devapp", "devdoc", "ding", "doc", @@ -103,9 +104,9 @@ { "tool_path": "doc", "candidates": [ - "doc block delete", - "doc block insert", - "doc block list" + "doc +comment-create", + "doc +comment-list", + "doc +comment-reply" ], "review": { "status": "group", @@ -115,9 +116,9 @@ { "tool_path": "drive", "candidates": [ - "drive commit", - "drive copy", - "drive delete" + "drive +copy", + "drive +find-file", + "drive +info" ], "review": { "status": "group", @@ -127,9 +128,9 @@ { "tool_path": "minutes", "candidates": [ - "minutes get audio", - "minutes get batch", - "minutes get info" + "minutes +detail", + "minutes +list-all", + "minutes +list-mine" ], "review": { "status": "group", @@ -139,9 +140,9 @@ { "tool_path": "sheet", "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet batch-update" + "sheet +list-sheets", + "sheet +read", + "sheet add-dimension" ], "review": { "status": "group", @@ -151,9 +152,9 @@ { "tool_path": "wiki", "candidates": [ + "wiki +space-search", "wiki member add", - "wiki member list", - "wiki member remove" + "wiki member list" ], "review": { "status": "group", @@ -315,9 +316,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 70, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -329,9 +330,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 71, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -343,9 +344,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 72, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -399,9 +400,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 78, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -413,9 +414,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 78, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -427,9 +428,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 79, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -441,9 +442,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 79, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -455,9 +456,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 80, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -469,9 +470,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 80, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -483,9 +484,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 81, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -497,9 +498,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 82, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -511,9 +512,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 82, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -525,9 +526,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 83, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -539,9 +540,9 @@ "source": "skills/mono/references/intent-guide.md", "line": 83, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -610,7 +611,8 @@ "line": 100, "candidates": [ "ding message recall", - "ding message send" + "ding message send", + "ding +list" ], "review": { "status": "stale", @@ -624,7 +626,7 @@ "candidates": [ "mail message search", "mail user search", - "mail attachment download" + "mail +contact-list" ], "review": { "status": "stale", @@ -638,7 +640,7 @@ "candidates": [ "attendance approve list", "attendance approve templates", - "attendance adjustment get" + "attendance +check-record" ], "review": { "status": "stale", @@ -1100,9 +1102,9 @@ "source": "skills/mono/references/products/attendance.md", "line": 1038, "candidates": [ - "attendance adjustment get", - "attendance adjustment search", - "attendance approve list" + "attendance +check-record", + "attendance +check-result", + "attendance +get-adjustment-rule" ], "review": { "status": "stale", @@ -1114,9 +1116,9 @@ "source": "skills/mono/references/products/attendance.md", "line": 1042, "candidates": [ - "attendance adjustment get", - "attendance adjustment search", - "attendance approve list" + "attendance +check-record", + "attendance +check-result", + "attendance +get-adjustment-rule" ], "review": { "status": "stale", @@ -1128,9 +1130,9 @@ "source": "skills/mono/references/products/attendance.md", "line": 1075, "candidates": [ - "attendance adjustment get", - "attendance adjustment search", - "attendance approve list" + "attendance +check-record", + "attendance +check-result", + "attendance +get-adjustment-rule" ], "review": { "status": "stale", @@ -1450,9 +1452,9 @@ "source": "skills/mono/references/products/chat.md", "line": 491, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1464,9 +1466,9 @@ "source": "skills/mono/references/products/chat.md", "line": 492, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1478,9 +1480,9 @@ "source": "skills/mono/references/products/chat.md", "line": 493, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1576,9 +1578,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1556, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1590,9 +1592,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1557, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1604,9 +1606,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1558, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1618,9 +1620,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1595, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1632,9 +1634,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1596, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1646,9 +1648,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1618, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1660,9 +1662,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1619, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1674,9 +1676,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1641, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1688,9 +1690,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1642, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1702,9 +1704,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1662, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1716,9 +1718,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1663, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1730,9 +1732,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1681, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1744,9 +1746,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1682, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1758,9 +1760,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1698, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1772,9 +1774,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1700, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1786,9 +1788,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1714, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1800,9 +1802,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1715, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1814,9 +1816,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1716, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1828,9 +1830,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1717, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1842,9 +1844,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1737, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1856,9 +1858,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1738, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1870,9 +1872,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1756, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -1884,9 +1886,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1757, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2122,9 +2124,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1917, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2136,9 +2138,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1918, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2150,9 +2152,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1919, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2164,9 +2166,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1920, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2178,9 +2180,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1921, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2192,9 +2194,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1922, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2206,9 +2208,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1923, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2220,9 +2222,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1924, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2234,9 +2236,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1925, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2248,9 +2250,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1926, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2262,9 +2264,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1927, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2304,9 +2306,9 @@ "source": "skills/mono/references/products/chat.md", "line": 1950, "candidates": [ - "chat bot find", - "chat bot search", - "chat category batch-info" + "chat +at-me", + "chat +bot-find", + "chat +bot-search" ], "review": { "status": "stale", @@ -2318,9 +2320,9 @@ "source": "skills/mono/references/products/contact.md", "line": 304, "candidates": [ - "contact account create", - "contact account update", - "contact dept create" + "contact +by-mobile", + "contact +dept-members", + "contact +list-dept-members" ], "review": { "status": "stale", @@ -2332,9 +2334,9 @@ "source": "skills/mono/references/products/contact.md", "line": 306, "candidates": [ - "contact account create", - "contact account update", - "contact dept create" + "contact +by-mobile", + "contact +dept-members", + "contact +list-dept-members" ], "review": { "status": "stale", @@ -2348,7 +2350,7 @@ "candidates": [ "contact user get", "contact user profile get", - "contact account create" + "contact +by-mobile" ], "review": { "status": "stale", @@ -2362,7 +2364,7 @@ "candidates": [ "contact user get", "contact user profile get", - "contact account create" + "contact +by-mobile" ], "review": { "status": "stale", @@ -2375,8 +2377,8 @@ "line": 335, "candidates": [ "contact dept list-members", - "contact account create", - "contact account update" + "contact +by-mobile", + "contact +dept-members" ], "review": { "status": "stale", @@ -2388,9 +2390,9 @@ "source": "skills/mono/references/products/contact.md", "line": 492, "candidates": [ - "contact account create", - "contact account update", - "contact dept create" + "contact +by-mobile", + "contact +dept-members", + "contact +list-dept-members" ], "review": { "status": "stale", @@ -2404,7 +2406,7 @@ "candidates": [ "contact user get", "contact user profile get", - "contact account create" + "contact +by-mobile" ], "review": { "status": "stale", @@ -2417,8 +2419,8 @@ "line": 498, "candidates": [ "contact dept list-members", - "contact account create", - "contact account update" + "contact +by-mobile", + "contact +dept-members" ], "review": { "status": "stale", @@ -2577,7 +2579,8 @@ "line": 50, "candidates": [ "ding message recall", - "ding message send" + "ding message send", + "ding +list" ], "review": { "status": "stale", @@ -2604,7 +2607,8 @@ "line": 121, "candidates": [ "ding message recall", - "ding message send" + "ding message send", + "ding +list" ], "review": { "status": "stale", @@ -2645,8 +2649,8 @@ "line": 152, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2659,8 +2663,8 @@ "line": 153, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2673,8 +2677,8 @@ "line": 154, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2687,8 +2691,8 @@ "line": 672, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2701,8 +2705,8 @@ "line": 830, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2715,8 +2719,8 @@ "line": 833, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2729,8 +2733,8 @@ "line": 836, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2743,8 +2747,8 @@ "line": 12, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2757,8 +2761,8 @@ "line": 13, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2771,8 +2775,8 @@ "line": 14, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2785,8 +2789,8 @@ "line": 15, "candidates": [ "doc import get", - "doc block delete", - "doc block insert" + "doc +comment-create", + "doc +comment-list" ], "review": { "status": "stale", @@ -2839,8 +2843,8 @@ "line": 113, "candidates": [ "mail mailbox list", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -2993,8 +2997,8 @@ "line": 720, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3007,8 +3011,8 @@ "line": 721, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3021,8 +3025,8 @@ "line": 745, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3035,8 +3039,8 @@ "line": 771, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3104,9 +3108,9 @@ "source": "skills/mono/references/products/mail.md", "line": 991, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3118,9 +3122,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1015, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3188,9 +3192,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1349, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3202,9 +3206,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1350, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3230,9 +3234,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1365, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3244,9 +3248,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1366, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3330,7 +3334,7 @@ "candidates": [ "mail folder delete", "mail template delete", - "mail attachment download" + "mail +contact-list" ], "review": { "status": "stale", @@ -3342,9 +3346,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1597, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3356,9 +3360,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1598, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3371,8 +3375,8 @@ "line": 1625, "candidates": [ "mail mailbox list", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3427,8 +3431,8 @@ "line": 1653, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3454,9 +3458,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1655, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3468,9 +3472,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1656, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3482,9 +3486,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1657, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3510,9 +3514,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1659, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3524,9 +3528,9 @@ "source": "skills/mono/references/products/mail.md", "line": 1660, "candidates": [ - "mail attachment download", - "mail attachment list", - "mail contact batch-delete" + "mail +contact-list", + "mail +find-mail-user", + "mail +folder-list" ], "review": { "status": "stale", @@ -3623,8 +3627,8 @@ "line": 1721, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3637,8 +3641,8 @@ "line": 1722, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3651,8 +3655,8 @@ "line": 1723, "candidates": [ "mail thread get", - "mail attachment download", - "mail attachment list" + "mail +contact-list", + "mail +find-mail-user" ], "review": { "status": "stale", @@ -3818,9 +3822,9 @@ "source": "skills/mono/references/products/sheet/sheet-conditional-format.md", "line": 59, "candidates": [ - "sheet add-dimension", - "sheet append", - "sheet batch-update" + "sheet +list-sheets", + "sheet +read", + "sheet add-dimension" ], "review": { "status": "stale", diff --git a/internal/cli/schema_catalog.json b/internal/cli/schema_catalog.json index 1ebc57a0..c5928cb7 100644 --- a/internal/cli/schema_catalog.json +++ b/internal/cli/schema_catalog.json @@ -1,21 +1,21 @@ { "version": 1, - "source_hash": "sha256:a4326dacc1b26242dd7100fae40dfc9b126469b73f55e30742b684453e7dd097", - "surface_hash": "sha256:8eef4235b4391a6a865c180ebd3a65ca3531a84c6985b37811f23fff9daf2e3a", + "source_hash": "sha256:56946c5c8d966b0f0803e575dd2f86e2733c2fc6697bdc6e799aae23a363981c", + "surface_hash": "sha256:4cf8460240b19f896c3a330c69982cbb5f57aa8576cdf30373172082eea893ed", "catalog": { "agent_metadata": { - "products_with_metadata": 25, + "products_with_metadata": 26, "source": "embedded-skill-metadata", - "source_hash": "sha256:6476ce71a3390ba917908d92aae636ed6519499a099f23d4d6b2b2295a67e677", - "surface_hash": "sha256:8eef4235b4391a6a865c180ebd3a65ca3531a84c6985b37811f23fff9daf2e3a", - "surface_products": 25, - "surface_tools": 603, - "tools_with_agent_summary": 603, - "tools_with_metadata": 603, + "source_hash": "sha256:557f4019cc83df15cbfe6d1611774331b0bdde87c0b5748c4d37d778b35abade", + "surface_hash": "sha256:4cf8460240b19f896c3a330c69982cbb5f57aa8576cdf30373172082eea893ed", + "surface_products": 26, + "surface_tools": 813, + "tools_with_agent_summary": 813, + "tools_with_metadata": 813, "unmatched_skill_tools": 122, "version": 1 }, - "count": 25, + "count": 26, "interface_metadata": { "coverage": { "aliased_tools": 178, @@ -288,7 +288,7 @@ "id": "aitable", "name": "AI 表格操作", "runtime": true, - "tool_count": 116, + "tool_count": 145, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -2564,6 +2564,760 @@ "需要改同级文件夹展示顺序时" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取指定 Base 的目录信息(tables / dashboards summary)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_base_get", + "cli_name": "+base-get", + "cli_path": "aitable +base-get", + "confirmation": "not_required", + "description": "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_base_get", + "primary_cli_path": "aitable +base-get", + "reviewed": true, + "risk": "low", + "title": "获取指定 Base 的目录信息(tables / dashboards summary)", + "use_when": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_base_list", + "cli_name": "+base-list", + "cli_path": "aitable +base-list", + "confirmation": "not_required", + "description": "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_base_list", + "primary_cli_path": "aitable +base-list", + "reviewed": true, + "risk": "low", + "title": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "use_when": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称关键词搜索 AI 表格 Base", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_base_search", + "cli_name": "+base-search", + "cli_path": "aitable +base-search", + "confirmation": "not_required", + "description": "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_base_search", + "primary_cli_path": "aitable +base-search", + "reviewed": true, + "risk": "low", + "title": "按名称关键词搜索 AI 表格 Base", + "use_when": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取指定 chart 的详细信息", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_chart_get", + "cli_name": "+chart-get", + "cli_path": "aitable +chart-get", + "confirmation": "not_required", + "description": "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chart_get", + "primary_cli_path": "aitable +chart-get", + "reviewed": true, + "risk": "low", + "title": "获取指定 chart 的详细信息", + "use_when": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取所有图表类型的 widget config 示例", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_chart_widgets_example", + "cli_name": "+chart-widgets-example", + "cli_path": "aitable +chart-widgets-example", + "confirmation": "not_required", + "description": "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chart_widgets_example", + "primary_cli_path": "aitable +chart-widgets-example", + "reviewed": true, + "risk": "low", + "title": "获取所有图表类型的 widget config 示例", + "use_when": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取 dashboard config 的结构示例", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_dashboard_config_example", + "cli_name": "+dashboard-config-example", + "cli_path": "aitable +dashboard-config-example", + "confirmation": "not_required", + "description": "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_dashboard_config_example", + "primary_cli_path": "aitable +dashboard-config-example", + "reviewed": true, + "risk": "low", + "title": "获取 dashboard config 的结构示例", + "use_when": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取指定 dashboard 的详细信息(含 charts summary)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_dashboard_get", + "cli_name": "+dashboard-get", + "cli_path": "aitable +dashboard-get", + "confirmation": "not_required", + "description": "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_dashboard_get", + "primary_cli_path": "aitable +dashboard-get", + "reviewed": true, + "risk": "low", + "title": "获取指定 dashboard 的详细信息(含 charts summary)", + "use_when": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "批量获取字段详情(含类型相关完整配置)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_field_get", + "cli_name": "+field-get", + "cli_path": "aitable +field-get", + "confirmation": "not_required", + "description": "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_field_get", + "primary_cli_path": "aitable +field-get", + "reviewed": true, + "risk": "low", + "title": "批量获取字段详情(含类型相关完整配置)", + "use_when": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在指定多维表里按关键词查记录(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_find_record", + "cli_name": "+find-record", + "cli_path": "aitable +find-record", + "confirmation": "not_required", + "description": "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_find_record", + "primary_cli_path": "aitable +find-record", + "reviewed": true, + "risk": "low", + "title": "在指定多维表里按关键词查记录(只读)", + "use_when": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出表单视图当前可见的字段及其配置", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_form_field_list", + "cli_name": "+form-field-list", + "cli_path": "aitable +form-field-list", + "confirmation": "not_required", + "description": "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_form_field_list", + "primary_cli_path": "aitable +form-field-list", + "reviewed": true, + "risk": "low", + "title": "列出表单视图当前可见的字段及其配置", + "use_when": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定数据表下的所有表单视图", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_form_list", + "cli_name": "+form-list", + "cli_path": "aitable +form-list", + "confirmation": "not_required", + "description": "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_form_list", + "primary_cli_path": "aitable +form-list", + "reviewed": true, + "risk": "low", + "title": "列出指定数据表下的所有表单视图", + "use_when": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "读取视图当前的分享表单配置", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_form_share_get", + "cli_name": "+form-share-get", + "cli_path": "aitable +form-share-get", + "confirmation": "not_required", + "description": "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_form_share_get", + "primary_cli_path": "aitable +form-share-get", + "reviewed": true, + "risk": "low", + "title": "读取视图当前的分享表单配置", + "use_when": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_list_tables", + "cli_name": "+list-tables", + "cli_path": "aitable +list-tables", + "confirmation": "not_required", + "description": "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_tables", + "primary_cli_path": "aitable +list-tables", + "reviewed": true, + "risk": "low", + "title": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "use_when": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按 recordId 查询单条记录的变更历史", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_history_list", + "cli_name": "+record-history-list", + "cli_path": "aitable +record-history-list", + "confirmation": "not_required", + "description": "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_record_history_list", + "primary_cli_path": "aitable +record-history-list", + "reviewed": true, + "risk": "low", + "title": "按 recordId 查询单条记录的变更历史", + "use_when": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_query", + "cli_name": "+record-query", + "cli_path": "aitable +record-query", + "confirmation": "not_required", + "description": "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_record_query", + "primary_cli_path": "aitable +record-query", + "reviewed": true, + "risk": "low", + "title": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "use_when": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "扫描并过滤出完全没填用户字段的空行", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_query_empty", + "cli_name": "+record-query-empty", + "cli_path": "aitable +record-query-empty", + "confirmation": "not_required", + "description": "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_record_query_empty", + "primary_cli_path": "aitable +record-query-empty", + "reviewed": true, + "risk": "low", + "title": "扫描并过滤出完全没填用户字段的空行", + "use_when": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_share_links", + "cli_name": "+record-share-links", + "cli_path": "aitable +record-share-links", + "confirmation": "not_required", + "description": "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_record_share_links", + "primary_cli_path": "aitable +record-share-links", + "reviewed": true, + "risk": "low", + "title": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "use_when": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_share_url", + "cli_name": "+record-share-url", + "cli_path": "aitable +record-share-url", + "confirmation": "not_required", + "description": "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_record_share_url", + "primary_cli_path": "aitable +record-share-url", + "reviewed": true, + "risk": "low", + "title": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "use_when": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_resolve_base", + "cli_name": "+resolve-base", + "cli_path": "aitable +resolve-base", + "confirmation": "not_required", + "description": "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_resolve_base", + "primary_cli_path": "aitable +resolve-base", + "reviewed": true, + "risk": "low", + "title": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "use_when": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_resolve_table", + "cli_name": "+resolve-table", + "cli_path": "aitable +resolve-table", + "confirmation": "not_required", + "description": "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_resolve_table", + "primary_cli_path": "aitable +resolve-table", + "reviewed": true, + "risk": "low", + "title": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "use_when": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定 Base 下的全部角色", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_role_list", + "cli_name": "+role-list", + "cli_path": "aitable +role-list", + "confirmation": "not_required", + "description": "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_role_list", + "primary_cli_path": "aitable +role-list", + "reviewed": true, + "risk": "low", + "title": "列出指定 Base 下的全部角色", + "use_when": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定 Base 下所有没有子节点的空文件夹", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_section_list_empty", + "cli_name": "+section-list-empty", + "cli_path": "aitable +section-list-empty", + "confirmation": "not_required", + "description": "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_section_list_empty", + "primary_cli_path": "aitable +section-list-empty", + "reviewed": true, + "risk": "low", + "title": "列出指定 Base 下所有没有子节点的空文件夹", + "use_when": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定 Base 当前版本下的全部 nsheet 节点", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_section_list_nodes", + "cli_name": "+section-list-nodes", + "cli_path": "aitable +section-list-nodes", + "confirmation": "not_required", + "description": "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_section_list_nodes", + "primary_cli_path": "aitable +section-list-nodes", + "reviewed": true, + "risk": "low", + "title": "列出指定 Base 当前版本下的全部 nsheet 节点", + "use_when": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "批量获取指定数据表的表级信息、字段目录与视图目录", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_table_get", + "cli_name": "+table-get", + "cli_path": "aitable +table-get", + "confirmation": "not_required", + "description": "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_table_get", + "primary_cli_path": "aitable +table-get", + "reviewed": true, + "risk": "low", + "title": "批量获取指定数据表的表级信息、字段目录与视图目录", + "use_when": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称关键词搜索 AI 表格模板", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_template_search", + "cli_name": "+template-search", + "cli_path": "aitable +template-search", + "confirmation": "not_required", + "description": "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_template_search", + "primary_cli_path": "aitable +template-search", + "reviewed": true, + "risk": "low", + "title": "按名称关键词搜索 AI 表格模板", + "use_when": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get", + "cli_name": "+view-get", + "cli_path": "aitable +view-get", + "confirmation": "not_required", + "description": "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_view_get", + "primary_cli_path": "aitable +view-get", + "reviewed": true, + "risk": "low", + "title": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "use_when": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取视图当前冻结的左侧列数", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get_frozen_cols", + "cli_name": "+view-get-frozen-cols", + "cli_path": "aitable +view-get-frozen-cols", + "confirmation": "not_required", + "description": "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_view_get_frozen_cols", + "primary_cli_path": "aitable +view-get-frozen-cols", + "reviewed": true, + "risk": "low", + "title": "获取视图当前冻结的左侧列数", + "use_when": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取视图锁定状态", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get_lock", + "cli_name": "+view-get-lock", + "cli_path": "aitable +view-get-lock", + "confirmation": "not_required", + "description": "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_view_get_lock", + "primary_cli_path": "aitable +view-get-lock", + "reviewed": true, + "risk": "low", + "title": "获取视图锁定状态", + "use_when": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取视图单元格行高(像素)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get_row_height", + "cli_name": "+view-get-row-height", + "cli_path": "aitable +view-get-row-height", + "confirmation": "not_required", + "description": "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_view_get_row_height", + "primary_cli_path": "aitable +view-get-row-height", + "reviewed": true, + "risk": "low", + "title": "获取视图单元格行高(像素)", + "use_when": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "在 Base 下创建数据表(可带 fields,空数组会补标题列)。", @@ -3892,7 +4646,7 @@ "id": "attendance", "name": "考勤打卡 / 排班 / 统计", "runtime": true, - "tool_count": 38, + "tool_count": 57, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -4858,6 +5612,500 @@ "需要修改员工个人打卡提醒、极速打卡或结果通知设置,且 scene 与变更值已确认时" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询用户打卡流水(打卡时间/地点/定位方式)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_check_record", + "cli_name": "+check-record", + "cli_path": "attendance +check-record", + "confirmation": "not_required", + "description": "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_check_record", + "primary_cli_path": "attendance +check-record", + "reviewed": true, + "risk": "low", + "title": "查询用户打卡流水(打卡时间/地点/定位方式)", + "use_when": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询用户打卡结果(迟到/早退/缺卡等)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_check_result", + "cli_name": "+check-result", + "cli_path": "attendance +check-result", + "confirmation": "not_required", + "description": "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_check_result", + "primary_cli_path": "attendance +check-result", + "reviewed": true, + "risk": "low", + "title": "查询用户打卡结果(迟到/早退/缺卡等)", + "use_when": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据补卡规则主键 ID 查询补卡规则详情", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_adjustment_rule", + "cli_name": "+get-adjustment-rule", + "cli_path": "attendance +get-adjustment-rule", + "confirmation": "not_required", + "description": "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_adjustment_rule", + "primary_cli_path": "attendance +get-adjustment-rule", + "reviewed": true, + "risk": "low", + "title": "根据补卡规则主键 ID 查询补卡规则详情", + "use_when": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询补卡/请假/加班/外出/出差审批提交链接", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_approve_template", + "cli_name": "+get-approve-template", + "cli_path": "attendance +get-approve-template", + "confirmation": "not_required", + "description": "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_approve_template", + "primary_cli_path": "attendance +get-approve-template", + "reviewed": true, + "risk": "low", + "title": "查询补卡/请假/加班/外出/出差审批提交链接", + "use_when": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定员工一段时间内的签到记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_checkin_record", + "cli_name": "+get-checkin-record", + "cli_path": "attendance +get-checkin-record", + "confirmation": "not_required", + "description": "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_checkin_record", + "primary_cli_path": "attendance +get-checkin-record", + "reviewed": true, + "risk": "low", + "title": "查询指定员工一段时间内的签到记录", + "use_when": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定员工的假期余额变更记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_leave_records", + "cli_name": "+get-leave-records", + "cli_path": "attendance +get-leave-records", + "confirmation": "not_required", + "description": "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_leave_records", + "primary_cli_path": "attendance +get-leave-records", + "reviewed": true, + "risk": "low", + "title": "查询指定员工的假期余额变更记录", + "use_when": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据加班规则主键 ID 查询加班规则详情", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_overtime_rule", + "cli_name": "+get-overtime-rule", + "cli_path": "attendance +get-overtime-rule", + "confirmation": "not_required", + "description": "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_overtime_rule", + "primary_cli_path": "attendance +get-overtime-rule", + "reviewed": true, + "risk": "low", + "title": "根据加班规则主键 ID 查询加班规则详情", + "use_when": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取指定用户一段时间内的排班记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_schedule", + "cli_name": "+get-schedule", + "cli_path": "attendance +get-schedule", + "confirmation": "not_required", + "description": "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_schedule", + "primary_cli_path": "attendance +get-schedule", + "reviewed": true, + "risk": "low", + "title": "获取指定用户一段时间内的排班记录", + "use_when": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_self_setting", + "cli_name": "+get-self-setting", + "cli_path": "attendance +get-self-setting", + "confirmation": "not_required", + "description": "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_self_setting", + "primary_cli_path": "attendance +get-self-setting", + "reviewed": true, + "risk": "low", + "title": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "use_when": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询某个人的考勤统计摘要(周/月)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_summary", + "cli_name": "+get-summary", + "cli_path": "attendance +get-summary", + "confirmation": "not_required", + "description": "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_summary", + "primary_cli_path": "attendance +get-summary", + "reviewed": true, + "risk": "low", + "title": "查询某个人的考勤统计摘要(周/月)", + "use_when": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_list_approve", + "cli_name": "+list-approve", + "cli_path": "attendance +list-approve", + "confirmation": "not_required", + "description": "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_approve", + "primary_cli_path": "attendance +list-approve", + "reviewed": true, + "risk": "low", + "title": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "use_when": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前用户可用的假期规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_list_leave_types", + "cli_name": "+list-leave-types", + "cli_path": "attendance +list-leave-types", + "confirmation": "not_required", + "description": "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_leave_types", + "primary_cli_path": "attendance +list-leave-types", + "reviewed": true, + "risk": "low", + "title": "查询当前用户可用的假期规则列表", + "use_when": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_my_attendance", + "cli_name": "+my-attendance", + "cli_path": "attendance +my-attendance", + "confirmation": "not_required", + "description": "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_my_attendance", + "primary_cli_path": "attendance +my-attendance", + "reviewed": true, + "risk": "low", + "title": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "use_when": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据字段查询考勤报表数据(仅管理员)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_query_report_data", + "cli_name": "+query-report-data", + "cli_path": "attendance +query-report-data", + "confirmation": "not_required", + "description": "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_query_report_data", + "primary_cli_path": "attendance +query-report-data", + "reviewed": true, + "risk": "low", + "title": "根据字段查询考勤报表数据(仅管理员)", + "use_when": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前用户可管理的补卡规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_adjustment_rule", + "cli_name": "+search-adjustment-rule", + "cli_path": "attendance +search-adjustment-rule", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_adjustment_rule", + "primary_cli_path": "attendance +search-adjustment-rule", + "reviewed": true, + "risk": "low", + "title": "查询当前用户可管理的补卡规则列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前用户可管理的班次详情列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_class", + "cli_name": "+search-class", + "cli_path": "attendance +search-class", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_class", + "primary_cli_path": "attendance +search-class", + "reviewed": true, + "risk": "low", + "title": "查询当前用户可管理的班次详情列表", + "use_when": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前用户可管理的考勤组列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_group", + "cli_name": "+search-group", + "cli_path": "attendance +search-group", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_group", + "primary_cli_path": "attendance +search-group", + "reviewed": true, + "risk": "low", + "title": "查询当前用户可管理的考勤组列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前用户可管理的加班规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_overtime_rule", + "cli_name": "+search-overtime-rule", + "cli_path": "attendance +search-overtime-rule", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_overtime_rule", + "primary_cli_path": "attendance +search-overtime-rule", + "reviewed": true, + "risk": "low", + "title": "查询当前用户可管理的加班规则列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_this_month", + "cli_name": "+this-month", + "cli_path": "attendance +this-month", + "confirmation": "not_required", + "description": "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_this_month", + "primary_cli_path": "attendance +this-month", + "reviewed": true, + "risk": "low", + "title": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "use_when": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "查询员工假期余额", @@ -5236,7 +6484,7 @@ "id": "calendar", "name": "日历日程 / 会议室 / 闲忙", "runtime": true, - "tool_count": 20, + "tool_count": 40, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -5842,6 +7090,526 @@ "需要按日历本名模糊搜索当前用户拥有的日历本时" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询日程列表(不传时间默认查询今天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_agenda", + "cli_name": "+agenda", + "cli_path": "calendar +agenda", + "confirmation": "not_required", + "description": "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_agenda", + "primary_cli_path": "calendar +agenda", + "reviewed": true, + "risk": "low", + "title": "查询日程列表(不传时间默认查询今天)", + "use_when": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看日程参会人", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_attendee_list", + "cli_name": "+attendee-list", + "cli_path": "calendar +attendee-list", + "confirmation": "not_required", + "description": "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_attendee_list", + "primary_cli_path": "calendar +attendee-list", + "reviewed": true, + "risk": "low", + "title": "查看日程参会人", + "use_when": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_book", + "cli_name": "+book", + "cli_path": "calendar +book", + "confirmation": "user_required", + "description": "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_book", + "primary_cli_path": "calendar +book", + "reviewed": true, + "risk": "medium", + "title": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "use_when": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询用户的日历本列表", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_book_list", + "cli_name": "+book-list", + "cli_path": "calendar +book-list", + "confirmation": "not_required", + "description": "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_book_list", + "primary_cli_path": "calendar +book-list", + "reviewed": true, + "risk": "low", + "title": "查询用户的日历本列表", + "use_when": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称模糊搜索日历本", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_book_search", + "cli_name": "+book-search", + "cli_path": "calendar +book-search", + "confirmation": "not_required", + "description": "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_book_search", + "primary_cli_path": "calendar +book-search", + "reviewed": true, + "risk": "low", + "title": "按名称模糊搜索日历本", + "use_when": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_cancel_event", + "cli_name": "+cancel-event", + "cli_path": "calendar +cancel-event", + "confirmation": "user_required", + "description": "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_cancel_event", + "primary_cli_path": "calendar +cancel-event", + "reviewed": true, + "risk": "high", + "title": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "use_when": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_conflicts", + "cli_name": "+conflicts", + "cli_path": "calendar +conflicts", + "confirmation": "not_required", + "description": "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_conflicts", + "primary_cli_path": "calendar +conflicts", + "reviewed": true, + "risk": "low", + "title": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "use_when": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_free", + "cli_name": "+free", + "cli_path": "calendar +free", + "confirmation": "not_required", + "description": "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_free", + "primary_cli_path": "calendar +free", + "reviewed": true, + "risk": "low", + "title": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "use_when": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_free_slots", + "cli_name": "+free-slots", + "cli_path": "calendar +free-slots", + "confirmation": "not_required", + "description": "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_free_slots", + "primary_cli_path": "calendar +free-slots", + "reviewed": true, + "risk": "low", + "title": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "use_when": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_freebusy", + "cli_name": "+freebusy", + "cli_path": "calendar +freebusy", + "confirmation": "not_required", + "description": "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。\n\n参数约束:\n - --users、--rooms 至少指定一个", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_freebusy", + "primary_cli_path": "calendar +freebusy", + "reviewed": true, + "risk": "low", + "title": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "use_when": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_invite", + "cli_name": "+invite", + "cli_path": "calendar +invite", + "confirmation": "user_required", + "description": "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_invite", + "primary_cli_path": "calendar +invite", + "reviewed": true, + "risk": "medium", + "title": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "use_when": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_my_free", + "cli_name": "+my-free", + "cli_path": "calendar +my-free", + "confirmation": "not_required", + "description": "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_my_free", + "primary_cli_path": "calendar +my-free", + "reviewed": true, + "risk": "low", + "title": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "use_when": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_next_event", + "cli_name": "+next-event", + "cli_path": "calendar +next-event", + "confirmation": "not_required", + "description": "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_next_event", + "primary_cli_path": "calendar +next-event", + "reviewed": true, + "risk": "low", + "title": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "use_when": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_reschedule", + "cli_name": "+reschedule", + "cli_path": "calendar +reschedule", + "confirmation": "user_required", + "description": "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_reschedule", + "primary_cli_path": "calendar +reschedule", + "reviewed": true, + "risk": "medium", + "title": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "use_when": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "会议室分组列表", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_room_groups", + "cli_name": "+room-groups", + "cli_path": "calendar +room-groups", + "confirmation": "not_required", + "description": "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_room_groups", + "primary_cli_path": "calendar +room-groups", + "reviewed": true, + "risk": "low", + "title": "会议室分组列表", + "use_when": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称模糊搜索会议室(不检查可用性)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_room_search", + "cli_name": "+room-search", + "cli_path": "calendar +room-search", + "confirmation": "not_required", + "description": "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_room_search", + "primary_cli_path": "calendar +room-search", + "reviewed": true, + "risk": "low", + "title": "按名称模糊搜索会议室(不检查可用性)", + "use_when": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_suggest_time", + "cli_name": "+suggest-time", + "cli_path": "calendar +suggest-time", + "confirmation": "not_required", + "description": "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_suggest_time", + "primary_cli_path": "calendar +suggest-time", + "reviewed": true, + "risk": "low", + "title": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "use_when": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_today", + "cli_name": "+today", + "cli_path": "calendar +today", + "confirmation": "not_required", + "description": "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_today", + "primary_cli_path": "calendar +today", + "reviewed": true, + "risk": "low", + "title": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_tomorrow", + "cli_name": "+tomorrow", + "cli_path": "calendar +tomorrow", + "confirmation": "not_required", + "description": "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_tomorrow", + "primary_cli_path": "calendar +tomorrow", + "reviewed": true, + "risk": "low", + "title": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_week", + "cli_name": "+week", + "cli_path": "calendar +week", + "confirmation": "not_required", + "description": "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_week", + "primary_cli_path": "calendar +week", + "reviewed": true, + "risk": "low", + "title": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "修改日程", @@ -5954,7 +7722,7 @@ "id": "chat", "name": "群聊 / 消息 / 机器人", "runtime": true, - "tool_count": 78, + "tool_count": 120, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -7939,6 +9707,1098 @@ "需要改变某个会话在列表中的置顶状态时" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_at_me", + "cli_name": "+at-me", + "cli_path": "chat +at-me", + "confirmation": "not_required", + "description": "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_at_me", + "primary_cli_path": "chat +at-me", + "reviewed": true, + "risk": "low", + "title": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "use_when": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_bot_find", + "cli_name": "+bot-find", + "cli_path": "chat +bot-find", + "confirmation": "not_required", + "description": "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。\n\n参数约束:\n - --query、--keyword 至少指定一个", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_bot_find", + "primary_cli_path": "chat +bot-find", + "reviewed": true, + "risk": "low", + "title": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "use_when": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "搜索当前用户自己创建的机器人", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_bot_search", + "cli_name": "+bot-search", + "cli_path": "chat +bot-search", + "confirmation": "not_required", + "description": "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_bot_search", + "primary_cli_path": "chat +bot-search", + "reviewed": true, + "risk": "low", + "title": "搜索当前用户自己创建的机器人", + "use_when": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_broadcast", + "cli_name": "+broadcast", + "cli_path": "chat +broadcast", + "confirmation": "user_required", + "description": "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_broadcast", + "primary_cli_path": "chat +broadcast", + "reviewed": true, + "risk": "medium", + "title": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "use_when": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "创建用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_create", + "cli_name": "+category-create", + "cli_path": "chat +category-create", + "confirmation": "user_required", + "description": "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_category_create", + "primary_cli_path": "chat +category-create", + "reviewed": true, + "risk": "medium", + "title": "创建用户自定义会话分组", + "use_when": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "删除用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_delete", + "cli_name": "+category-delete", + "cli_path": "chat +category-delete", + "confirmation": "user_required", + "description": "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_category_delete", + "primary_cli_path": "chat +category-delete", + "reviewed": true, + "risk": "high", + "title": "删除用户自定义会话分组", + "use_when": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_list", + "cli_name": "+category-list", + "cli_path": "chat +category-list", + "confirmation": "not_required", + "description": "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_category_list", + "primary_cli_path": "chat +category-list", + "reviewed": true, + "risk": "low", + "title": "获取用户自定义会话分组", + "use_when": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新用户自定义会话分组的名称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_rename", + "cli_name": "+category-rename", + "cli_path": "chat +category-rename", + "confirmation": "user_required", + "description": "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_category_rename", + "primary_cli_path": "chat +category-rename", + "reviewed": true, + "risk": "medium", + "title": "更新用户自定义会话分组的名称", + "use_when": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看群内所有机器人", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_bots", + "cli_name": "+chat-bots", + "cli_path": "chat +chat-bots", + "confirmation": "not_required", + "description": "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_bots", + "primary_cli_path": "chat +chat-bots", + "reviewed": true, + "risk": "low", + "title": "查看群内所有机器人", + "use_when": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "解散群聊(不可逆,需群主权限)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_dismiss", + "cli_name": "+chat-dismiss", + "cli_path": "chat +chat-dismiss", + "confirmation": "user_required", + "description": "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_dismiss", + "primary_cli_path": "chat +chat-dismiss", + "reviewed": true, + "risk": "high", + "title": "解散群聊(不可逆,需群主权限)", + "use_when": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取群邀请链接", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_invite_url", + "cli_name": "+chat-invite-url", + "cli_path": "chat +chat-invite-url", + "confirmation": "not_required", + "description": "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_invite_url", + "primary_cli_path": "chat +chat-invite-url", + "reviewed": true, + "risk": "low", + "title": "获取群邀请链接", + "use_when": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "分页拉取我加入的所有群列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_list_all", + "cli_name": "+chat-list-all", + "cli_path": "chat +chat-list-all", + "confirmation": "not_required", + "description": "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_list_all", + "primary_cli_path": "chat +chat-list-all", + "reviewed": true, + "risk": "low", + "title": "分页拉取我加入的所有群列表", + "use_when": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "分页拉取入群验证记录", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_list_join_requests", + "cli_name": "+chat-list-join-requests", + "cli_path": "chat +chat-list-join-requests", + "confirmation": "not_required", + "description": "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_list_join_requests", + "primary_cli_path": "chat +chat-list-join-requests", + "reviewed": true, + "risk": "low", + "title": "分页拉取入群验证记录", + "use_when": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "拉取我创建/管理的群", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_list_mine", + "cli_name": "+chat-list-mine", + "cli_path": "chat +chat-list-mine", + "confirmation": "not_required", + "description": "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_list_mine", + "primary_cli_path": "chat +chat-list-mine", + "reviewed": true, + "risk": "low", + "title": "拉取我创建/管理的群", + "use_when": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "全员禁言 / 取消全员禁言", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_mute", + "cli_name": "+chat-mute", + "cli_path": "chat +chat-mute", + "confirmation": "user_required", + "description": "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_mute", + "primary_cli_path": "chat +chat-mute", + "reviewed": true, + "risk": "medium", + "title": "全员禁言 / 取消全员禁言", + "use_when": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "添加群身份", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_add", + "cli_name": "+chat-role-add", + "cli_path": "chat +chat-role-add", + "confirmation": "user_required", + "description": "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_role_add", + "primary_cli_path": "chat +chat-role-add", + "reviewed": true, + "risk": "medium", + "title": "添加群身份", + "use_when": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "拉取会话的群身份列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_list", + "cli_name": "+chat-role-list", + "cli_path": "chat +chat-role-list", + "confirmation": "not_required", + "description": "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_role_list", + "primary_cli_path": "chat +chat-role-list", + "reviewed": true, + "risk": "low", + "title": "拉取会话的群身份列表", + "use_when": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询群成员的群身份", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_query_user", + "cli_name": "+chat-role-query-user", + "cli_path": "chat +chat-role-query-user", + "confirmation": "not_required", + "description": "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_role_query_user", + "primary_cli_path": "chat +chat-role-query-user", + "reviewed": true, + "risk": "low", + "title": "查询群成员的群身份", + "use_when": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "设置用户的群身份(覆盖该用户的全部群身份)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_set_user", + "cli_name": "+chat-role-set-user", + "cli_path": "chat +chat-role-set-user", + "confirmation": "user_required", + "description": "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_role_set_user", + "primary_cli_path": "chat +chat-role-set-user", + "reviewed": true, + "risk": "medium", + "title": "设置用户的群身份(覆盖该用户的全部群身份)", + "use_when": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "更新群身份名称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_update", + "cli_name": "+chat-role-update", + "cli_path": "chat +chat-role-update", + "confirmation": "user_required", + "description": "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_role_update", + "primary_cli_path": "chat +chat-role-update", + "reviewed": true, + "risk": "medium", + "title": "更新群身份名称", + "use_when": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键词搜索群聊", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_search", + "cli_name": "+chat-search", + "cli_path": "chat +chat-search", + "confirmation": "not_required", + "description": "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。\n\n参数约束:\n - --query、--keyword 至少指定一个", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_search", + "primary_cli_path": "chat +chat-search", + "reviewed": true, + "risk": "low", + "title": "按关键词搜索群聊", + "use_when": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "设置 / 取消群管理员", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_set_admin", + "cli_name": "+chat-set-admin", + "cli_path": "chat +chat-set-admin", + "confirmation": "user_required", + "description": "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_set_admin", + "primary_cli_path": "chat +chat-set-admin", + "reviewed": true, + "risk": "medium", + "title": "设置 / 取消群管理员", + "use_when": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "设置新成员入群可查看历史消息范围", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_set_history", + "cli_name": "+chat-set-history", + "cli_path": "chat +chat-set-history", + "confirmation": "user_required", + "description": "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_set_history", + "primary_cli_path": "chat +chat-set-history", + "reviewed": true, + "risk": "medium", + "title": "设置新成员入群可查看历史消息范围", + "use_when": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "设置群备注(仅自己可见)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_update_alias", + "cli_name": "+chat-update-alias", + "cli_path": "chat +chat-update-alias", + "confirmation": "user_required", + "description": "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_update_alias", + "primary_cli_path": "chat +chat-update-alias", + "reviewed": true, + "risk": "medium", + "title": "设置群备注(仅自己可见)", + "use_when": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "设置当前用户在群内的群昵称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_update_nick", + "cli_name": "+chat-update-nick", + "cli_path": "chat +chat-update-nick", + "confirmation": "user_required", + "description": "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_chat_update_nick", + "primary_cli_path": "chat +chat-update-nick", + "reviewed": true, + "risk": "medium", + "title": "设置当前用户在群内的群昵称", + "use_when": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "清除所有会话红点(全部已读)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_clear_all_red_point", + "cli_name": "+conversation-clear-all-red-point", + "cli_path": "chat +conversation-clear-all-red-point", + "confirmation": "user_required", + "description": "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_conversation_clear_all_red_point", + "primary_cli_path": "chat +conversation-clear-all-red-point", + "reviewed": true, + "risk": "medium", + "title": "清除所有会话红点(全部已读)", + "use_when": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_info", + "cli_name": "+conversation-info", + "cli_path": "chat +conversation-info", + "confirmation": "not_required", + "description": "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_conversation_info", + "primary_cli_path": "chat +conversation-info", + "reviewed": true, + "risk": "low", + "title": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "use_when": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "分页获取当前用户的全部会话列表(单聊+群聊)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_list", + "cli_name": "+conversation-list", + "cli_path": "chat +conversation-list", + "confirmation": "not_required", + "description": "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_conversation_list", + "primary_cli_path": "chat +conversation-list", + "reviewed": true, + "risk": "low", + "title": "分页获取当前用户的全部会话列表(单聊+群聊)", + "use_when": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "拉取置顶会话列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_list_top", + "cli_name": "+conversation-list-top", + "cli_path": "chat +conversation-list-top", + "confirmation": "not_required", + "description": "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_conversation_list_top", + "primary_cli_path": "chat +conversation-list-top", + "reviewed": true, + "risk": "low", + "title": "拉取置顶会话列表", + "use_when": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名直接给某人发单聊消息(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_dm", + "cli_name": "+dm", + "cli_path": "chat +dm", + "confirmation": "user_required", + "description": "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_dm", + "primary_cli_path": "chat +dm", + "reviewed": true, + "risk": "medium", + "title": "按姓名直接给某人发单聊消息(自动解析 userId)", + "use_when": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按群名列出群成员(自动搜群解析 openConversationId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_group_members", + "cli_name": "+group-members", + "cli_path": "chat +group-members", + "confirmation": "not_required", + "description": "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_group_members", + "primary_cli_path": "chat +group-members", + "reviewed": true, + "risk": "low", + "title": "按群名列出群成员(自动搜群解析 openConversationId)", + "use_when": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "拉取单聊会话消息", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_list_direct", + "cli_name": "+messages-list-direct", + "cli_path": "chat +messages-list-direct", + "confirmation": "not_required", + "description": "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_list_direct", + "primary_cli_path": "chat +messages-list-direct", + "reviewed": true, + "risk": "low", + "title": "拉取单聊会话消息", + "use_when": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "拉取会话中钉住的消息列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_list_pin", + "cli_name": "+messages-list-pin", + "cli_path": "chat +messages-list-pin", + "confirmation": "not_required", + "description": "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_list_pin", + "primary_cli_path": "chat +messages-list-pin", + "reviewed": true, + "risk": "low", + "title": "拉取会话中钉住的消息列表", + "use_when": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取有未读消息的会话列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_list_unread_conversations", + "cli_name": "+messages-list-unread-conversations", + "cli_path": "chat +messages-list-unread-conversations", + "confirmation": "not_required", + "description": "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_list_unread_conversations", + "primary_cli_path": "chat +messages-list-unread-conversations", + "reviewed": true, + "risk": "low", + "title": "获取有未读消息的会话列表", + "use_when": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据消息 ID 批量查询消息(最多 50 条)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_mget", + "cli_name": "+messages-mget", + "cli_path": "chat +messages-mget", + "confirmation": "not_required", + "description": "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_mget", + "primary_cli_path": "chat +messages-mget", + "reviewed": true, + "risk": "low", + "title": "根据消息 ID 批量查询消息(最多 50 条)", + "use_when": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询消息发送状态", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_query_send_status", + "cli_name": "+messages-query-send-status", + "cli_path": "chat +messages-query-send-status", + "confirmation": "not_required", + "description": "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_query_send_status", + "primary_cli_path": "chat +messages-query-send-status", + "reviewed": true, + "risk": "low", + "title": "查询消息发送状态", + "use_when": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询消息的已读/未读状态", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_read_status", + "cli_name": "+messages-read-status", + "cli_path": "chat +messages-read-status", + "confirmation": "not_required", + "description": "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。\n\n参数约束:\n - --conversation-id、--group、--id 必须且只能指定一个", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_read_status", + "primary_cli_path": "chat +messages-read-status", + "reviewed": true, + "risk": "low", + "title": "查询消息的已读/未读状态", + "use_when": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "自定义机器人 Webhook 发送群消息", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_send_by_webhook", + "cli_name": "+messages-send-by-webhook", + "cli_path": "chat +messages-send-by-webhook", + "confirmation": "user_required", + "description": "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_send_by_webhook", + "primary_cli_path": "chat +messages-send-by-webhook", + "reviewed": true, + "risk": "medium", + "title": "自定义机器人 Webhook 发送群消息", + "use_when": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_update_card", + "cli_name": "+messages-update-card", + "cli_path": "chat +messages-update-card", + "confirmation": "user_required", + "description": "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_messages_update_card", + "primary_cli_path": "chat +messages-update-card", + "reviewed": true, + "risk": "medium", + "title": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "use_when": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我加入的群,可按类型过滤并投影关键字段", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_my_groups", + "cli_name": "+my-groups", + "cli_path": "chat +my-groups", + "confirmation": "not_required", + "description": "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_my_groups", + "primary_cli_path": "chat +my-groups", + "reviewed": true, + "risk": "low", + "title": "列出我加入的群,可按类型过滤并投影关键字段", + "use_when": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_send_to_group", + "cli_name": "+send-to-group", + "cli_path": "chat +send-to-group", + "confirmation": "user_required", + "description": "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_send_to_group", + "primary_cli_path": "chat +send-to-group", + "reviewed": true, + "risk": "medium", + "title": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "use_when": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_unread_chats", + "cli_name": "+unread-chats", + "cli_path": "chat +unread-chats", + "confirmation": "not_required", + "description": "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_unread_chats", + "primary_cli_path": "chat +unread-chats", + "reviewed": true, + "risk": "low", + "title": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "use_when": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "把群主身份转让给指定群成员", @@ -8411,7 +11271,7 @@ "id": "contact", "name": "通讯录 / 用户 / 部门 / 角色 / 人员关系", "runtime": true, - "tool_count": 20, + "tool_count": 34, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -9004,6 +11864,370 @@ "use_when": [ "用户明确要求修改自己的 profile 昵称或头像 fileId" ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_by_mobile", + "cli_name": "+by-mobile", + "cli_path": "contact +by-mobile", + "confirmation": "not_required", + "description": "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_by_mobile", + "primary_cli_path": "contact +by-mobile", + "reviewed": true, + "risk": "low", + "title": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "use_when": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按部门名列出部门成员(自动解析 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_dept_members", + "cli_name": "+dept-members", + "cli_path": "contact +dept-members", + "confirmation": "not_required", + "description": "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_dept_members", + "primary_cli_path": "contact +dept-members", + "reviewed": true, + "risk": "low", + "title": "按部门名列出部门成员(自动解析 deptId)", + "use_when": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看部门成员(仅本部门,不含下级)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_dept_members", + "cli_name": "+list-dept-members", + "cli_path": "contact +list-dept-members", + "confirmation": "not_required", + "description": "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_dept_members", + "primary_cli_path": "contact +list-dept-members", + "reviewed": true, + "risk": "low", + "title": "查看部门成员(仅本部门,不含下级)", + "use_when": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户的特别关注列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_followings", + "cli_name": "+list-followings", + "cli_path": "contact +list-followings", + "confirmation": "not_required", + "description": "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_followings", + "primary_cli_path": "contact +list-followings", + "reviewed": true, + "risk": "low", + "title": "获取当前用户的特别关注列表", + "use_when": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询角色下的成员列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_role_members", + "cli_name": "+list-role-members", + "cli_path": "contact +list-role-members", + "confirmation": "not_required", + "description": "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_role_members", + "primary_cli_path": "contact +list-role-members", + "reviewed": true, + "risk": "low", + "title": "查询角色下的成员列表", + "use_when": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取企业所有角色(标签)列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_roles", + "cli_name": "+list-roles", + "cli_path": "contact +list-roles", + "confirmation": "not_required", + "description": "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_roles", + "primary_cli_path": "contact +list-roles", + "reviewed": true, + "risk": "low", + "title": "获取企业所有角色(标签)列表", + "use_when": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看指定部门的子部门", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_sub_depts", + "cli_name": "+list-sub-depts", + "cli_path": "contact +list-sub-depts", + "confirmation": "not_required", + "description": "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_sub_depts", + "primary_cli_path": "contact +list-sub-depts", + "reviewed": true, + "risk": "low", + "title": "查看指定部门的子部门", + "use_when": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_lookup", + "cli_name": "+lookup", + "cli_path": "contact +lookup", + "confirmation": "not_required", + "description": "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_lookup", + "primary_cli_path": "contact +lookup", + "reviewed": true, + "risk": "low", + "title": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "use_when": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_me", + "cli_name": "+me", + "cli_path": "contact +me", + "confirmation": "not_required", + "description": "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_me", + "primary_cli_path": "contact +me", + "reviewed": true, + "risk": "low", + "title": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "use_when": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_org", + "cli_name": "+org", + "cli_path": "contact +org", + "confirmation": "not_required", + "description": "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_org", + "primary_cli_path": "contact +org", + "reviewed": true, + "risk": "low", + "title": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称搜索部门并解析出唯一 deptId(只读)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_resolve_dept", + "cli_name": "+resolve-dept", + "cli_path": "contact +resolve-dept", + "confirmation": "not_required", + "description": "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_resolve_dept", + "primary_cli_path": "contact +resolve-dept", + "reviewed": true, + "risk": "low", + "title": "按名称搜索部门并解析出唯一 deptId(只读)", + "use_when": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按手机号搜索通讯录用户", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_search_mobile", + "cli_name": "+search-mobile", + "cli_path": "contact +search-mobile", + "confirmation": "not_required", + "description": "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_mobile", + "primary_cli_path": "contact +search-mobile", + "reviewed": true, + "risk": "low", + "title": "按手机号搜索通讯录用户", + "use_when": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键词搜索通讯录用户", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_search_user", + "cli_name": "+search-user", + "cli_path": "contact +search-user", + "confirmation": "not_required", + "description": "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_user", + "primary_cli_path": "contact +search-user", + "reviewed": true, + "risk": "low", + "title": "按关键词搜索通讯录用户", + "use_when": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_team", + "cli_name": "+team", + "cli_path": "contact +team", + "confirmation": "not_required", + "description": "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_team", + "primary_cli_path": "contact +team", + "reviewed": true, + "risk": "low", + "title": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] } ], "use_when": [ @@ -10013,6 +13237,576 @@ "创建/配置开放平台应用、机器人、权限、事件订阅或发布版本" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "CommandRegistry:product=devapp", + "internal/cli/schema_command_registry.json", + "internal/cli/schema_hints/selection/devapp.json", + "internal/shortcut/devapp" + ], + "agent_summary": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本", + "agent_summary_source": "dws-agent-selection/devapp", + "avoid_when": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ], + "description": "devapp shortcuts", + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ] + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ] + } + }, + "id": "devapp", + "name": "devapp shortcuts", + "runtime": true, + "tool_count": 19, + "tools": [ + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "创建开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_create", + "cli_name": "+create", + "cli_path": "devapp +create", + "confirmation": "user_required", + "description": "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_create", + "primary_cli_path": "devapp +create", + "reviewed": true, + "risk": "medium", + "title": "创建开放平台企业内部应用", + "use_when": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "删除开放平台企业内部应用(不可逆)", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_delete", + "cli_name": "+delete", + "cli_path": "devapp +delete", + "confirmation": "user_required", + "description": "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_delete", + "primary_cli_path": "devapp +delete", + "reviewed": true, + "risk": "high", + "title": "删除开放平台企业内部应用(不可逆)", + "use_when": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "停用开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_disable", + "cli_name": "+disable", + "cli_path": "devapp +disable", + "confirmation": "user_required", + "description": "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_disable", + "primary_cli_path": "devapp +disable", + "reviewed": true, + "risk": "high", + "title": "停用开放平台企业内部应用", + "use_when": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "启用开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_enable", + "cli_name": "+enable", + "cli_path": "devapp +enable", + "confirmation": "user_required", + "description": "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_enable", + "primary_cli_path": "devapp +enable", + "reviewed": true, + "risk": "medium", + "title": "启用开放平台企业内部应用", + "use_when": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询应用已订阅的事件列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_event_list", + "cli_name": "+event-list", + "cli_path": "devapp +event-list", + "confirmation": "not_required", + "description": "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_event_list", + "primary_cli_path": "devapp +event-list", + "reviewed": true, + "risk": "low", + "title": "查询应用已订阅的事件列表", + "use_when": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询开放平台企业内部应用详情", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_get", + "cli_name": "+get", + "cli_path": "devapp +get", + "confirmation": "not_required", + "description": "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get", + "primary_cli_path": "devapp +get", + "reviewed": true, + "risk": "low", + "title": "查询开放平台企业内部应用详情", + "use_when": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询开放平台企业内部应用列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_list", + "cli_name": "+list", + "cli_path": "devapp +list", + "confirmation": "not_required", + "description": "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list", + "primary_cli_path": "devapp +list", + "reviewed": true, + "risk": "low", + "title": "查询开放平台企业内部应用列表", + "use_when": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "添加开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_member_add", + "cli_name": "+member-add", + "cli_path": "devapp +member-add", + "confirmation": "user_required", + "description": "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_member_add", + "primary_cli_path": "devapp +member-add", + "reviewed": true, + "risk": "medium", + "title": "添加开放平台应用成员", + "use_when": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_member_list", + "cli_name": "+member-list", + "cli_path": "devapp +member-list", + "confirmation": "not_required", + "description": "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_member_list", + "primary_cli_path": "devapp +member-list", + "reviewed": true, + "risk": "low", + "title": "查询开放平台应用成员", + "use_when": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "移除开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_member_remove", + "cli_name": "+member-remove", + "cli_path": "devapp +member-remove", + "confirmation": "user_required", + "description": "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_member_remove", + "primary_cli_path": "devapp +member-remove", + "reviewed": true, + "risk": "high", + "title": "移除开放平台应用成员", + "use_when": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询开放平台应用权限列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_permission_list", + "cli_name": "+permission-list", + "cli_path": "devapp +permission-list", + "confirmation": "not_required", + "description": "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_permission_list", + "primary_cli_path": "devapp +permission-list", + "reviewed": true, + "risk": "low", + "title": "查询开放平台应用权限列表", + "use_when": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询现有应用的机器人配置", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_robot_get", + "cli_name": "+robot-get", + "cli_path": "devapp +robot-get", + "confirmation": "not_required", + "description": "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_robot_get", + "primary_cli_path": "devapp +robot-get", + "reviewed": true, + "risk": "low", + "title": "查询现有应用的机器人配置", + "use_when": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "修改开放平台企业内部应用基础信息", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_update", + "cli_name": "+update", + "cli_path": "devapp +update", + "confirmation": "user_required", + "description": "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_update", + "primary_cli_path": "devapp +update", + "reviewed": true, + "risk": "medium", + "title": "修改开放平台企业内部应用基础信息", + "use_when": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "预检版本发布是否需要审批(不实际发布)", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_check_approval", + "cli_name": "+version-check-approval", + "cli_path": "devapp +version-check-approval", + "confirmation": "not_required", + "description": "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_check_approval", + "primary_cli_path": "devapp +version-check-approval", + "reviewed": true, + "risk": "low", + "title": "预检版本发布是否需要审批(不实际发布)", + "use_when": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询指定版本详情", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_get", + "cli_name": "+version-get", + "cli_path": "devapp +version-get", + "confirmation": "not_required", + "description": "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_get", + "primary_cli_path": "devapp +version-get", + "reviewed": true, + "risk": "low", + "title": "查询指定版本详情", + "use_when": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "分页查询应用版本列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_list", + "cli_name": "+version-list", + "cli_path": "devapp +version-list", + "confirmation": "not_required", + "description": "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_list", + "primary_cli_path": "devapp +version-list", + "reviewed": true, + "risk": "low", + "title": "分页查询应用版本列表", + "use_when": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询版本发布/审批状态", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_status", + "cli_name": "+version-status", + "cli_path": "devapp +version-status", + "confirmation": "not_required", + "description": "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_status", + "primary_cli_path": "devapp +version-status", + "reviewed": true, + "risk": "low", + "title": "查询版本发布/审批状态", + "use_when": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "配置网页应用能力", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_webapp_config", + "cli_name": "+webapp-config", + "cli_path": "devapp +webapp-config", + "confirmation": "user_required", + "description": "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_webapp_config", + "primary_cli_path": "devapp +webapp-config", + "reviewed": true, + "risk": "medium", + "title": "配置网页应用能力", + "use_when": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询网页应用配置", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_webapp_get", + "cli_name": "+webapp-get", + "cli_path": "devapp +webapp-get", + "confirmation": "not_required", + "description": "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_webapp_get", + "primary_cli_path": "devapp +webapp-get", + "reviewed": true, + "risk": "low", + "title": "查询网页应用配置", + "use_when": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ] + } + ], + "use_when": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -10197,7 +13991,7 @@ "id": "ding", "name": "DING 消息 / 发送 / 撤回", "runtime": true, - "tool_count": 2, + "tool_count": 6, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -10262,6 +14056,110 @@ "use_when": [ "需要用企业机器人向指定 userId 发送应用内、短信或电话 DING" ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询 DING 消息列表", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_list", + "cli_name": "+list", + "cli_path": "ding +list", + "confirmation": "not_required", + "description": "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list", + "primary_cli_path": "ding +list", + "reviewed": true, + "risk": "low", + "title": "查询 DING 消息列表", + "use_when": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "撤回本人发起的 DING", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_recall_personal", + "cli_name": "+recall-personal", + "cli_path": "ding +recall-personal", + "confirmation": "user_required", + "description": "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_recall_personal", + "primary_cli_path": "ding +recall-personal", + "reviewed": true, + "risk": "high", + "title": "撤回本人发起的 DING", + "use_when": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询 DING 消息接收人已读状态", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_receiver_status", + "cli_name": "+receiver-status", + "cli_path": "ding +receiver-status", + "confirmation": "not_required", + "description": "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_receiver_status", + "primary_cli_path": "ding +receiver-status", + "reviewed": true, + "risk": "low", + "title": "查询 DING 消息接收人已读状态", + "use_when": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "以本人身份发送 DING 给指定人", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_send_personal", + "cli_name": "+send-personal", + "cli_path": "ding +send-personal", + "confirmation": "user_required", + "description": "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_send_personal", + "primary_cli_path": "ding +send-personal", + "reviewed": true, + "risk": "medium", + "title": "以本人身份发送 DING 给指定人", + "use_when": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ] } ], "use_when": [ @@ -10340,7 +14238,7 @@ "id": "doc", "name": "钉钉文档管理", "runtime": true, - "tool_count": 38, + "tool_count": 55, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -11194,6 +15092,448 @@ "兼容入口:按关键词搜文档时(已弃用,日常改用 drive search / wiki node search)" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在文档上创建一条评论", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_comment_create", + "cli_name": "+comment-create", + "cli_path": "doc +comment-create", + "confirmation": "user_required", + "description": "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_comment_create", + "primary_cli_path": "doc +comment-create", + "reviewed": true, + "risk": "medium", + "title": "在文档上创建一条评论", + "use_when": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询文档评论列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_comment_list", + "cli_name": "+comment-list", + "cli_path": "doc +comment-list", + "confirmation": "not_required", + "description": "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_comment_list", + "primary_cli_path": "doc +comment-list", + "reviewed": true, + "risk": "low", + "title": "查询文档评论列表", + "use_when": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "回复文档中的一条评论", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_comment_reply", + "cli_name": "+comment-reply", + "cli_path": "doc +comment-reply", + "confirmation": "user_required", + "description": "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_comment_reply", + "primary_cli_path": "doc +comment-reply", + "reviewed": true, + "risk": "medium", + "title": "回复文档中的一条评论", + "use_when": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "复制文档/文件到指定文件夹或知识库", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_copy", + "cli_name": "+copy", + "cli_path": "doc +copy", + "confirmation": "user_required", + "description": "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_copy", + "primary_cli_path": "doc +copy", + "reviewed": true, + "risk": "medium", + "title": "复制文档/文件到指定文件夹或知识库", + "use_when": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_doc_append", + "cli_name": "+doc-append", + "cli_path": "doc +doc-append", + "confirmation": "user_required", + "description": "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_doc_append", + "primary_cli_path": "doc +doc-append", + "reviewed": true, + "risk": "medium", + "title": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "use_when": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据 jobId 查询文档导出任务结果", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_export_get", + "cli_name": "+export-get", + "cli_path": "doc +export-get", + "confirmation": "not_required", + "description": "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_export_get", + "primary_cli_path": "doc +export-get", + "reviewed": true, + "risk": "low", + "title": "根据 jobId 查询文档导出任务结果", + "use_when": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_export_submit", + "cli_name": "+export-submit", + "cli_path": "doc +export-submit", + "confirmation": "not_required", + "description": "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_export_submit", + "primary_cli_path": "doc +export-submit", + "reviewed": true, + "risk": "low", + "title": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "use_when": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键词搜索云文档并投影关键字段(只读)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_find_doc", + "cli_name": "+find-doc", + "cli_path": "doc +find-doc", + "confirmation": "not_required", + "description": "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_find_doc", + "primary_cli_path": "doc +find-doc", + "reviewed": true, + "risk": "low", + "title": "按关键词搜索云文档并投影关键字段(只读)", + "use_when": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出文件夹或知识库下的直接子节点", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_list", + "cli_name": "+list", + "cli_path": "doc +list", + "confirmation": "not_required", + "description": "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list", + "primary_cli_path": "doc +list", + "reviewed": true, + "risk": "low", + "title": "列出文件夹或知识库下的直接子节点", + "use_when": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "移动文档/文件到指定文件夹或知识库", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_move", + "cli_name": "+move", + "cli_path": "doc +move", + "confirmation": "user_required", + "description": "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_move", + "primary_cli_path": "doc +move", + "reviewed": true, + "risk": "medium", + "title": "移动文档/文件到指定文件夹或知识库", + "use_when": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_search", + "cli_name": "+search", + "cli_path": "doc +search", + "confirmation": "not_required", + "description": "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search", + "primary_cli_path": "doc +search", + "reviewed": true, + "risk": "low", + "title": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "use_when": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名把文档链接私信发给某人(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_share_doc", + "cli_name": "+share-doc", + "cli_path": "doc +share-doc", + "confirmation": "user_required", + "description": "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_share_doc", + "primary_cli_path": "doc +share-doc", + "reviewed": true, + "risk": "medium", + "title": "按姓名把文档链接私信发给某人(自动解析 userId)", + "use_when": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取文档模板列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_template_list", + "cli_name": "+template-list", + "cli_path": "doc +template-list", + "confirmation": "not_required", + "description": "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_template_list", + "primary_cli_path": "doc +template-list", + "reviewed": true, + "risk": "low", + "title": "获取文档模板列表", + "use_when": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "根据关键词搜索文档模板", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_template_search", + "cli_name": "+template-search", + "cli_path": "doc +template-search", + "confirmation": "not_required", + "description": "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_template_search", + "primary_cli_path": "doc +template-search", + "reviewed": true, + "risk": "low", + "title": "根据关键词搜索文档模板", + "use_when": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查看文档历史版本列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_version_list", + "cli_name": "+version-list", + "cli_path": "doc +version-list", + "confirmation": "not_required", + "description": "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_list", + "primary_cli_path": "doc +version-list", + "reviewed": true, + "risk": "low", + "title": "查看文档历史版本列表", + "use_when": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "回滚文档到指定历史版本", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_version_revert", + "cli_name": "+version-revert", + "cli_path": "doc +version-revert", + "confirmation": "user_required", + "description": "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。", + "effect": "destructive", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_revert", + "primary_cli_path": "doc +version-revert", + "reviewed": true, + "risk": "high", + "title": "回滚文档到指定历史版本", + "use_when": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "手动保存文档版本快照", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_version_save", + "cli_name": "+version-save", + "cli_path": "doc +version-save", + "confirmation": "user_required", + "description": "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_version_save", + "primary_cli_path": "doc +version-save", + "reviewed": true, + "risk": "medium", + "title": "手动保存文档版本快照", + "use_when": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "使用指定模板创建新文档", @@ -11587,7 +15927,7 @@ "id": "drive", "name": "钉盘文件管理", "runtime": true, - "tool_count": 25, + "tool_count": 32, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -12335,6 +16675,188 @@ "明确搜团队空间名以拿 spaceId/rootFolderId 时用 --target space" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "复制文件/文档到指定位置", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_copy", + "cli_name": "+copy", + "cli_path": "drive +copy", + "confirmation": "user_required", + "description": "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_copy", + "primary_cli_path": "drive +copy", + "reviewed": true, + "risk": "medium", + "title": "复制文件/文档到指定位置", + "use_when": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_find_file", + "cli_name": "+find-file", + "cli_path": "drive +find-file", + "confirmation": "not_required", + "description": "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_find_file", + "primary_cli_path": "drive +find-file", + "reviewed": true, + "risk": "low", + "title": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "use_when": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取钉盘文件/文件夹元数据", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_info", + "cli_name": "+info", + "cli_path": "drive +info", + "confirmation": "not_required", + "description": "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_info", + "primary_cli_path": "drive +info", + "reviewed": true, + "risk": "low", + "title": "获取钉盘文件/文件夹元数据", + "use_when": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "移动文件/文档到指定位置", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_move", + "cli_name": "+move", + "cli_path": "drive +move", + "confirmation": "user_required", + "description": "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_move", + "primary_cli_path": "drive +move", + "reviewed": true, + "risk": "medium", + "title": "移动文件/文档到指定位置", + "use_when": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取最近访问/编辑的文档列表", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_recent", + "cli_name": "+recent", + "cli_path": "drive +recent", + "confirmation": "not_required", + "description": "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_recent", + "primary_cli_path": "drive +recent", + "reviewed": true, + "risk": "low", + "title": "获取最近访问/编辑的文档列表", + "use_when": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "搜索钉盘文件", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_search", + "cli_name": "+search", + "cli_path": "drive +search", + "confirmation": "not_required", + "description": "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search", + "primary_cli_path": "drive +search", + "reviewed": true, + "risk": "low", + "title": "搜索钉盘文件", + "use_when": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "搜索文档空间文档", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_search_docs", + "cli_name": "+search-docs", + "cli_path": "drive +search-docs", + "confirmation": "not_required", + "description": "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_docs", + "primary_cli_path": "drive +search-docs", + "reviewed": true, + "risk": "low", + "title": "搜索文档空间文档", + "use_when": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "上传本地文件到钉盘或文档空间,或按节点 ID 确认覆盖已有文件", @@ -13166,7 +17688,7 @@ "id": "mail", "name": "邮箱 / 邮件收发", "runtime": true, - "tool_count": 31, + "tool_count": 41, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -14005,6 +18527,266 @@ "用户明确要发邮件,且已确认发件人邮箱、收件人、主题与正文" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定邮箱的所有邮件联系人", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_contact_list", + "cli_name": "+contact-list", + "cli_path": "mail +contact-list", + "confirmation": "not_required", + "description": "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_contact_list", + "primary_cli_path": "mail +contact-list", + "reviewed": true, + "risk": "low", + "title": "列出指定邮箱的所有邮件联系人", + "use_when": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_find_mail_user", + "cli_name": "+find-mail-user", + "cli_path": "mail +find-mail-user", + "confirmation": "not_required", + "description": "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_find_mail_user", + "primary_cli_path": "mail +find-mail-user", + "reviewed": true, + "risk": "low", + "title": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "use_when": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出顶层文件夹或指定父文件夹下的子文件夹", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_folder_list", + "cli_name": "+folder-list", + "cli_path": "mail +folder-list", + "confirmation": "not_required", + "description": "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_folder_list", + "primary_cli_path": "mail +folder-list", + "reviewed": true, + "risk": "low", + "title": "列出顶层文件夹或指定父文件夹下的子文件夹", + "use_when": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_recent_mail", + "cli_name": "+recent-mail", + "cli_path": "mail +recent-mail", + "confirmation": "not_required", + "description": "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_recent_mail", + "primary_cli_path": "mail +recent-mail", + "reviewed": true, + "risk": "low", + "title": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "use_when": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_search_mail", + "cli_name": "+search-mail", + "cli_path": "mail +search-mail", + "confirmation": "not_required", + "description": "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_mail", + "primary_cli_path": "mail +search-mail", + "reviewed": true, + "risk": "low", + "title": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "use_when": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定邮箱下的所有邮件标签", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_tag_list", + "cli_name": "+tag-list", + "cli_path": "mail +tag-list", + "confirmation": "not_required", + "description": "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_tag_list", + "primary_cli_path": "mail +tag-list", + "reviewed": true, + "risk": "low", + "title": "列出指定邮箱下的所有邮件标签", + "use_when": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定邮箱的所有邮件模板", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_template_list", + "cli_name": "+template-list", + "cli_path": "mail +template-list", + "confirmation": "not_required", + "description": "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_template_list", + "primary_cli_path": "mail +template-list", + "reviewed": true, + "risk": "low", + "title": "列出指定邮箱的所有邮件模板", + "use_when": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出指定邮箱文件夹下的邮件会话(thread)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_thread_list", + "cli_name": "+thread-list", + "cli_path": "mail +thread-list", + "confirmation": "not_required", + "description": "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_thread_list", + "primary_cli_path": "mail +thread-list", + "reviewed": true, + "risk": "low", + "title": "列出指定邮箱文件夹下的邮件会话(thread)", + "use_when": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_unread_mail", + "cli_name": "+unread-mail", + "cli_path": "mail +unread-mail", + "confirmation": "not_required", + "description": "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_unread_mail", + "primary_cli_path": "mail +unread-mail", + "reviewed": true, + "risk": "low", + "title": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "use_when": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_user_search", + "cli_name": "+user-search", + "cli_path": "mail +user-search", + "confirmation": "not_required", + "description": "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。\n\n参数约束:\n - --keyword、--employee-no 至少指定一个", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_user_search", + "primary_cli_path": "mail +user-search", + "reviewed": true, + "risk": "low", + "title": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "use_when": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "更新已有邮件草稿的内容", @@ -14502,7 +19284,7 @@ "id": "minutes", "name": "AI 听记 / 会议纪要", "runtime": true, - "tool_count": 31, + "tool_count": 37, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -15393,6 +20175,162 @@ "用户明确要求把转写中指定发言人昵称批量替换为目标发言人时" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_detail", + "cli_name": "+detail", + "cli_path": "minutes +detail", + "confirmation": "not_required", + "description": "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_detail", + "primary_cli_path": "minutes +detail", + "reviewed": true, + "risk": "low", + "title": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "use_when": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询我有权限访问的所有听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_list_all", + "cli_name": "+list-all", + "cli_path": "minutes +list-all", + "confirmation": "not_required", + "description": "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_all", + "primary_cli_path": "minutes +list-all", + "reviewed": true, + "risk": "low", + "title": "查询我有权限访问的所有听记列表", + "use_when": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询我创建的听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_list_mine", + "cli_name": "+list-mine", + "cli_path": "minutes +list-mine", + "confirmation": "not_required", + "description": "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_mine", + "primary_cli_path": "minutes +list-mine", + "reviewed": true, + "risk": "low", + "title": "查询我创建的听记列表", + "use_when": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询他人共享给我的听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_list_shared", + "cli_name": "+list-shared", + "cli_path": "minutes +list-shared", + "confirmation": "not_required", + "description": "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_shared", + "primary_cli_path": "minutes +list-shared", + "reviewed": true, + "risk": "low", + "title": "查询他人共享给我的听记列表", + "use_when": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "发起听记(开始录音)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_record_start", + "cli_name": "+record-start", + "cli_path": "minutes +record-start", + "confirmation": "user_required", + "description": "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_record_start", + "primary_cli_path": "minutes +record-start", + "reviewed": true, + "risk": "medium", + "title": "发起听记(开始录音)", + "use_when": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_replace_batch", + "cli_name": "+replace-batch", + "cli_path": "minutes +replace-batch", + "confirmation": "user_required", + "description": "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。\n\n参数约束:\n - 每个 --pair 必须使用 \"原文=\u003e替换\" 格式,原文不能为空且不能重复", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_replace_batch", + "primary_cli_path": "minutes +replace-batch", + "reviewed": true, + "risk": "medium", + "title": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "use_when": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "用传入的摘要文本全量覆盖听记的纪要内容,不触发 AI 重新生成。", @@ -15532,7 +20470,7 @@ "id": "oa", "name": "OA 审批 / 同意 / 拒绝 / 撤销", "runtime": true, - "tool_count": 15, + "tool_count": 22, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -16012,6 +20950,188 @@ "use_when": [ "用户明确要求撤销自己已发起的审批实例,且 processInstanceId 已确认时" ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取抄送当前用户的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_cc", + "cli_name": "+list-cc", + "cli_path": "oa +list-cc", + "confirmation": "not_required", + "description": "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_cc", + "primary_cli_path": "oa +list-cc", + "reviewed": true, + "risk": "low", + "title": "获取抄送当前用户的审批单列表", + "use_when": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户已经处理过的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_executed", + "cli_name": "+list-executed", + "cli_path": "oa +list-executed", + "confirmation": "not_required", + "description": "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_executed", + "primary_cli_path": "oa +list-executed", + "reviewed": true, + "risk": "low", + "title": "获取当前用户已经处理过的审批单列表", + "use_when": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户可见的审批表单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_forms", + "cli_name": "+list-forms", + "cli_path": "oa +list-forms", + "confirmation": "not_required", + "description": "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_forms", + "primary_cli_path": "oa +list-forms", + "reviewed": true, + "risk": "low", + "title": "获取当前用户可见的审批表单列表", + "use_when": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_pending", + "cli_name": "+list-pending", + "cli_path": "oa +list-pending", + "confirmation": "not_required", + "description": "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_pending", + "primary_cli_path": "oa +list-pending", + "reviewed": true, + "risk": "low", + "title": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "use_when": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取当前用户已发起的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_submitted", + "cli_name": "+list-submitted", + "cli_path": "oa +list-submitted", + "confirmation": "not_required", + "description": "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_submitted", + "primary_cli_path": "oa +list-submitted", + "reviewed": true, + "risk": "low", + "title": "获取当前用户已发起的审批单列表", + "use_when": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我发起(提交)的审批单据", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_my_initiated", + "cli_name": "+my-initiated", + "cli_path": "oa +my-initiated", + "confirmation": "not_required", + "description": "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_my_initiated", + "primary_cli_path": "oa +my-initiated", + "reviewed": true, + "risk": "low", + "title": "列出我发起(提交)的审批单据", + "use_when": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按关键字模糊搜索当前用户可见的审批表单", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_search_forms", + "cli_name": "+search-forms", + "cli_path": "oa +search-forms", + "confirmation": "not_required", + "description": "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_search_forms", + "primary_cli_path": "oa +search-forms", + "reviewed": true, + "risk": "low", + "title": "按关键字模糊搜索当前用户可见的审批表单", + "use_when": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ] } ], "use_when": [ @@ -16226,7 +21346,7 @@ "id": "report", "name": "钉钉日志(OA 周报应用 / 日志模版填报)", "runtime": true, - "tool_count": 7, + "tool_count": 9, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -16468,6 +21588,58 @@ "use_when": [ "已知模版名称,提交前需要读取字段名称、类型与排序时" ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我收到的日报(按时间范围分页)", + "agent_summary_source": "dws-agent-selection/report", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "report.shortcut_inbox_list", + "cli_name": "+inbox-list", + "cli_path": "report +inbox-list", + "confirmation": "not_required", + "description": "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_inbox_list", + "primary_cli_path": "report +inbox-list", + "reviewed": true, + "risk": "low", + "title": "列出我收到的日报(按时间范围分页)", + "use_when": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我发出的日报(可选时间/模版名过滤)", + "agent_summary_source": "dws-agent-selection/report", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "report.shortcut_outbox_list", + "cli_name": "+outbox-list", + "cli_path": "report +outbox-list", + "confirmation": "not_required", + "description": "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_outbox_list", + "primary_cli_path": "report +outbox-list", + "reviewed": true, + "risk": "low", + "title": "列出我发出的日报(可选时间/模版名过滤)", + "use_when": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ] } ], "use_when": [ @@ -16553,7 +21725,7 @@ "id": "sheet", "name": "钉钉表格管理", "runtime": true, - "tool_count": 79, + "tool_count": 81, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -18336,6 +23508,58 @@ "写入纯值且超过约 5 行/20 格,或数据来自 CSV/表格文本时优先使用" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "获取表格文档中全部工作表列表", + "agent_summary_source": "dws-agent-selection/sheet", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "sheet.shortcut_list_sheets", + "cli_name": "+list-sheets", + "cli_path": "sheet +list-sheets", + "confirmation": "not_required", + "description": "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_sheets", + "primary_cli_path": "sheet +list-sheets", + "reviewed": true, + "risk": "low", + "title": "获取表格文档中全部工作表列表", + "use_when": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "读取工作表指定范围的结构化单元格数据", + "agent_summary_source": "dws-agent-selection/sheet", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "sheet.shortcut_read", + "cli_name": "+read", + "cli_path": "sheet +read", + "confirmation": "not_required", + "description": "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_read", + "primary_cli_path": "sheet +read", + "reviewed": true, + "risk": "low", + "title": "读取工作表指定范围的结构化单元格数据", + "use_when": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "显示工作表网格线。", @@ -18973,7 +24197,7 @@ "id": "todo", "name": "待办任务管理", "runtime": true, - "tool_count": 23, + "tool_count": 34, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -19568,6 +24792,292 @@ "需要清除或整体替换待办提醒规则时(可不传 reminder-rules 以清除)" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_assign", + "cli_name": "+assign", + "cli_path": "todo +assign", + "confirmation": "user_required", + "description": "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_assign", + "primary_cli_path": "todo +assign", + "reviewed": true, + "risk": "medium", + "title": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "use_when": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_assign_multi", + "cli_name": "+assign-multi", + "cli_path": "todo +assign-multi", + "confirmation": "user_required", + "description": "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_assign_multi", + "primary_cli_path": "todo +assign-multi", + "reviewed": true, + "risk": "medium", + "title": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "use_when": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_created_todos", + "cli_name": "+created-todos", + "cli_path": "todo +created-todos", + "confirmation": "not_required", + "description": "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_created_todos", + "primary_cli_path": "todo +created-todos", + "reviewed": true, + "risk": "low", + "title": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "use_when": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询待办详情", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_get", + "cli_name": "+get", + "cli_path": "todo +get", + "confirmation": "not_required", + "description": "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get", + "primary_cli_path": "todo +get", + "reviewed": true, + "risk": "low", + "title": "查询待办详情", + "use_when": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询当前组织下我的待办列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_get_my_tasks", + "cli_name": "+get-my-tasks", + "cli_path": "todo +get-my-tasks", + "confirmation": "not_required", + "description": "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_get_my_tasks", + "primary_cli_path": "todo +get-my-tasks", + "reviewed": true, + "risk": "low", + "title": "查询当前组织下我的待办列表", + "use_when": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询待办任务的附件列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_list_attachment", + "cli_name": "+list-attachment", + "cli_path": "todo +list-attachment", + "confirmation": "not_required", + "description": "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_attachment", + "primary_cli_path": "todo +list-attachment", + "reviewed": true, + "risk": "low", + "title": "查询待办任务的附件列表", + "use_when": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询待办评论列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_list_comment", + "cli_name": "+list-comment", + "cli_path": "todo +list-comment", + "confirmation": "not_required", + "description": "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_comment", + "primary_cli_path": "todo +list-comment", + "reviewed": true, + "risk": "low", + "title": "查询待办评论列表", + "use_when": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "查询子待办列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_list_sub", + "cli_name": "+list-sub", + "cli_path": "todo +list-sub", + "confirmation": "not_required", + "description": "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_list_sub", + "primary_cli_path": "todo +list-sub", + "reviewed": true, + "risk": "low", + "title": "查询子待办列表", + "use_when": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "列出我已过期未完成的待办", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_overdue", + "cli_name": "+overdue", + "cli_path": "todo +overdue", + "confirmation": "not_required", + "description": "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_overdue", + "primary_cli_path": "todo +overdue", + "reviewed": true, + "risk": "low", + "title": "列出我已过期未完成的待办", + "use_when": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "给自己创建一条带截止/提醒时间的待办", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_remind", + "cli_name": "+remind", + "cli_path": "todo +remind", + "confirmation": "user_required", + "description": "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_remind", + "primary_cli_path": "todo +remind", + "reviewed": true, + "risk": "medium", + "title": "给自己创建一条带截止/提醒时间的待办", + "use_when": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ] + }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_todo_done", + "cli_name": "+todo-done", + "cli_path": "todo +todo-done", + "confirmation": "user_required", + "description": "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。", + "effect": "write", + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_todo_done", + "primary_cli_path": "todo +todo-done", + "reviewed": true, + "risk": "medium", + "title": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "use_when": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "把一个或多个现有标签添加到指定待办", @@ -19760,7 +25270,7 @@ "id": "wiki", "name": "知识库 / 空间管理 / 节点管理 / 成员管理", "runtime": true, - "tool_count": 15, + "tool_count": 16, "tools": [ { "agent_metadata_source": "embedded-skill-metadata", @@ -20204,6 +25714,32 @@ "按关键词搜索有权访问的组织知识库时" ] }, + { + "agent_metadata_source": "embedded-skill-metadata", + "agent_summary": "搜索知识库", + "agent_summary_source": "dws-agent-selection/wiki", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "wiki.shortcut_space_search", + "cli_name": "+space-search", + "cli_path": "wiki +space-search", + "confirmation": "not_required", + "description": "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。", + "effect": "read", + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "name": "shortcut_space_search", + "primary_cli_path": "wiki +space-search", + "reviewed": true, + "risk": "low", + "title": "搜索知识库", + "use_when": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ] + }, { "agent_metadata_source": "embedded-skill-metadata", "agent_summary": "更新指定知识库已有成员的角色", @@ -20242,7 +25778,7 @@ } ], "source": "embedded-command-catalog", - "tool_count": 603 + "tool_count": 813 }, "tools": { "aisearch.enterprise_person_search": { @@ -75591,6 +81127,16125 @@ "需要改同级文件夹展示顺序时" ] }, + "aitable.shortcut_base_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +base-get", + "cobra-help:dws aitable +base-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_base_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取指定 Base 的目录信息(tables / dashboards summary)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_base_get", + "cli_name": "+base-get", + "cli_path": "aitable +base-get", + "confirmation": "not_required", + "description": "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +base-get --base-id BASE_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取指定 Base 的目录信息(tables / dashboards summary)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取指定 Base 的目录信息(tables / dashboards summary)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +base-get", + "value": "aitable.shortcut_base_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +base-get", + "value": "aitable.shortcut_base_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +base-get --base-id BASE_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +base-get --base-id BASE_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取指定 Base 的目录信息(tables / dashboards summary)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取指定 Base 的目录信息(tables / dashboards summary)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_base_get", + "parameter_count": 1, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_base_get", + "primary_cli_path": "aitable +base-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取指定 Base 的目录信息(tables / dashboards summary)", + "use_when": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ] + }, + "aitable.shortcut_base_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +base-list", + "cobra-help:dws aitable +base-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_base_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_base_list", + "cli_name": "+base-list", + "cli_path": "aitable +base-list", + "confirmation": "not_required", + "description": "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +base-list", + "value": "aitable.shortcut_base_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +base-list", + "value": "aitable.shortcut_base_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_base_list", + "parameter_count": 2, + "parameters": { + "cursor": { + "description": "分页游标,首次不传", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,首次不传" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,首次不传" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页数量,默认 10,最大 10", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量,默认 10,最大 10" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量,默认 10,最大 10" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "aitable.shortcut_base_list", + "primary_cli_path": "aitable +base-list", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "use_when": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ] + }, + "aitable.shortcut_base_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +base-search", + "cobra-help:dws aitable +base-search", + "internal/cli/schema_command_registry.json#aitable.shortcut_base_search", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "按名称关键词搜索 AI 表格 Base", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_base_search", + "cli_name": "+base-search", + "cli_path": "aitable +base-search", + "confirmation": "not_required", + "description": "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +base-search --query \"项目管理\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按名称关键词搜索 AI 表格 Base" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按名称关键词搜索 AI 表格 Base" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +base-search", + "value": "aitable.shortcut_base_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +base-search", + "value": "aitable.shortcut_base_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +base-search --query \"项目管理\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +base-search --query \"项目管理\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称关键词搜索 AI 表格 Base" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称关键词搜索 AI 表格 Base" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_base_search", + "parameter_count": 2, + "parameters": { + "cursor": { + "description": "分页游标,首次不传", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,首次不传" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,首次不传" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "query": { + "description": "Base 名称关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base 名称关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base 名称关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_base_search", + "primary_cli_path": "aitable +base-search", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称关键词搜索 AI 表格 Base", + "use_when": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ] + }, + "aitable.shortcut_chart_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +chart-get", + "cobra-help:dws aitable +chart-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_chart_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取指定 chart 的详细信息", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_chart_get", + "cli_name": "+chart-get", + "cli_path": "aitable +chart-get", + "confirmation": "not_required", + "description": "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取指定 chart 的详细信息" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取指定 chart 的详细信息" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +chart-get", + "value": "aitable.shortcut_chart_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +chart-get", + "value": "aitable.shortcut_chart_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取指定 chart 的详细信息" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取指定 chart 的详细信息" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chart_get", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "chart-id": { + "description": "Chart ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Chart ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Chart ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "chartId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "chartId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "chartId", + "required": true, + "type": "string" + }, + "dashboard-id": { + "description": "Dashboard ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Dashboard ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Dashboard ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "dashboardId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "dashboardId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "dashboardId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_chart_get", + "primary_cli_path": "aitable +chart-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取指定 chart 的详细信息", + "use_when": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ] + }, + "aitable.shortcut_chart_widgets_example": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +chart-widgets-example", + "cobra-help:dws aitable +chart-widgets-example", + "internal/cli/schema_command_registry.json#aitable.shortcut_chart_widgets_example", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取所有图表类型的 widget config 示例", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_chart_widgets_example", + "cli_name": "+chart-widgets-example", + "cli_path": "aitable +chart-widgets-example", + "confirmation": "not_required", + "description": "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +chart-widgets-example" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取所有图表类型的 widget config 示例" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取所有图表类型的 widget config 示例" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +chart-widgets-example", + "value": "aitable.shortcut_chart_widgets_example" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +chart-widgets-example", + "value": "aitable.shortcut_chart_widgets_example" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +chart-widgets-example" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +chart-widgets-example" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取所有图表类型的 widget config 示例" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取所有图表类型的 widget config 示例" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chart_widgets_example", + "parameter_count": 0, + "parameters": {}, + "path": "aitable.shortcut_chart_widgets_example", + "primary_cli_path": "aitable +chart-widgets-example", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取所有图表类型的 widget config 示例", + "use_when": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ] + }, + "aitable.shortcut_dashboard_config_example": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +dashboard-config-example", + "cobra-help:dws aitable +dashboard-config-example", + "internal/cli/schema_command_registry.json#aitable.shortcut_dashboard_config_example", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取 dashboard config 的结构示例", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_dashboard_config_example", + "cli_name": "+dashboard-config-example", + "cli_path": "aitable +dashboard-config-example", + "confirmation": "not_required", + "description": "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +dashboard-config-example" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取 dashboard config 的结构示例" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取 dashboard config 的结构示例" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +dashboard-config-example", + "value": "aitable.shortcut_dashboard_config_example" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +dashboard-config-example", + "value": "aitable.shortcut_dashboard_config_example" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +dashboard-config-example" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +dashboard-config-example" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取 dashboard config 的结构示例" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取 dashboard config 的结构示例" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_dashboard_config_example", + "parameter_count": 0, + "parameters": {}, + "path": "aitable.shortcut_dashboard_config_example", + "primary_cli_path": "aitable +dashboard-config-example", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取 dashboard config 的结构示例", + "use_when": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ] + }, + "aitable.shortcut_dashboard_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +dashboard-get", + "cobra-help:dws aitable +dashboard-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_dashboard_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取指定 dashboard 的详细信息(含 charts summary)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_dashboard_get", + "cli_name": "+dashboard-get", + "cli_path": "aitable +dashboard-get", + "confirmation": "not_required", + "description": "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取指定 dashboard 的详细信息(含 charts summary)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取指定 dashboard 的详细信息(含 charts summary)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +dashboard-get", + "value": "aitable.shortcut_dashboard_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +dashboard-get", + "value": "aitable.shortcut_dashboard_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取指定 dashboard 的详细信息(含 charts summary)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取指定 dashboard 的详细信息(含 charts summary)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_dashboard_get", + "parameter_count": 2, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "dashboard-id": { + "description": "Dashboard ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Dashboard ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Dashboard ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "dashboardId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "dashboardId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "dashboardId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_dashboard_get", + "primary_cli_path": "aitable +dashboard-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取指定 dashboard 的详细信息(含 charts summary)", + "use_when": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ] + }, + "aitable.shortcut_field_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +field-get", + "cobra-help:dws aitable +field-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_field_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "批量获取字段详情(含类型相关完整配置)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_field_get", + "cli_name": "+field-get", + "cli_path": "aitable +field-get", + "confirmation": "not_required", + "description": "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +field-get --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "批量获取字段详情(含类型相关完整配置)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "批量获取字段详情(含类型相关完整配置)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +field-get", + "value": "aitable.shortcut_field_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +field-get", + "value": "aitable.shortcut_field_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +field-get --base-id B --table-id T" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +field-get --base-id B --table-id T" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "批量获取字段详情(含类型相关完整配置)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "批量获取字段详情(含类型相关完整配置)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_field_get", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "field-ids": { + "description": "字段 ID 列表,逗号分隔,单次最多 10 个(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "字段 ID 列表,逗号分隔,单次最多 10 个(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "字段 ID 列表,逗号分隔,单次最多 10 个(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "fieldIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "fieldIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "fieldIds", + "required": false, + "type": "array" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_field_get", + "primary_cli_path": "aitable +field-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "批量获取字段详情(含类型相关完整配置)", + "use_when": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ] + }, + "aitable.shortcut_find_record": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +find-record", + "cobra-help:dws aitable +find-record", + "internal/cli/schema_command_registry.json#aitable.shortcut_find_record", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "在指定多维表里按关键词查记录(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_find_record", + "cli_name": "+find-record", + "cli_path": "aitable +find-record", + "confirmation": "not_required", + "description": "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "在指定多维表里按关键词查记录(只读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "在指定多维表里按关键词查记录(只读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +find-record", + "value": "aitable.shortcut_find_record" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +find-record", + "value": "aitable.shortcut_find_record" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "在指定多维表里按关键词查记录(只读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "在指定多维表里按关键词查记录(只读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_find_record", + "parameter_count": 3, + "parameters": { + "base": { + "description": "Base ID(多维表所属 base)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(多维表所属 base)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(多维表所属 base)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "base" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "base" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "base", + "required": true, + "type": "string" + }, + "query": { + "description": "全文关键词(可选,不填则取前若干条)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "全文关键词(可选,不填则取前若干条)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "全文关键词(可选,不填则取前若干条)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + }, + "table": { + "description": "Table ID(要检索的数据表)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(要检索的数据表)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(要检索的数据表)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "table" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "table" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "table", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_find_record", + "primary_cli_path": "aitable +find-record", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "在指定多维表里按关键词查记录(只读)", + "use_when": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ] + }, + "aitable.shortcut_form_field_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +form-field-list", + "cobra-help:dws aitable +form-field-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_form_field_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "列出表单视图当前可见的字段及其配置", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_form_field_list", + "cli_name": "+form-field-list", + "cli_path": "aitable +form-field-list", + "confirmation": "not_required", + "description": "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出表单视图当前可见的字段及其配置" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出表单视图当前可见的字段及其配置" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +form-field-list", + "value": "aitable.shortcut_form_field_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +form-field-list", + "value": "aitable.shortcut_form_field_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出表单视图当前可见的字段及其配置" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出表单视图当前可见的字段及其配置" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_form_field_list", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "表单 View ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "表单 View ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "表单 View ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_form_field_list", + "primary_cli_path": "aitable +form-field-list", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出表单视图当前可见的字段及其配置", + "use_when": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ] + }, + "aitable.shortcut_form_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +form-list", + "cobra-help:dws aitable +form-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_form_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "列出指定数据表下的所有表单视图", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_form_list", + "cli_name": "+form-list", + "cli_path": "aitable +form-list", + "confirmation": "not_required", + "description": "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +form-list --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定数据表下的所有表单视图" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定数据表下的所有表单视图" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +form-list", + "value": "aitable.shortcut_form_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +form-list", + "value": "aitable.shortcut_form_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +form-list --base-id B --table-id T" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +form-list --base-id B --table-id T" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定数据表下的所有表单视图" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定数据表下的所有表单视图" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_form_list", + "parameter_count": 2, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_form_list", + "primary_cli_path": "aitable +form-list", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定数据表下的所有表单视图", + "use_when": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ] + }, + "aitable.shortcut_form_share_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +form-share-get", + "cobra-help:dws aitable +form-share-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_form_share_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "读取视图当前的分享表单配置", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_form_share_get", + "cli_name": "+form-share-get", + "cli_path": "aitable +form-share-get", + "confirmation": "not_required", + "description": "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "读取视图当前的分享表单配置" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "读取视图当前的分享表单配置" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +form-share-get", + "value": "aitable.shortcut_form_share_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +form-share-get", + "value": "aitable.shortcut_form_share_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "读取视图当前的分享表单配置" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "读取视图当前的分享表单配置" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_form_share_get", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "View ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "View ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "View ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_form_share_get", + "primary_cli_path": "aitable +form-share-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "读取视图当前的分享表单配置", + "use_when": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ] + }, + "aitable.shortcut_list_tables": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +list-tables", + "cobra-help:dws aitable +list-tables", + "internal/cli/schema_command_registry.json#aitable.shortcut_list_tables", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_list_tables", + "cli_name": "+list-tables", + "cli_path": "aitable +list-tables", + "confirmation": "not_required", + "description": "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +list-tables --base B" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +list-tables", + "value": "aitable.shortcut_list_tables" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +list-tables", + "value": "aitable.shortcut_list_tables" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +list-tables --base B" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +list-tables --base B" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_tables", + "parameter_count": 1, + "parameters": { + "base": { + "description": "Base ID(要列出数据表的多维表)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(要列出数据表的多维表)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(要列出数据表的多维表)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "base" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "base" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "base", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_list_tables", + "primary_cli_path": "aitable +list-tables", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "use_when": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ] + }, + "aitable.shortcut_record_history_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +record-history-list", + "cobra-help:dws aitable +record-history-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_history_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "按 recordId 查询单条记录的变更历史", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_history_list", + "cli_name": "+record-history-list", + "cli_path": "aitable +record-history-list", + "confirmation": "not_required", + "description": "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按 recordId 查询单条记录的变更历史" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按 recordId 查询单条记录的变更历史" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +record-history-list", + "value": "aitable.shortcut_record_history_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +record-history-list", + "value": "aitable.shortcut_record_history_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按 recordId 查询单条记录的变更历史" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按 recordId 查询单条记录的变更历史" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_record_history_list", + "parameter_count": 5, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "limit": { + "description": "每页数量,默认 20,最大 50(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量,默认 20,最大 50(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量,默认 20,最大 50(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "offset": { + "description": "分页偏移量,默认 0(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页偏移量,默认 0(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页偏移量,默认 0(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "offset" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "offset" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "offset", + "required": false, + "type": "integer" + }, + "record-id": { + "description": "记录 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "记录 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "记录 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "recordId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "recordId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "recordId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_record_history_list", + "primary_cli_path": "aitable +record-history-list", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按 recordId 查询单条记录的变更历史", + "use_when": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ] + }, + "aitable.shortcut_record_query": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +record-query", + "cobra-help:dws aitable +record-query", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_query", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_query", + "cli_name": "+record-query", + "cli_path": "aitable +record-query", + "confirmation": "not_required", + "description": "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +record-query", + "value": "aitable.shortcut_record_query" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +record-query", + "value": "aitable.shortcut_record_query" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_record_query", + "parameter_count": 9, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "cursor": { + "description": "分页游标(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "field-ids": { + "description": "返回字段 ID 列表(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回字段 ID 列表(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回字段 ID 列表(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "fieldIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "fieldIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "fieldIds", + "required": false, + "type": "array" + }, + "filters": { + "description": "结构化过滤条件 JSON(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结构化过滤条件 JSON(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结构化过滤条件 JSON(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "filters" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "filters" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "filters", + "required": false, + "type": "string" + }, + "limit": { + "description": "单次最大记录数,默认 100(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单次最大记录数,默认 100(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单次最大记录数,默认 100(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "全文关键词(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "全文关键词(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "全文关键词(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + }, + "record-ids": { + "description": "记录 ID 列表,单次最多 100(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "记录 ID 列表,单次最多 100(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "记录 ID 列表,单次最多 100(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "recordIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "recordIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "recordIds", + "required": false, + "type": "array" + }, + "sort": { + "description": "排序条件 JSON 数组(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排序条件 JSON 数组(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排序条件 JSON 数组(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "sort" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "sort" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "sort", + "required": false, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_record_query", + "primary_cli_path": "aitable +record-query", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "use_when": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ] + }, + "aitable.shortcut_record_query_empty": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +record-query-empty", + "cobra-help:dws aitable +record-query-empty", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_query_empty", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "扫描并过滤出完全没填用户字段的空行", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_query_empty", + "cli_name": "+record-query-empty", + "cli_path": "aitable +record-query-empty", + "confirmation": "not_required", + "description": "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "扫描并过滤出完全没填用户字段的空行" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "扫描并过滤出完全没填用户字段的空行" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +record-query-empty", + "value": "aitable.shortcut_record_query_empty" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +record-query-empty", + "value": "aitable.shortcut_record_query_empty" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "扫描并过滤出完全没填用户字段的空行" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "扫描并过滤出完全没填用户字段的空行" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_record_query_empty", + "parameter_count": 4, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "cursor": { + "description": "分页游标(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "单次扫描预算,范围 [1,100](可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单次扫描预算,范围 [1,100](可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单次扫描预算,范围 [1,100](可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_record_query_empty", + "primary_cli_path": "aitable +record-query-empty", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "扫描并过滤出完全没填用户字段的空行", + "use_when": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ] + }, + "aitable.shortcut_record_share_links": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +record-share-links", + "cobra-help:dws aitable +record-share-links", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_share_links", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_share_links", + "cli_name": "+record-share-links", + "cli_path": "aitable +record-share-links", + "confirmation": "not_required", + "description": "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +record-share-links", + "value": "aitable.shortcut_record_share_links" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +record-share-links", + "value": "aitable.shortcut_record_share_links" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_record_share_links", + "parameter_count": 4, + "parameters": { + "base": { + "description": "Base ID(记录所属 base)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(记录所属 base)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(记录所属 base)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "base" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "base" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "base", + "required": true, + "type": "string" + }, + "record-ids": { + "description": "记录 ID 列表,可 \u003e20(自动去重+分片,必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "记录 ID 列表,可 \u003e20(自动去重+分片,必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "记录 ID 列表,可 \u003e20(自动去重+分片,必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "recordIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "recordIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "recordIds", + "required": true, + "type": "array" + }, + "table": { + "description": "Table ID(记录所属数据表)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(记录所属数据表)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(记录所属数据表)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "table" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "table" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "table", + "required": true, + "type": "string" + }, + "view-id": { + "description": "视图 ID:生成带视图上下文的链接(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "视图 ID:生成带视图上下文的链接(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "视图 ID:生成带视图上下文的链接(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": false, + "type": "string" + } + }, + "path": "aitable.shortcut_record_share_links", + "primary_cli_path": "aitable +record-share-links", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "批量(可 \u003e20 条)获取多维表记录分享链接:去重+分片+合并", + "use_when": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ] + }, + "aitable.shortcut_record_share_url": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +record-share-url", + "cobra-help:dws aitable +record-share-url", + "internal/cli/schema_command_registry.json#aitable.shortcut_record_share_url", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_record_share_url", + "cli_name": "+record-share-url", + "cli_path": "aitable +record-share-url", + "confirmation": "not_required", + "description": "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按 recordId 批量获取记录分享链接,单次最多 20 条" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按 recordId 批量获取记录分享链接,单次最多 20 条" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +record-share-url", + "value": "aitable.shortcut_record_share_url" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +record-share-url", + "value": "aitable.shortcut_record_share_url" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按 recordId 批量获取记录分享链接,单次最多 20 条" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按 recordId 批量获取记录分享链接,单次最多 20 条" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_record_share_url", + "parameter_count": 4, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "record-ids": { + "description": "记录 ID 列表,单次最多 20(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "记录 ID 列表,单次最多 20(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "记录 ID 列表,单次最多 20(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "recordIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "recordIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "recordIds", + "required": true, + "type": "array" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "视图 ID,生成带视图上下文的链接(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "视图 ID,生成带视图上下文的链接(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "视图 ID,生成带视图上下文的链接(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": false, + "type": "string" + } + }, + "path": "aitable.shortcut_record_share_url", + "primary_cli_path": "aitable +record-share-url", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "use_when": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ] + }, + "aitable.shortcut_resolve_base": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +resolve-base", + "cobra-help:dws aitable +resolve-base", + "internal/cli/schema_command_registry.json#aitable.shortcut_resolve_base", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_resolve_base", + "cli_name": "+resolve-base", + "cli_path": "aitable +resolve-base", + "confirmation": "not_required", + "description": "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +resolve-base --name 项目管理" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +resolve-base", + "value": "aitable.shortcut_resolve_base" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +resolve-base", + "value": "aitable.shortcut_resolve_base" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +resolve-base --name 项目管理" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +resolve-base --name 项目管理" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_resolve_base", + "parameter_count": 1, + "parameters": { + "name": { + "description": "要搜索的 Base 名称关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要搜索的 Base 名称关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要搜索的 Base 名称关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_resolve_base", + "primary_cli_path": "aitable +resolve-base", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "use_when": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ] + }, + "aitable.shortcut_resolve_table": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +resolve-table", + "cobra-help:dws aitable +resolve-table", + "internal/cli/schema_command_registry.json#aitable.shortcut_resolve_table", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_resolve_table", + "cli_name": "+resolve-table", + "cli_path": "aitable +resolve-table", + "confirmation": "not_required", + "description": "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +resolve-table --base B --name 任务" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +resolve-table", + "value": "aitable.shortcut_resolve_table" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +resolve-table", + "value": "aitable.shortcut_resolve_table" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +resolve-table --base B --name 任务" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +resolve-table --base B --name 任务" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_resolve_table", + "parameter_count": 2, + "parameters": { + "base": { + "description": "Base ID(要在其内解析数据表的多维表)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(要在其内解析数据表的多维表)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(要在其内解析数据表的多维表)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "base" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "base" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "base", + "required": true, + "type": "string" + }, + "name": { + "description": "要匹配的数据表名称关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要匹配的数据表名称关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要匹配的数据表名称关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_resolve_table", + "primary_cli_path": "aitable +resolve-table", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "use_when": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ] + }, + "aitable.shortcut_role_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +role-list", + "cobra-help:dws aitable +role-list", + "internal/cli/schema_command_registry.json#aitable.shortcut_role_list", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "列出指定 Base 下的全部角色", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_role_list", + "cli_name": "+role-list", + "cli_path": "aitable +role-list", + "confirmation": "not_required", + "description": "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +role-list --base-id B" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定 Base 下的全部角色" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定 Base 下的全部角色" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +role-list", + "value": "aitable.shortcut_role_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +role-list", + "value": "aitable.shortcut_role_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +role-list --base-id B" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +role-list --base-id B" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定 Base 下的全部角色" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定 Base 下的全部角色" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_role_list", + "parameter_count": 1, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_role_list", + "primary_cli_path": "aitable +role-list", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定 Base 下的全部角色", + "use_when": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ] + }, + "aitable.shortcut_section_list_empty": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +section-list-empty", + "cobra-help:dws aitable +section-list-empty", + "internal/cli/schema_command_registry.json#aitable.shortcut_section_list_empty", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "列出指定 Base 下所有没有子节点的空文件夹", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_section_list_empty", + "cli_name": "+section-list-empty", + "cli_path": "aitable +section-list-empty", + "confirmation": "not_required", + "description": "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +section-list-empty --base-id B" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定 Base 下所有没有子节点的空文件夹" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定 Base 下所有没有子节点的空文件夹" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +section-list-empty", + "value": "aitable.shortcut_section_list_empty" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +section-list-empty", + "value": "aitable.shortcut_section_list_empty" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +section-list-empty --base-id B" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +section-list-empty --base-id B" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定 Base 下所有没有子节点的空文件夹" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定 Base 下所有没有子节点的空文件夹" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_section_list_empty", + "parameter_count": 1, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_section_list_empty", + "primary_cli_path": "aitable +section-list-empty", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定 Base 下所有没有子节点的空文件夹", + "use_when": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ] + }, + "aitable.shortcut_section_list_nodes": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +section-list-nodes", + "cobra-help:dws aitable +section-list-nodes", + "internal/cli/schema_command_registry.json#aitable.shortcut_section_list_nodes", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "列出指定 Base 当前版本下的全部 nsheet 节点", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_section_list_nodes", + "cli_name": "+section-list-nodes", + "cli_path": "aitable +section-list-nodes", + "confirmation": "not_required", + "description": "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +section-list-nodes --base-id B" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定 Base 当前版本下的全部 nsheet 节点" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "列出指定 Base 当前版本下的全部 nsheet 节点" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +section-list-nodes", + "value": "aitable.shortcut_section_list_nodes" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +section-list-nodes", + "value": "aitable.shortcut_section_list_nodes" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +section-list-nodes --base-id B" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +section-list-nodes --base-id B" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定 Base 当前版本下的全部 nsheet 节点" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定 Base 当前版本下的全部 nsheet 节点" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_section_list_nodes", + "parameter_count": 1, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_section_list_nodes", + "primary_cli_path": "aitable +section-list-nodes", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定 Base 当前版本下的全部 nsheet 节点", + "use_when": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ] + }, + "aitable.shortcut_table_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +table-get", + "cobra-help:dws aitable +table-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_table_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "批量获取指定数据表的表级信息、字段目录与视图目录", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_table_get", + "cli_name": "+table-get", + "cli_path": "aitable +table-get", + "confirmation": "not_required", + "description": "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "批量获取指定数据表的表级信息、字段目录与视图目录" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "批量获取指定数据表的表级信息、字段目录与视图目录" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +table-get", + "value": "aitable.shortcut_table_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +table-get", + "value": "aitable.shortcut_table_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "批量获取指定数据表的表级信息、字段目录与视图目录" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "批量获取指定数据表的表级信息、字段目录与视图目录" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_table_get", + "parameter_count": 2, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-ids": { + "description": "Table ID 列表,逗号分隔,单次最多 10 个(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID 列表,逗号分隔,单次最多 10 个(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID 列表,逗号分隔,单次最多 10 个(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "tableIds", + "required": false, + "type": "array" + } + }, + "path": "aitable.shortcut_table_get", + "primary_cli_path": "aitable +table-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "批量获取指定数据表的表级信息、字段目录与视图目录", + "use_when": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ] + }, + "aitable.shortcut_template_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +template-search", + "cobra-help:dws aitable +template-search", + "internal/cli/schema_command_registry.json#aitable.shortcut_template_search", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "按名称关键词搜索 AI 表格模板", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_template_search", + "cli_name": "+template-search", + "cli_path": "aitable +template-search", + "confirmation": "not_required", + "description": "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +template-search --query \"项目管理\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按名称关键词搜索 AI 表格模板" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "按名称关键词搜索 AI 表格模板" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +template-search", + "value": "aitable.shortcut_template_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +template-search", + "value": "aitable.shortcut_template_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +template-search --query \"项目管理\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +template-search --query \"项目管理\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称关键词搜索 AI 表格模板" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称关键词搜索 AI 表格模板" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_template_search", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页数量,默认 10,最大 30(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量,默认 10,最大 30(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量,默认 10,最大 30(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "模板名称关键词(可选,不传返回热门)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "模板名称关键词(可选,不传返回热门)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "模板名称关键词(可选,不传返回热门)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "aitable.shortcut_template_search", + "primary_cli_path": "aitable +template-search", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称关键词搜索 AI 表格模板", + "use_when": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ] + }, + "aitable.shortcut_view_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +view-get", + "cobra-help:dws aitable +view-get", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get", + "cli_name": "+view-get", + "cli_path": "aitable +view-get", + "confirmation": "not_required", + "description": "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get --base-id B --table-id T" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图完整信息(列顺序、筛选、排序、分组等)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图完整信息(列顺序、筛选、排序、分组等)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get", + "value": "aitable.shortcut_view_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get", + "value": "aitable.shortcut_view_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get --base-id B --table-id T" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get --base-id B --table-id T" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取视图完整信息(列顺序、筛选、排序、分组等)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取视图完整信息(列顺序、筛选、排序、分组等)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_view_get", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-ids": { + "description": "View ID 列表,单次最多 10 个(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "View ID 列表,单次最多 10 个(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "View ID 列表,单次最多 10 个(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "viewIds", + "required": false, + "type": "array" + } + }, + "path": "aitable.shortcut_view_get", + "primary_cli_path": "aitable +view-get", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "use_when": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ] + }, + "aitable.shortcut_view_get_frozen_cols": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +view-get-frozen-cols", + "cobra-help:dws aitable +view-get-frozen-cols", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_frozen_cols", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取视图当前冻结的左侧列数", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get_frozen_cols", + "cli_name": "+view-get-frozen-cols", + "cli_path": "aitable +view-get-frozen-cols", + "confirmation": "not_required", + "description": "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图当前冻结的左侧列数" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图当前冻结的左侧列数" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get-frozen-cols", + "value": "aitable.shortcut_view_get_frozen_cols" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get-frozen-cols", + "value": "aitable.shortcut_view_get_frozen_cols" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取视图当前冻结的左侧列数" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取视图当前冻结的左侧列数" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_view_get_frozen_cols", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "View ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "View ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "View ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_view_get_frozen_cols", + "primary_cli_path": "aitable +view-get-frozen-cols", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取视图当前冻结的左侧列数", + "use_when": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ] + }, + "aitable.shortcut_view_get_lock": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +view-get-lock", + "cobra-help:dws aitable +view-get-lock", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_lock", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取视图锁定状态", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get_lock", + "cli_name": "+view-get-lock", + "cli_path": "aitable +view-get-lock", + "confirmation": "not_required", + "description": "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图锁定状态" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图锁定状态" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get-lock", + "value": "aitable.shortcut_view_get_lock" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get-lock", + "value": "aitable.shortcut_view_get_lock" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取视图锁定状态" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取视图锁定状态" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_view_get_lock", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "View ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "View ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "View ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_view_get_lock", + "primary_cli_path": "aitable +view-get-lock", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取视图锁定状态", + "use_when": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ] + }, + "aitable.shortcut_view_get_row_height": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:aitable +view-get-row-height", + "cobra-help:dws aitable +view-get-row-height", + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_row_height", + "internal/cli/schema_hints/metadata/aitable.json", + "internal/cli/schema_hints/selection/aitable.json" + ], + "agent_summary": "获取视图单元格行高(像素)", + "agent_summary_source": "dws-agent-selection/aitable", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "aitable.shortcut_view_get_row_height", + "cli_name": "+view-get-row-height", + "cli_path": "aitable +view-get-row-height", + "confirmation": "not_required", + "description": "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。", + "display": "AI 表格操作", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图单元格行高(像素)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": "获取视图单元格行高(像素)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get-row-height", + "value": "aitable.shortcut_view_get_row_height" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "aitable +view-get-row-height", + "value": "aitable.shortcut_view_get_row_height" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/aitable.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取视图单元格行高(像素)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取视图单元格行高(像素)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/aitable.json", + "value": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_view_get_row_height", + "parameter_count": 3, + "parameters": { + "base-id": { + "description": "Base ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Base ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "baseId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "baseId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "baseId", + "required": true, + "type": "string" + }, + "table-id": { + "description": "Table ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Table ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "tableId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "tableId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "tableId", + "required": true, + "type": "string" + }, + "view-id": { + "description": "View ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "View ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "View ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "viewId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "viewId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "viewId", + "required": true, + "type": "string" + } + }, + "path": "aitable.shortcut_view_get_row_height", + "primary_cli_path": "aitable +view-get-row-height", + "product_id": "aitable", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取视图单元格行高(像素)", + "use_when": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ] + }, "aitable.table_create": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -133103,6 +154758,11020 @@ "需要修改员工个人打卡提醒、极速打卡或结果通知设置,且 scene 与变更值已确认时" ] }, + "attendance.shortcut_check_record": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +check-record", + "cobra-help:dws attendance +check-record", + "internal/cli/schema_command_registry.json#attendance.shortcut_check_record", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询用户打卡流水(打卡时间/地点/定位方式)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_check_record", + "cli_name": "+check-record", + "cli_path": "attendance +check-record", + "confirmation": "not_required", + "description": "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询用户打卡流水(打卡时间/地点/定位方式)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询用户打卡流水(打卡时间/地点/定位方式)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +check-record", + "value": "attendance.shortcut_check_record" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +check-record", + "value": "attendance.shortcut_check_record" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询用户打卡流水(打卡时间/地点/定位方式)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询用户打卡流水(打卡时间/地点/定位方式)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_check_record", + "parameter_count": 3, + "parameters": { + "end": { + "description": "结束日期 YYYY-MM-DD,跨度不超过 1 个月(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD,跨度不超过 1 个月(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD,跨度不超过 1 个月(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "起始日期 YYYY-MM-DD(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "起始日期 YYYY-MM-DD(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "起始日期 YYYY-MM-DD(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 userId 列表,逗号分隔(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + } + }, + "path": "attendance.shortcut_check_record", + "primary_cli_path": "attendance +check-record", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询用户打卡流水(打卡时间/地点/定位方式)", + "use_when": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ] + }, + "attendance.shortcut_check_result": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +check-result", + "cobra-help:dws attendance +check-result", + "internal/cli/schema_command_registry.json#attendance.shortcut_check_result", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询用户打卡结果(迟到/早退/缺卡等)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_check_result", + "cli_name": "+check-result", + "cli_path": "attendance +check-result", + "confirmation": "not_required", + "description": "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。", + "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" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询用户打卡结果(迟到/早退/缺卡等)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询用户打卡结果(迟到/早退/缺卡等)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +check-result", + "value": "attendance.shortcut_check_result" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +check-result", + "value": "attendance.shortcut_check_result" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +check-result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +check-result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询用户打卡结果(迟到/早退/缺卡等)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询用户打卡结果(迟到/早退/缺卡等)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_check_result", + "parameter_count": 5, + "parameters": { + "end": { + "description": "结束日期 YYYY-MM-DD,跨度不超过 1 个月(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD,跨度不超过 1 个月(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD,跨度不超过 1 个月(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "limit": { + "default": "100", + "description": "分页大小,1-1000,默认 100", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页大小,1-1000,默认 100" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页大小,1-1000,默认 100" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "offset": { + "description": "分页偏移量,默认 0", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页偏移量,默认 0" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页偏移量,默认 0" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "offset" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "offset" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "offset", + "required": false, + "type": "integer" + }, + "start": { + "description": "起始日期 YYYY-MM-DD(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "起始日期 YYYY-MM-DD(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "起始日期 YYYY-MM-DD(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 userId 列表,逗号分隔,最多 100 人(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔,最多 100 人(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔,最多 100 人(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + } + }, + "path": "attendance.shortcut_check_result", + "primary_cli_path": "attendance +check-result", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询用户打卡结果(迟到/早退/缺卡等)", + "use_when": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ] + }, + "attendance.shortcut_get_adjustment_rule": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-adjustment-rule", + "cobra-help:dws attendance +get-adjustment-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_adjustment_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "根据补卡规则主键 ID 查询补卡规则详情", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_adjustment_rule", + "cli_name": "+get-adjustment-rule", + "cli_path": "attendance +get-adjustment-rule", + "confirmation": "not_required", + "description": "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "根据补卡规则主键 ID 查询补卡规则详情" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "根据补卡规则主键 ID 查询补卡规则详情" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-adjustment-rule", + "value": "attendance.shortcut_get_adjustment_rule" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-adjustment-rule", + "value": "attendance.shortcut_get_adjustment_rule" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "根据补卡规则主键 ID 查询补卡规则详情" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "根据补卡规则主键 ID 查询补卡规则详情" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_adjustment_rule", + "parameter_count": 1, + "parameters": { + "adjustment-id": { + "description": "补卡规则主键 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "补卡规则主键 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "补卡规则主键 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "adjustmentId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "adjustmentId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "adjustmentId", + "required": true, + "type": "integer" + } + }, + "path": "attendance.shortcut_get_adjustment_rule", + "primary_cli_path": "attendance +get-adjustment-rule", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "根据补卡规则主键 ID 查询补卡规则详情", + "use_when": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ] + }, + "attendance.shortcut_get_approve_template": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-approve-template", + "cobra-help:dws attendance +get-approve-template", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_approve_template", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询补卡/请假/加班/外出/出差审批提交链接", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_approve_template", + "cli_name": "+get-approve-template", + "cli_path": "attendance +get-approve-template", + "confirmation": "not_required", + "description": "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-approve-template --type leave" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询补卡/请假/加班/外出/出差审批提交链接" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询补卡/请假/加班/外出/出差审批提交链接" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-approve-template", + "value": "attendance.shortcut_get_approve_template" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-approve-template", + "value": "attendance.shortcut_get_approve_template" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-approve-template --type leave" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-approve-template --type leave" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询补卡/请假/加班/外出/出差审批提交链接" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询补卡/请假/加班/外出/出差审批提交链接" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_approve_template", + "parameter_count": 1, + "parameters": { + "type": { + "description": "审批类型:repair-check/补卡、leave/请假、overtime/加班、travel/外出、out/出差(或 REPAIR_CHECK/LEAVE/OVERTIME/TRAVEL/OUT)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "审批类型:repair-check/补卡、leave/请假、overtime/加班、travel/外出、out/出差(或 REPAIR_CHECK/LEAVE/OVERTIME/TRAVEL/OUT)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "审批类型:repair-check/补卡、leave/请假、overtime/加班、travel/外出、out/出差(或 REPAIR_CHECK/LEAVE/OVERTIME/TRAVEL/OUT)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "type" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "type" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "type", + "required": true, + "type": "string" + } + }, + "path": "attendance.shortcut_get_approve_template", + "primary_cli_path": "attendance +get-approve-template", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询补卡/请假/加班/外出/出差审批提交链接", + "use_when": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ] + }, + "attendance.shortcut_get_checkin_record": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-checkin-record", + "cobra-help:dws attendance +get-checkin-record", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_checkin_record", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询指定员工一段时间内的签到记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_checkin_record", + "cli_name": "+get-checkin-record", + "cli_path": "attendance +get-checkin-record", + "confirmation": "not_required", + "description": "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询指定员工一段时间内的签到记录" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询指定员工一段时间内的签到记录" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-checkin-record", + "value": "attendance.shortcut_get_checkin_record" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-checkin-record", + "value": "attendance.shortcut_get_checkin_record" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询指定员工一段时间内的签到记录" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询指定员工一段时间内的签到记录" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_checkin_record", + "parameter_count": 5, + "parameters": { + "end": { + "description": "结束时间 yyyy-MM-dd HH:mm:ss,跨度最多 7 天(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间 yyyy-MM-dd HH:mm:ss,跨度最多 7 天(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间 yyyy-MM-dd HH:mm:ss,跨度最多 7 天(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "operator-corp-id": { + "description": "操作者企业 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "操作者企业 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "操作者企业 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "operatorCorpId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "operatorCorpId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "operatorCorpId", + "required": true, + "type": "string" + }, + "operator-staff-id": { + "description": "操作者员工 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "操作者员工 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "操作者员工 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "operatorStaffId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "operatorStaffId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "operatorStaffId", + "required": true, + "type": "string" + }, + "staff-ids": { + "description": "目标员工 ID 列表,逗号分隔,最多 100 人(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标员工 ID 列表,逗号分隔,最多 100 人(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标员工 ID 列表,逗号分隔,最多 100 人(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "staffIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "staffIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "staffIds", + "required": true, + "type": "array" + }, + "start": { + "description": "开始时间 yyyy-MM-dd HH:mm:ss(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间 yyyy-MM-dd HH:mm:ss(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间 yyyy-MM-dd HH:mm:ss(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + } + }, + "path": "attendance.shortcut_get_checkin_record", + "primary_cli_path": "attendance +get-checkin-record", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询指定员工一段时间内的签到记录", + "use_when": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ] + }, + "attendance.shortcut_get_leave_records": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-leave-records", + "cobra-help:dws attendance +get-leave-records", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_leave_records", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询指定员工的假期余额变更记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_leave_records", + "cli_name": "+get-leave-records", + "cli_path": "attendance +get-leave-records", + "confirmation": "not_required", + "description": "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询指定员工的假期余额变更记录" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询指定员工的假期余额变更记录" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-leave-records", + "value": "attendance.shortcut_get_leave_records" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-leave-records", + "value": "attendance.shortcut_get_leave_records" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询指定员工的假期余额变更记录" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询指定员工的假期余额变更记录" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_leave_records", + "parameter_count": 4, + "parameters": { + "end": { + "description": "查询结束日期 YYYY-MM-DD(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "查询结束日期 YYYY-MM-DD(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "查询结束日期 YYYY-MM-DD(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "leave-code": { + "description": "假期规则 code(不传则查询所有假期)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "假期规则 code(不传则查询所有假期)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "假期规则 code(不传则查询所有假期)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "leaveCode" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "leaveCode" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "leaveCode", + "required": false, + "type": "string" + }, + "start": { + "description": "查询开始日期 YYYY-MM-DD(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "查询开始日期 YYYY-MM-DD(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "查询开始日期 YYYY-MM-DD(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "user": { + "description": "目标员工 userId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标员工 userId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标员工 userId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "user" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "user" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "attendance.shortcut_get_leave_records", + "primary_cli_path": "attendance +get-leave-records", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询指定员工的假期余额变更记录", + "use_when": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ] + }, + "attendance.shortcut_get_overtime_rule": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-overtime-rule", + "cobra-help:dws attendance +get-overtime-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_overtime_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "根据加班规则主键 ID 查询加班规则详情", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_overtime_rule", + "cli_name": "+get-overtime-rule", + "cli_path": "attendance +get-overtime-rule", + "confirmation": "not_required", + "description": "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "根据加班规则主键 ID 查询加班规则详情" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "根据加班规则主键 ID 查询加班规则详情" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-overtime-rule", + "value": "attendance.shortcut_get_overtime_rule" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-overtime-rule", + "value": "attendance.shortcut_get_overtime_rule" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "根据加班规则主键 ID 查询加班规则详情" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "根据加班规则主键 ID 查询加班规则详情" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_overtime_rule", + "parameter_count": 1, + "parameters": { + "overtime-id": { + "description": "加班规则主键 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "加班规则主键 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "加班规则主键 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "overtimeId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "overtimeId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "overtimeId", + "required": true, + "type": "integer" + } + }, + "path": "attendance.shortcut_get_overtime_rule", + "primary_cli_path": "attendance +get-overtime-rule", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "根据加班规则主键 ID 查询加班规则详情", + "use_when": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ] + }, + "attendance.shortcut_get_schedule": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-schedule", + "cobra-help:dws attendance +get-schedule", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_schedule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "获取指定用户一段时间内的排班记录", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_schedule", + "cli_name": "+get-schedule", + "cli_path": "attendance +get-schedule", + "confirmation": "not_required", + "description": "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "获取指定用户一段时间内的排班记录" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "获取指定用户一段时间内的排班记录" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-schedule", + "value": "attendance.shortcut_get_schedule" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-schedule", + "value": "attendance.shortcut_get_schedule" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取指定用户一段时间内的排班记录" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取指定用户一段时间内的排班记录" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_schedule", + "parameter_count": 3, + "parameters": { + "end": { + "description": "结束日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "开始日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 userId 列表,逗号分隔(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + } + }, + "path": "attendance.shortcut_get_schedule", + "primary_cli_path": "attendance +get-schedule", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取指定用户一段时间内的排班记录", + "use_when": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ] + }, + "attendance.shortcut_get_self_setting": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-self-setting", + "cobra-help:dws attendance +get-self-setting", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_self_setting", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_self_setting", + "cli_name": "+get-self-setting", + "cli_path": "attendance +get-self-setting", + "confirmation": "not_required", + "description": "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-self-setting", + "value": "attendance.shortcut_get_self_setting" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-self-setting", + "value": "attendance.shortcut_get_self_setting" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_self_setting", + "parameter_count": 2, + "parameters": { + "setting-scene": { + "description": "查询设置项场景(必填;可选值: checkRemind, fastCheck, checkResultNotify, lackRemind, personalAttendStatNotify, bossAttendStatNotify)", + "enum": [ + "checkRemind", + "fastCheck", + "checkResultNotify", + "lackRemind", + "personalAttendStatNotify", + "bossAttendStatNotify" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "查询设置项场景(必填;可选值: checkRemind, fastCheck, checkResultNotify, lackRemind, personalAttendStatNotify, bossAttendStatNotify)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "查询设置项场景(必填;可选值: checkRemind, fastCheck, checkResultNotify, lackRemind, personalAttendStatNotify, bossAttendStatNotify)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "checkRemind", + "fastCheck", + "checkResultNotify", + "lackRemind", + "personalAttendStatNotify", + "bossAttendStatNotify" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "checkRemind", + "fastCheck", + "checkResultNotify", + "lackRemind", + "personalAttendStatNotify", + "bossAttendStatNotify" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "settingScene" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "settingScene" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "settingScene", + "required": true, + "type": "string" + }, + "user": { + "description": "查询用户 userId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "查询用户 userId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "查询用户 userId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "user" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "user" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "attendance.shortcut_get_self_setting", + "primary_cli_path": "attendance +get-self-setting", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "use_when": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ] + }, + "attendance.shortcut_get_summary": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +get-summary", + "cobra-help:dws attendance +get-summary", + "internal/cli/schema_command_registry.json#attendance.shortcut_get_summary", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询某个人的考勤统计摘要(周/月)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_get_summary", + "cli_name": "+get-summary", + "cli_path": "attendance +get-summary", + "confirmation": "not_required", + "description": "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询某个人的考勤统计摘要(周/月)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询某个人的考勤统计摘要(周/月)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +get-summary", + "value": "attendance.shortcut_get_summary" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +get-summary", + "value": "attendance.shortcut_get_summary" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询某个人的考勤统计摘要(周/月)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询某个人的考勤统计摘要(周/月)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_summary", + "parameter_count": 3, + "parameters": { + "date": { + "description": "查询日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "查询日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "查询日期 YYYY-MM-DD 或 yyyy-MM-dd HH:mm:ss(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "date" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "date" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "date", + "required": true, + "type": "string" + }, + "stats-type": { + "description": "统计类型:week 周统计 / month 月统计(必填;可选值: week, month)", + "enum": [ + "week", + "month" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "统计类型:week 周统计 / month 月统计(必填;可选值: week, month)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "统计类型:week 周统计 / month 月统计(必填;可选值: week, month)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "week", + "month" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "week", + "month" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "statsType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "statsType" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "statsType", + "required": true, + "type": "string" + }, + "user": { + "description": "钉钉用户 userId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "钉钉用户 userId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "钉钉用户 userId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "user" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "user" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "attendance.shortcut_get_summary", + "primary_cli_path": "attendance +get-summary", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询某个人的考勤统计摘要(周/月)", + "use_when": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ] + }, + "attendance.shortcut_list_approve": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +list-approve", + "cobra-help:dws attendance +list-approve", + "internal/cli/schema_command_registry.json#attendance.shortcut_list_approve", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_list_approve", + "cli_name": "+list-approve", + "cli_path": "attendance +list-approve", + "confirmation": "not_required", + "description": "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询用户考勤审批单(补卡/加班/请假/出差外出)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询用户考勤审批单(补卡/加班/请假/出差外出)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +list-approve", + "value": "attendance.shortcut_list_approve" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +list-approve", + "value": "attendance.shortcut_list_approve" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询用户考勤审批单(补卡/加班/请假/出差外出)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询用户考勤审批单(补卡/加班/请假/出差外出)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_approve", + "parameter_count": 4, + "parameters": { + "end": { + "description": "结束日期 YYYY-MM-DD(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束日期 YYYY-MM-DD(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "起始日期 YYYY-MM-DD(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "起始日期 YYYY-MM-DD(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "起始日期 YYYY-MM-DD(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "types": { + "description": "审批类型,逗号分隔:overtime/加班、trip/travel/出差/外出、leave/请假、patch/补卡(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "审批类型,逗号分隔:overtime/加班、trip/travel/出差/外出、leave/请假、patch/补卡(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "审批类型,逗号分隔:overtime/加班、trip/travel/出差/外出、leave/请假、patch/补卡(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "types" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "types" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "types", + "required": true, + "type": "array" + }, + "users": { + "description": "用户 userId 列表,逗号分隔(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 列表,逗号分隔(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + } + }, + "path": "attendance.shortcut_list_approve", + "primary_cli_path": "attendance +list-approve", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "use_when": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ] + }, + "attendance.shortcut_list_leave_types": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +list-leave-types", + "cobra-help:dws attendance +list-leave-types", + "internal/cli/schema_command_registry.json#attendance.shortcut_list_leave_types", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询当前用户可用的假期规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_list_leave_types", + "cli_name": "+list-leave-types", + "cli_path": "attendance +list-leave-types", + "confirmation": "not_required", + "description": "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +list-leave-types" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可用的假期规则列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可用的假期规则列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +list-leave-types", + "value": "attendance.shortcut_list_leave_types" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +list-leave-types", + "value": "attendance.shortcut_list_leave_types" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +list-leave-types" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +list-leave-types" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询当前用户可用的假期规则列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询当前用户可用的假期规则列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_leave_types", + "parameter_count": 0, + "parameters": {}, + "path": "attendance.shortcut_list_leave_types", + "primary_cli_path": "attendance +list-leave-types", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询当前用户可用的假期规则列表", + "use_when": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ] + }, + "attendance.shortcut_my_attendance": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +my-attendance", + "cobra-help:dws attendance +my-attendance", + "internal/cli/schema_command_registry.json#attendance.shortcut_my_attendance", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_my_attendance", + "cli_name": "+my-attendance", + "cli_path": "attendance +my-attendance", + "confirmation": "not_required", + "description": "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +my-attendance" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +my-attendance", + "value": "attendance.shortcut_my_attendance" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +my-attendance", + "value": "attendance.shortcut_my_attendance" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +my-attendance" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +my-attendance" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_my_attendance", + "parameter_count": 0, + "parameters": {}, + "path": "attendance.shortcut_my_attendance", + "primary_cli_path": "attendance +my-attendance", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "use_when": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ] + }, + "attendance.shortcut_query_report_data": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +query-report-data", + "cobra-help:dws attendance +query-report-data", + "internal/cli/schema_command_registry.json#attendance.shortcut_query_report_data", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "根据字段查询考勤报表数据(仅管理员)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_query_report_data", + "cli_name": "+query-report-data", + "cli_path": "attendance +query-report-data", + "confirmation": "not_required", + "description": "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "根据字段查询考勤报表数据(仅管理员)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "根据字段查询考勤报表数据(仅管理员)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +query-report-data", + "value": "attendance.shortcut_query_report_data" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +query-report-data", + "value": "attendance.shortcut_query_report_data" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "根据字段查询考勤报表数据(仅管理员)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "根据字段查询考勤报表数据(仅管理员)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_query_report_data", + "parameter_count": 4, + "parameters": { + "columns": { + "description": "字段 ID 列表,逗号分隔(可用 +list-report-columns 获取)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "字段 ID 列表,逗号分隔(可用 +list-report-columns 获取)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "字段 ID 列表,逗号分隔(可用 +list-report-columns 获取)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "columns" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "columns" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "columns", + "required": true, + "type": "array" + }, + "end": { + "description": "结束时间 yyyy-MM-dd HH:mm:ss,跨度不超过 32 天(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间 yyyy-MM-dd HH:mm:ss,跨度不超过 32 天(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间 yyyy-MM-dd HH:mm:ss,跨度不超过 32 天(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "开始时间 yyyy-MM-dd HH:mm:ss(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间 yyyy-MM-dd HH:mm:ss(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间 yyyy-MM-dd HH:mm:ss(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "目标用户 userId 列表,逗号分隔,最多 20 人(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标用户 userId 列表,逗号分隔,最多 20 人(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标用户 userId 列表,逗号分隔,最多 20 人(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + } + }, + "path": "attendance.shortcut_query_report_data", + "primary_cli_path": "attendance +query-report-data", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "根据字段查询考勤报表数据(仅管理员)", + "use_when": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ] + }, + "attendance.shortcut_search_adjustment_rule": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +search-adjustment-rule", + "cobra-help:dws attendance +search-adjustment-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_adjustment_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询当前用户可管理的补卡规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_adjustment_rule", + "cli_name": "+search-adjustment-rule", + "cli_path": "attendance +search-adjustment-rule", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的补卡规则列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的补卡规则列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +search-adjustment-rule", + "value": "attendance.shortcut_search_adjustment_rule" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +search-adjustment-rule", + "value": "attendance.shortcut_search_adjustment_rule" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询当前用户可管理的补卡规则列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询当前用户可管理的补卡规则列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_adjustment_rule", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页条数,200 以内", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数,200 以内" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数,200 以内" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "page", + "required": false, + "type": "integer" + }, + "query": { + "description": "补卡规则名称关键字,模糊搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "补卡规则名称关键字,模糊搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "补卡规则名称关键字,模糊搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "attendance.shortcut_search_adjustment_rule", + "primary_cli_path": "attendance +search-adjustment-rule", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询当前用户可管理的补卡规则列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ] + }, + "attendance.shortcut_search_class": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +search-class", + "cobra-help:dws attendance +search-class", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_class", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询当前用户可管理的班次详情列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_class", + "cli_name": "+search-class", + "cli_path": "attendance +search-class", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的班次详情列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的班次详情列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +search-class", + "value": "attendance.shortcut_search_class" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +search-class", + "value": "attendance.shortcut_search_class" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询当前用户可管理的班次详情列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询当前用户可管理的班次详情列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_class", + "parameter_count": 4, + "parameters": { + "filter-type": { + "description": "班次类型:ALL 全部 / MINE_OWN 我负责的(可选值: ALL, MINE_OWN)", + "enum": [ + "ALL", + "MINE_OWN" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "班次类型:ALL 全部 / MINE_OWN 我负责的(可选值: ALL, MINE_OWN)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "班次类型:ALL 全部 / MINE_OWN 我负责的(可选值: ALL, MINE_OWN)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "ALL", + "MINE_OWN" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "ALL", + "MINE_OWN" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "filterType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "filterType" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "filterType", + "required": false, + "type": "string" + }, + "limit": { + "default": "20", + "description": "每页条数,最大 200", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数,最大 200" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数,最大 200" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "page", + "required": false, + "type": "integer" + }, + "query": { + "description": "班次名称关键字,模糊搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "班次名称关键字,模糊搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "班次名称关键字,模糊搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "attendance.shortcut_search_class", + "primary_cli_path": "attendance +search-class", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询当前用户可管理的班次详情列表", + "use_when": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ] + }, + "attendance.shortcut_search_group": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +search-group", + "cobra-help:dws attendance +search-group", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_group", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询当前用户可管理的考勤组列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_group", + "cli_name": "+search-group", + "cli_path": "attendance +search-group", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的考勤组列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的考勤组列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +search-group", + "value": "attendance.shortcut_search_group" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +search-group", + "value": "attendance.shortcut_search_group" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询当前用户可管理的考勤组列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询当前用户可管理的考勤组列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_group", + "parameter_count": 6, + "parameters": { + "limit": { + "default": "20", + "description": "每页条数,200 以内", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数,200 以内" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数,200 以内" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "page", + "required": false, + "type": "integer" + }, + "query": { + "description": "考勤组名称关键字,模糊搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "考勤组名称关键字,模糊搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "考勤组名称关键字,模糊搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + }, + "query-ble": { + "description": "是否查询蓝牙设备列表", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "是否查询蓝牙设备列表" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "是否查询蓝牙设备列表" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "queryBle" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "queryBle" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "queryBle", + "required": false, + "type": "boolean" + }, + "query-position": { + "description": "是否查询地理定位和 Wifi 名称", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "是否查询地理定位和 Wifi 名称" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "是否查询地理定位和 Wifi 名称" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "queryPosition" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "queryPosition" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "queryPosition", + "required": false, + "type": "boolean" + }, + "type": { + "description": "考勤组类型:FIXED 固定班制 / TURN 排班制 / NONE 自由工时(可选值: FIXED, TURN, NONE)", + "enum": [ + "FIXED", + "TURN", + "NONE" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "考勤组类型:FIXED 固定班制 / TURN 排班制 / NONE 自由工时(可选值: FIXED, TURN, NONE)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "考勤组类型:FIXED 固定班制 / TURN 排班制 / NONE 自由工时(可选值: FIXED, TURN, NONE)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "FIXED", + "TURN", + "NONE" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "FIXED", + "TURN", + "NONE" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "type" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "type" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "attendance.shortcut_search_group", + "primary_cli_path": "attendance +search-group", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询当前用户可管理的考勤组列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ] + }, + "attendance.shortcut_search_overtime_rule": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +search-overtime-rule", + "cobra-help:dws attendance +search-overtime-rule", + "internal/cli/schema_command_registry.json#attendance.shortcut_search_overtime_rule", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查询当前用户可管理的加班规则列表", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_search_overtime_rule", + "cli_name": "+search-overtime-rule", + "cli_path": "attendance +search-overtime-rule", + "confirmation": "not_required", + "description": "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的加班规则列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查询当前用户可管理的加班规则列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +search-overtime-rule", + "value": "attendance.shortcut_search_overtime_rule" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +search-overtime-rule", + "value": "attendance.shortcut_search_overtime_rule" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询当前用户可管理的加班规则列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询当前用户可管理的加班规则列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_overtime_rule", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页条数,200 以内", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数,200 以内" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数,200 以内" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "page": { + "default": "1", + "description": "页码,从 1 开始", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码,从 1 开始" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "page", + "required": false, + "type": "integer" + }, + "query": { + "description": "加班规则名称关键字,模糊搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "加班规则名称关键字,模糊搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "加班规则名称关键字,模糊搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "attendance.shortcut_search_overtime_rule", + "primary_cli_path": "attendance +search-overtime-rule", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询当前用户可管理的加班规则列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ] + }, + "attendance.shortcut_this_month": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:attendance +this-month", + "cobra-help:dws attendance +this-month", + "internal/cli/schema_command_registry.json#attendance.shortcut_this_month", + "internal/cli/schema_hints/metadata/attendance.json", + "internal/cli/schema_hints/selection/attendance.json" + ], + "agent_summary": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "agent_summary_source": "dws-agent-selection/attendance", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "attendance.shortcut_this_month", + "cli_name": "+this-month", + "cli_path": "attendance +this-month", + "confirmation": "not_required", + "description": "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。", + "display": "考勤打卡 / 排班 / 统计", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws attendance +this-month" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "attendance +this-month", + "value": "attendance.shortcut_this_month" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "attendance +this-month", + "value": "attendance.shortcut_this_month" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +this-month" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "dws attendance +this-month" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/attendance.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/attendance.json", + "value": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_this_month", + "parameter_count": 0, + "parameters": {}, + "path": "attendance.shortcut_this_month", + "primary_cli_path": "attendance +this-month", + "product_id": "attendance", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "use_when": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ] + }, "attendance.vacation_balance": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -153073,6 +185742,10004 @@ "需要按日历本名模糊搜索当前用户拥有的日历本时" ] }, + "calendar.shortcut_agenda": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +agenda", + "cobra-help:dws calendar +agenda", + "internal/cli/schema_command_registry.json#calendar.shortcut_agenda", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "查询日程列表(不传时间默认查询今天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_agenda", + "cli_name": "+agenda", + "cli_path": "calendar +agenda", + "confirmation": "not_required", + "description": "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查询日程列表(不传时间默认查询今天)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查询日程列表(不传时间默认查询今天)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +agenda", + "value": "calendar.shortcut_agenda" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +agenda", + "value": "calendar.shortcut_agenda" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询日程列表(不传时间默认查询今天)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询日程列表(不传时间默认查询今天)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_agenda", + "parameter_count": 5, + "parameters": { + "calendar-id": { + "description": "日历 ID (默认 primary 主日历)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "日历 ID (默认 primary 主日历)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "日历 ID (默认 primary 主日历)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "calendarId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "calendarId" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "calendarId", + "required": false, + "type": "string" + }, + "cursor": { + "description": "分页游标 (上一次返回的 nextCursor)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标 (上一次返回的 nextCursor)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标 (上一次返回的 nextCursor)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "end": { + "description": "结束时间 ISO-8601,默认今天 23:59", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间 ISO-8601,默认今天 23:59" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间 ISO-8601,默认今天 23:59" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "end", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页返回条数 (默认 100,最大 100)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回条数 (默认 100,最大 100)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回条数 (默认 100,最大 100)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "start": { + "description": "开始时间 ISO-8601 (例如 2026-03-10T00:00:00+08:00),默认今天 00:00", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间 ISO-8601 (例如 2026-03-10T00:00:00+08:00),默认今天 00:00" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间 ISO-8601 (例如 2026-03-10T00:00:00+08:00),默认今天 00:00" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "start", + "required": false, + "type": "string" + } + }, + "path": "calendar.shortcut_agenda", + "primary_cli_path": "calendar +agenda", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询日程列表(不传时间默认查询今天)", + "use_when": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ] + }, + "calendar.shortcut_attendee_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +attendee-list", + "cobra-help:dws calendar +attendee-list", + "internal/cli/schema_command_registry.json#calendar.shortcut_attendee_list", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "查看日程参会人", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_attendee_list", + "cli_name": "+attendee-list", + "cli_path": "calendar +attendee-list", + "confirmation": "not_required", + "description": "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +attendee-list --event EVENT_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查看日程参会人" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查看日程参会人" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +attendee-list", + "value": "calendar.shortcut_attendee_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +attendee-list", + "value": "calendar.shortcut_attendee_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +attendee-list --event EVENT_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +attendee-list --event EVENT_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看日程参会人" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看日程参会人" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_attendee_list", + "parameter_count": 2, + "parameters": { + "calendar-id": { + "description": "日历 ID (默认 primary 主日历)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "日历 ID (默认 primary 主日历)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "日历 ID (默认 primary 主日历)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "calendarId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "calendarId" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "calendarId", + "required": false, + "type": "string" + }, + "event": { + "description": "日程 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "日程 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "日程 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "event" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "event" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "event", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_attendee_list", + "primary_cli_path": "calendar +attendee-list", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看日程参会人", + "use_when": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ] + }, + "calendar.shortcut_book": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +book", + "cobra-help:dws calendar +book", + "internal/cli/schema_command_registry.json#calendar.shortcut_book", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_book", + "cli_name": "+book", + "cli_path": "calendar +book", + "confirmation": "user_required", + "description": "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +book", + "value": "calendar.shortcut_book" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +book", + "value": "calendar.shortcut_book" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_book", + "parameter_count": 4, + "parameters": { + "end": { + "description": "结束时间(ISO8601,如 2026-03-10T15:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间(ISO8601,如 2026-03-10T15:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间(ISO8601,如 2026-03-10T15:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "开始时间(ISO8601,如 2026-03-10T14:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间(ISO8601,如 2026-03-10T14:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间(ISO8601,如 2026-03-10T14:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "title": { + "description": "日程标题(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "日程标题(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "日程标题(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "title" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "title" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "title", + "required": true, + "type": "string" + }, + "with": { + "description": "参会人姓名,逗号分隔(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "参会人姓名,逗号分隔(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "参会人姓名,逗号分隔(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "with" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "with" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "with", + "required": false, + "type": "string" + } + }, + "path": "calendar.shortcut_book", + "primary_cli_path": "calendar +book", + "product_id": "calendar", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "use_when": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ] + }, + "calendar.shortcut_book_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +book-list", + "cobra-help:dws calendar +book-list", + "internal/cli/schema_command_registry.json#calendar.shortcut_book_list", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "查询用户的日历本列表", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_book_list", + "cli_name": "+book-list", + "cli_path": "calendar +book-list", + "confirmation": "not_required", + "description": "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +book-list" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查询用户的日历本列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查询用户的日历本列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +book-list", + "value": "calendar.shortcut_book_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +book-list", + "value": "calendar.shortcut_book_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +book-list" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +book-list" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询用户的日历本列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询用户的日历本列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_book_list", + "parameter_count": 0, + "parameters": {}, + "path": "calendar.shortcut_book_list", + "primary_cli_path": "calendar +book-list", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询用户的日历本列表", + "use_when": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ] + }, + "calendar.shortcut_book_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +book-search", + "cobra-help:dws calendar +book-search", + "internal/cli/schema_command_registry.json#calendar.shortcut_book_search", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "按名称模糊搜索日历本", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_book_search", + "cli_name": "+book-search", + "cli_path": "calendar +book-search", + "confirmation": "not_required", + "description": "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +book-search --query \"项目\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按名称模糊搜索日历本" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按名称模糊搜索日历本" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +book-search", + "value": "calendar.shortcut_book_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +book-search", + "value": "calendar.shortcut_book_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +book-search --query \"项目\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +book-search --query \"项目\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称模糊搜索日历本" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称模糊搜索日历本" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_book_search", + "parameter_count": 1, + "parameters": { + "query": { + "description": "日历本名称关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "日历本名称关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "日历本名称关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_book_search", + "primary_cli_path": "calendar +book-search", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称模糊搜索日历本", + "use_when": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ] + }, + "calendar.shortcut_cancel_event": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +cancel-event", + "cobra-help:dws calendar +cancel-event", + "internal/cli/schema_command_registry.json#calendar.shortcut_cancel_event", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_cancel_event", + "cli_name": "+cancel-event", + "cli_path": "calendar +cancel-event", + "confirmation": "user_required", + "description": "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +cancel-event --event EVENT_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "取消(删除)一个已有日程(删除前先确认它真实存在)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "取消(删除)一个已有日程(删除前先确认它真实存在)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +cancel-event", + "value": "calendar.shortcut_cancel_event" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +cancel-event", + "value": "calendar.shortcut_cancel_event" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +cancel-event --event EVENT_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +cancel-event --event EVENT_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "取消(删除)一个已有日程(删除前先确认它真实存在)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "取消(删除)一个已有日程(删除前先确认它真实存在)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_cancel_event", + "parameter_count": 1, + "parameters": { + "event": { + "description": "要取消的日程 eventId(可用 dws calendar event list 查询)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要取消的日程 eventId(可用 dws calendar event list 查询)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要取消的日程 eventId(可用 dws calendar event list 查询)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "event" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "event" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "event", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_cancel_event", + "primary_cli_path": "calendar +cancel-event", + "product_id": "calendar", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "use_when": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ] + }, + "calendar.shortcut_conflicts": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +conflicts", + "cobra-help:dws calendar +conflicts", + "internal/cli/schema_command_registry.json#calendar.shortcut_conflicts", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_conflicts", + "cli_name": "+conflicts", + "cli_path": "calendar +conflicts", + "confirmation": "not_required", + "description": "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +conflicts", + "value": "calendar.shortcut_conflicts" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +conflicts", + "value": "calendar.shortcut_conflicts" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_conflicts", + "parameter_count": 1, + "parameters": { + "in-days": { + "description": "几天后(可选,0=今天默认,1=明天…)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "几天后(可选,0=今天默认,1=明天…)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "几天后(可选,0=今天默认,1=明天…)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "inDays" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "inDays" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "inDays", + "required": false, + "type": "integer" + } + }, + "path": "calendar.shortcut_conflicts", + "primary_cli_path": "calendar +conflicts", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "use_when": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ] + }, + "calendar.shortcut_free": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +free", + "cobra-help:dws calendar +free", + "internal/cli/schema_command_registry.json#calendar.shortcut_free", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_free", + "cli_name": "+free", + "cli_path": "calendar +free", + "confirmation": "not_required", + "description": "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +free", + "value": "calendar.shortcut_free" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +free", + "value": "calendar.shortcut_free" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_free", + "parameter_count": 3, + "parameters": { + "end": { + "description": "结束时间(ISO8601,如 2026-03-10T18:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间(ISO8601,如 2026-03-10T18:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间(ISO8601,如 2026-03-10T18:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "开始时间(ISO8601,如 2026-03-10T14:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间(ISO8601,如 2026-03-10T14:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间(ISO8601,如 2026-03-10T14:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "who": { + "description": "要查忙闲的人的姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要查忙闲的人的姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要查忙闲的人的姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "who" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "who" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "who", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_free", + "primary_cli_path": "calendar +free", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "use_when": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ] + }, + "calendar.shortcut_free_slots": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +free-slots", + "cobra-help:dws calendar +free-slots", + "internal/cli/schema_command_registry.json#calendar.shortcut_free_slots", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_free_slots", + "cli_name": "+free-slots", + "cli_path": "calendar +free-slots", + "confirmation": "not_required", + "description": "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +free-slots", + "value": "calendar.shortcut_free_slots" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +free-slots", + "value": "calendar.shortcut_free_slots" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_free_slots", + "parameter_count": 3, + "parameters": { + "from": { + "description": "工作时段起始小时(可选,默认 9)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "工作时段起始小时(可选,默认 9)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "工作时段起始小时(可选,默认 9)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "from" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "from" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "from", + "required": false, + "type": "integer" + }, + "in-days": { + "description": "几天后(可选,0=今天默认)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "几天后(可选,0=今天默认)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "几天后(可选,0=今天默认)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "inDays" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "inDays" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "inDays", + "required": false, + "type": "integer" + }, + "to": { + "description": "工作时段结束小时(可选,默认 18)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "工作时段结束小时(可选,默认 18)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "工作时段结束小时(可选,默认 18)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "to" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "to" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "to", + "required": false, + "type": "integer" + } + }, + "path": "calendar.shortcut_free_slots", + "primary_cli_path": "calendar +free-slots", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "use_when": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ] + }, + "calendar.shortcut_freebusy": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +freebusy", + "cobra-help:dws calendar +freebusy", + "internal/cli/schema_command_registry.json#calendar.shortcut_freebusy", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_freebusy", + "cli_name": "+freebusy", + "cli_path": "calendar +freebusy", + "confirmation": "not_required", + "constraints": { + "require_one_of": [ + [ + "users", + "rooms" + ] + ] + }, + "description": "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。\n\n参数约束:\n - --users、--rooms 至少指定一个", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +freebusy", + "value": "calendar.shortcut_freebusy" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +freebusy", + "value": "calendar.shortcut_freebusy" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。\n\n参数约束:\n - --users、--rooms 至少指定一个" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。\n\n参数约束:\n - --users、--rooms 至少指定一个" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_freebusy", + "parameter_count": 4, + "parameters": { + "end": { + "description": "结束时间 ISO-8601(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间 ISO-8601(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间 ISO-8601(必填)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "end", + "required": true, + "type": "string" + }, + "rooms": { + "description": "会议室 roomId 列表 (逗号分隔)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会议室 roomId 列表 (逗号分隔)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会议室 roomId 列表 (逗号分隔)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "rooms" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "rooms" + }, + "required": { + "candidates": [ + { + "precedence": "command_constraint", + "selected": true, + "source": "require_one_of_constraint", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "command_constraint", + "resolution": "highest_precedence", + "source": "require_one_of_constraint", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "rooms", + "required": false, + "type": "array" + }, + "start": { + "description": "开始时间 ISO-8601(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间 ISO-8601(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间 ISO-8601(必填)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "start", + "required": true, + "type": "string" + }, + "users": { + "description": "用户 userId 列表 (逗号分隔)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 列表 (逗号分隔)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 列表 (逗号分隔)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "command_constraint", + "selected": true, + "source": "require_one_of_constraint", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "command_constraint", + "resolution": "highest_precedence", + "source": "require_one_of_constraint", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": false, + "type": "array" + } + }, + "path": "calendar.shortcut_freebusy", + "primary_cli_path": "calendar +freebusy", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "use_when": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ] + }, + "calendar.shortcut_invite": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +invite", + "cobra-help:dws calendar +invite", + "internal/cli/schema_command_registry.json#calendar.shortcut_invite", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_invite", + "cli_name": "+invite", + "cli_path": "calendar +invite", + "confirmation": "user_required", + "description": "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +invite", + "value": "calendar.shortcut_invite" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +invite", + "value": "calendar.shortcut_invite" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_invite", + "parameter_count": 2, + "parameters": { + "event": { + "description": "已有日程的 eventId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "已有日程的 eventId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "已有日程的 eventId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "event" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "event" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "event", + "required": true, + "type": "string" + }, + "with": { + "description": "参会人姓名,逗号分隔(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "参会人姓名,逗号分隔(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "参会人姓名,逗号分隔(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "with" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "with" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "with", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_invite", + "primary_cli_path": "calendar +invite", + "product_id": "calendar", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "use_when": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ] + }, + "calendar.shortcut_my_free": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +my-free", + "cobra-help:dws calendar +my-free", + "internal/cli/schema_command_registry.json#calendar.shortcut_my_free", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_my_free", + "cli_name": "+my-free", + "cli_path": "calendar +my-free", + "confirmation": "not_required", + "description": "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +my-free", + "value": "calendar.shortcut_my_free" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +my-free", + "value": "calendar.shortcut_my_free" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_my_free", + "parameter_count": 2, + "parameters": { + "end": { + "description": "结束时间(ISO8601,可选,默认次日 00:00)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间(ISO8601,可选,默认次日 00:00)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间(ISO8601,可选,默认次日 00:00)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": false, + "type": "string" + }, + "start": { + "description": "开始时间(ISO8601,可选,默认今天 00:00)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间(ISO8601,可选,默认今天 00:00)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间(ISO8601,可选,默认今天 00:00)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": false, + "type": "string" + } + }, + "path": "calendar.shortcut_my_free", + "primary_cli_path": "calendar +my-free", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "use_when": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ] + }, + "calendar.shortcut_next_event": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +next-event", + "cobra-help:dws calendar +next-event", + "internal/cli/schema_command_registry.json#calendar.shortcut_next_event", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_next_event", + "cli_name": "+next-event", + "cli_path": "calendar +next-event", + "confirmation": "not_required", + "description": "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +next-event" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查看接下来最近的一个日程(默认扫描未来 7 天)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "查看接下来最近的一个日程(默认扫描未来 7 天)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +next-event", + "value": "calendar.shortcut_next_event" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +next-event", + "value": "calendar.shortcut_next_event" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +next-event" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +next-event" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看接下来最近的一个日程(默认扫描未来 7 天)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看接下来最近的一个日程(默认扫描未来 7 天)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_next_event", + "parameter_count": 0, + "parameters": {}, + "path": "calendar.shortcut_next_event", + "primary_cli_path": "calendar +next-event", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "use_when": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ] + }, + "calendar.shortcut_reschedule": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +reschedule", + "cobra-help:dws calendar +reschedule", + "internal/cli/schema_command_registry.json#calendar.shortcut_reschedule", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_reschedule", + "cli_name": "+reschedule", + "cli_path": "calendar +reschedule", + "confirmation": "user_required", + "description": "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +reschedule", + "value": "calendar.shortcut_reschedule" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +reschedule", + "value": "calendar.shortcut_reschedule" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_reschedule", + "parameter_count": 3, + "parameters": { + "end": { + "description": "新的结束时间(ISO8601,如 2026-03-10T16:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "新的结束时间(ISO8601,如 2026-03-10T16:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "新的结束时间(ISO8601,如 2026-03-10T16:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "event": { + "description": "要改期的日程 eventId(可用 dws calendar event list 查询)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要改期的日程 eventId(可用 dws calendar event list 查询)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要改期的日程 eventId(可用 dws calendar event list 查询)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "event" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "event" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "event", + "required": true, + "type": "string" + }, + "start": { + "description": "新的开始时间(ISO8601,如 2026-03-10T15:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "新的开始时间(ISO8601,如 2026-03-10T15:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "新的开始时间(ISO8601,如 2026-03-10T15:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_reschedule", + "primary_cli_path": "calendar +reschedule", + "product_id": "calendar", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "use_when": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ] + }, + "calendar.shortcut_room_groups": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +room-groups", + "cobra-help:dws calendar +room-groups", + "internal/cli/schema_command_registry.json#calendar.shortcut_room_groups", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "会议室分组列表", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_room_groups", + "cli_name": "+room-groups", + "cli_path": "calendar +room-groups", + "confirmation": "not_required", + "description": "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +room-groups" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "会议室分组列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "会议室分组列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +room-groups", + "value": "calendar.shortcut_room_groups" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +room-groups", + "value": "calendar.shortcut_room_groups" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +room-groups" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +room-groups" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "会议室分组列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "会议室分组列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_room_groups", + "parameter_count": 2, + "parameters": { + "limit": { + "description": "每页条数 (pageSize)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数 (pageSize)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数 (pageSize)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + }, + "page": { + "description": "页码 (pageIndex,从 0 开始)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码 (pageIndex,从 0 开始)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码 (pageIndex,从 0 开始)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + } + }, + "path": "calendar.shortcut_room_groups", + "primary_cli_path": "calendar +room-groups", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "会议室分组列表", + "use_when": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ] + }, + "calendar.shortcut_room_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +room-search", + "cobra-help:dws calendar +room-search", + "internal/cli/schema_command_registry.json#calendar.shortcut_room_search", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "按名称模糊搜索会议室(不检查可用性)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_room_search", + "cli_name": "+room-search", + "cli_path": "calendar +room-search", + "confirmation": "not_required", + "description": "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +room-search --room-name 永澄亭" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按名称模糊搜索会议室(不检查可用性)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按名称模糊搜索会议室(不检查可用性)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +room-search", + "value": "calendar.shortcut_room_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +room-search", + "value": "calendar.shortcut_room_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +room-search --room-name 永澄亭" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +room-search --room-name 永澄亭" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称模糊搜索会议室(不检查可用性)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称模糊搜索会议室(不检查可用性)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_room_search", + "parameter_count": 1, + "parameters": { + "room-name": { + "description": "会议室名称(精简核心专名,剔除“会议室”等后缀)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会议室名称(精简核心专名,剔除“会议室”等后缀)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会议室名称(精简核心专名,剔除“会议室”等后缀)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "roomName" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "roomName" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "roomName", + "required": true, + "type": "string" + } + }, + "path": "calendar.shortcut_room_search", + "primary_cli_path": "calendar +room-search", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称模糊搜索会议室(不检查可用性)", + "use_when": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ] + }, + "calendar.shortcut_suggest_time": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +suggest-time", + "cobra-help:dws calendar +suggest-time", + "internal/cli/schema_command_registry.json#calendar.shortcut_suggest_time", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_suggest_time", + "cli_name": "+suggest-time", + "cli_path": "calendar +suggest-time", + "confirmation": "not_required", + "description": "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +suggest-time", + "value": "calendar.shortcut_suggest_time" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +suggest-time", + "value": "calendar.shortcut_suggest_time" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_suggest_time", + "parameter_count": 4, + "parameters": { + "duration": { + "description": "会议时长(分钟,可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会议时长(分钟,可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会议时长(分钟,可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "duration" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "duration" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "duration", + "required": false, + "type": "string" + }, + "end": { + "description": "时间范围结束(ISO8601,如 2026-03-10T18:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "时间范围结束(ISO8601,如 2026-03-10T18:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "时间范围结束(ISO8601,如 2026-03-10T18:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": true, + "type": "string" + }, + "start": { + "description": "时间范围开始(ISO8601,如 2026-03-10T09:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "时间范围开始(ISO8601,如 2026-03-10T09:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "时间范围开始(ISO8601,如 2026-03-10T09:00:00+08:00)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": true, + "type": "string" + }, + "with": { + "description": "参与者姓名(逗号分隔的 CSV,如 张三,李四)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "参与者姓名(逗号分隔的 CSV,如 张三,李四)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "参与者姓名(逗号分隔的 CSV,如 张三,李四)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "with" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "with" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "with", + "required": true, + "type": "array" + } + }, + "path": "calendar.shortcut_suggest_time", + "primary_cli_path": "calendar +suggest-time", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "use_when": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ] + }, + "calendar.shortcut_today": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +today", + "cobra-help:dws calendar +today", + "internal/cli/schema_command_registry.json#calendar.shortcut_today", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_today", + "cli_name": "+today", + "cli_path": "calendar +today", + "confirmation": "not_required", + "description": "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +today" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +today", + "value": "calendar.shortcut_today" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +today", + "value": "calendar.shortcut_today" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +today" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +today" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_today", + "parameter_count": 0, + "parameters": {}, + "path": "calendar.shortcut_today", + "primary_cli_path": "calendar +today", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ] + }, + "calendar.shortcut_tomorrow": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +tomorrow", + "cobra-help:dws calendar +tomorrow", + "internal/cli/schema_command_registry.json#calendar.shortcut_tomorrow", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_tomorrow", + "cli_name": "+tomorrow", + "cli_path": "calendar +tomorrow", + "confirmation": "not_required", + "description": "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +tomorrow" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +tomorrow", + "value": "calendar.shortcut_tomorrow" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +tomorrow", + "value": "calendar.shortcut_tomorrow" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +tomorrow" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +tomorrow" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_tomorrow", + "parameter_count": 0, + "parameters": {}, + "path": "calendar.shortcut_tomorrow", + "primary_cli_path": "calendar +tomorrow", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ] + }, + "calendar.shortcut_week": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:calendar +week", + "cobra-help:dws calendar +week", + "internal/cli/schema_command_registry.json#calendar.shortcut_week", + "internal/cli/schema_hints/metadata/calendar.json", + "internal/cli/schema_hints/selection/calendar.json" + ], + "agent_summary": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "agent_summary_source": "dws-agent-selection/calendar", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "calendar.shortcut_week", + "cli_name": "+week", + "cli_path": "calendar +week", + "confirmation": "not_required", + "description": "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。", + "display": "日历日程 / 会议室 / 闲忙", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws calendar +week" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "calendar +week", + "value": "calendar.shortcut_week" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "calendar +week", + "value": "calendar.shortcut_week" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +week" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "dws calendar +week" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/calendar.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/calendar.json", + "value": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_week", + "parameter_count": 0, + "parameters": {}, + "path": "calendar.shortcut_week", + "primary_cli_path": "calendar +week", + "product_id": "calendar", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ] + }, "calendar.update_calendar_event": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -206006,6 +248673,21940 @@ "需要改变某个会话在列表中的置顶状态时" ] }, + "chat.shortcut_at_me": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +at-me", + "cobra-help:dws chat +at-me", + "internal/cli/schema_command_registry.json#chat.shortcut_at_me", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_at_me", + "cli_name": "+at-me", + "cli_path": "chat +at-me", + "confirmation": "not_required", + "description": "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +at-me", + "value": "chat.shortcut_at_me" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +at-me", + "value": "chat.shortcut_at_me" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_at_me", + "parameter_count": 1, + "parameters": { + "days": { + "default": "7", + "description": "回溯天数(可选,默认 7)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "回溯天数(可选,默认 7)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "回溯天数(可选,默认 7)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "days" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "days" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "days", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_at_me", + "primary_cli_path": "chat +at-me", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "use_when": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ] + }, + "chat.shortcut_bot_find": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +bot-find", + "cobra-help:dws chat +bot-find", + "internal/cli/schema_command_registry.json#chat.shortcut_bot_find", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_bot_find", + "cli_name": "+bot-find", + "cli_path": "chat +bot-find", + "confirmation": "not_required", + "description": "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。\n\n参数约束:\n - --query、--keyword 至少指定一个", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +bot-find --query \"日报\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +bot-find", + "value": "chat.shortcut_bot_find" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +bot-find", + "value": "chat.shortcut_bot_find" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。\n\n参数约束:\n - --query、--keyword 至少指定一个" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。\n\n参数约束:\n - --query、--keyword 至少指定一个" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +bot-find --query \"日报\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +bot-find --query \"日报\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_bot_find", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标,翻页传 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "default": "20", + "description": "每页返回数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_bot_find", + "primary_cli_path": "chat +bot-find", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "use_when": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ] + }, + "chat.shortcut_bot_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +bot-search", + "cobra-help:dws chat +bot-search", + "internal/cli/schema_command_registry.json#chat.shortcut_bot_search", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "搜索当前用户自己创建的机器人", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_bot_search", + "cli_name": "+bot-search", + "cli_path": "chat +bot-search", + "confirmation": "not_required", + "description": "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "搜索当前用户自己创建的机器人" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "搜索当前用户自己创建的机器人" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +bot-search", + "value": "chat.shortcut_bot_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +bot-search", + "value": "chat.shortcut_bot_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "搜索当前用户自己创建的机器人" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "搜索当前用户自己创建的机器人" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_bot_search", + "parameter_count": 3, + "parameters": { + "name": { + "description": "robotName 模糊匹配", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "robotName 模糊匹配" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "robotName 模糊匹配" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": false, + "type": "string" + }, + "page": { + "default": "1", + "description": "页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "page", + "required": false, + "type": "integer" + }, + "size": { + "description": "每页数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "size", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_bot_search", + "primary_cli_path": "chat +bot-search", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "搜索当前用户自己创建的机器人", + "use_when": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ] + }, + "chat.shortcut_broadcast": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +broadcast", + "cobra-help:dws chat +broadcast", + "internal/cli/schema_command_registry.json#chat.shortcut_broadcast", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_broadcast", + "cli_name": "+broadcast", + "cli_path": "chat +broadcast", + "confirmation": "user_required", + "description": "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +broadcast", + "value": "chat.shortcut_broadcast" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +broadcast", + "value": "chat.shortcut_broadcast" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_broadcast", + "parameter_count": 3, + "parameters": { + "ai-tag": { + "default": "true", + "description": "消息是否带 AI 发送角标(默认 true)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "aiTag" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "aiTag" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "aiTag", + "required": false, + "type": "boolean" + }, + "text": { + "description": "消息内容(支持 Markdown),所有人收到同一条(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息内容(支持 Markdown),所有人收到同一条(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息内容(支持 Markdown),所有人收到同一条(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "text" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "text" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "text", + "required": true, + "type": "string" + }, + "to": { + "description": "收件人姓名/花名,逗号分隔的多个人(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "收件人姓名/花名,逗号分隔的多个人(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "收件人姓名/花名,逗号分隔的多个人(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "to" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "to" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "to", + "required": true, + "type": "array" + } + }, + "path": "chat.shortcut_broadcast", + "primary_cli_path": "chat +broadcast", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "use_when": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ] + }, + "chat.shortcut_category_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +category-create", + "cobra-help:dws chat +category-create", + "internal/cli/schema_command_registry.json#chat.shortcut_category_create", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "创建用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_create", + "cli_name": "+category-create", + "cli_path": "chat +category-create", + "confirmation": "user_required", + "description": "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-create --title \"工作群\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "创建用户自定义会话分组" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "创建用户自定义会话分组" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +category-create", + "value": "chat.shortcut_category_create" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +category-create", + "value": "chat.shortcut_category_create" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-create --title \"工作群\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-create --title \"工作群\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "创建用户自定义会话分组" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "创建用户自定义会话分组" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_category_create", + "parameter_count": 1, + "parameters": { + "title": { + "description": "分组名称(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分组名称(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分组名称(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "title" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "title" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "title", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_category_create", + "primary_cli_path": "chat +category-create", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "创建用户自定义会话分组", + "use_when": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ] + }, + "chat.shortcut_category_delete": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +category-delete", + "cobra-help:dws chat +category-delete", + "internal/cli/schema_command_registry.json#chat.shortcut_category_delete", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "删除用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_delete", + "cli_name": "+category-delete", + "cli_path": "chat +category-delete", + "confirmation": "user_required", + "description": "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。", + "display": "群聊 / 消息 / 机器人", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-delete --category-id \u003c分组ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "删除用户自定义会话分组" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "删除用户自定义会话分组" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +category-delete", + "value": "chat.shortcut_category_delete" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +category-delete", + "value": "chat.shortcut_category_delete" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-delete --category-id \u003c分组ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-delete --category-id \u003c分组ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "删除用户自定义会话分组" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "删除用户自定义会话分组" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_category_delete", + "parameter_count": 1, + "parameters": { + "category-id": { + "description": "会话分组 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会话分组 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会话分组 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "categoryId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "categoryId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "categoryId", + "required": true, + "type": "integer" + } + }, + "path": "chat.shortcut_category_delete", + "primary_cli_path": "chat +category-delete", + "product_id": "chat", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "删除用户自定义会话分组", + "use_when": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ] + }, + "chat.shortcut_category_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +category-list", + "cobra-help:dws chat +category-list", + "internal/cli/schema_command_registry.json#chat.shortcut_category_list", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "获取用户自定义会话分组", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_list", + "cli_name": "+category-list", + "cli_path": "chat +category-list", + "confirmation": "not_required", + "description": "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-list" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取用户自定义会话分组" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取用户自定义会话分组" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +category-list", + "value": "chat.shortcut_category_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +category-list", + "value": "chat.shortcut_category_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-list" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-list" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取用户自定义会话分组" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取用户自定义会话分组" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_category_list", + "parameter_count": 0, + "parameters": {}, + "path": "chat.shortcut_category_list", + "primary_cli_path": "chat +category-list", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取用户自定义会话分组", + "use_when": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ] + }, + "chat.shortcut_category_rename": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +category-rename", + "cobra-help:dws chat +category-rename", + "internal/cli/schema_command_registry.json#chat.shortcut_category_rename", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "更新用户自定义会话分组的名称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_category_rename", + "cli_name": "+category-rename", + "cli_path": "chat +category-rename", + "confirmation": "user_required", + "description": "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +category-rename --category-id \u003c分组ID\u003e --title \"新名称\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "更新用户自定义会话分组的名称" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "更新用户自定义会话分组的名称" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +category-rename", + "value": "chat.shortcut_category_rename" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +category-rename", + "value": "chat.shortcut_category_rename" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-rename --category-id \u003c分组ID\u003e --title \"新名称\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +category-rename --category-id \u003c分组ID\u003e --title \"新名称\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "更新用户自定义会话分组的名称" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "更新用户自定义会话分组的名称" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_category_rename", + "parameter_count": 2, + "parameters": { + "category-id": { + "description": "会话分组 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会话分组 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会话分组 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "categoryId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "categoryId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "categoryId", + "required": true, + "type": "integer" + }, + "title": { + "description": "新的分组名称(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "新的分组名称(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "新的分组名称(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "title" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "title" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "title", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_category_rename", + "primary_cli_path": "chat +category-rename", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "更新用户自定义会话分组的名称", + "use_when": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ] + }, + "chat.shortcut_chat_bots": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-bots", + "cobra-help:dws chat +chat-bots", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_bots", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "查看群内所有机器人", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_bots", + "cli_name": "+chat-bots", + "cli_path": "chat +chat-bots", + "confirmation": "not_required", + "description": "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-bots --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查看群内所有机器人" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查看群内所有机器人" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-bots", + "value": "chat.shortcut_chat_bots" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-bots", + "value": "chat.shortcut_chat_bots" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-bots --group \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-bots --group \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看群内所有机器人" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看群内所有机器人" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_bots", + "parameter_count": 1, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_bots", + "primary_cli_path": "chat +chat-bots", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看群内所有机器人", + "use_when": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ] + }, + "chat.shortcut_chat_dismiss": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-dismiss", + "cobra-help:dws chat +chat-dismiss", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_dismiss", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "解散群聊(不可逆,需群主权限)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_dismiss", + "cli_name": "+chat-dismiss", + "cli_path": "chat +chat-dismiss", + "confirmation": "user_required", + "description": "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。", + "display": "群聊 / 消息 / 机器人", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-dismiss --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "解散群聊(不可逆,需群主权限)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "解散群聊(不可逆,需群主权限)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-dismiss", + "value": "chat.shortcut_chat_dismiss" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-dismiss", + "value": "chat.shortcut_chat_dismiss" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-dismiss --group \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-dismiss --group \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "解散群聊(不可逆,需群主权限)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "解散群聊(不可逆,需群主权限)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_dismiss", + "parameter_count": 1, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_dismiss", + "primary_cli_path": "chat +chat-dismiss", + "product_id": "chat", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "解散群聊(不可逆,需群主权限)", + "use_when": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ] + }, + "chat.shortcut_chat_invite_url": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-invite-url", + "cobra-help:dws chat +chat-invite-url", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_invite_url", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "获取群邀请链接", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_invite_url", + "cli_name": "+chat-invite-url", + "cli_path": "chat +chat-invite-url", + "confirmation": "not_required", + "description": "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-invite-url --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取群邀请链接" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取群邀请链接" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-invite-url", + "value": "chat.shortcut_chat_invite_url" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-invite-url", + "value": "chat.shortcut_chat_invite_url" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-invite-url --group \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-invite-url --group \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取群邀请链接" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取群邀请链接" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_invite_url", + "parameter_count": 2, + "parameters": { + "expires-seconds": { + "description": "链接有效期(秒),0 表示永久", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "链接有效期(秒),0 表示永久" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "链接有效期(秒),0 表示永久" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "expiresSeconds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "expiresSeconds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "expiresSeconds", + "required": false, + "type": "integer" + }, + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_invite_url", + "primary_cli_path": "chat +chat-invite-url", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取群邀请链接", + "use_when": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ] + }, + "chat.shortcut_chat_list_all": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-list-all", + "cobra-help:dws chat +chat-list-all", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_all", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "分页拉取我加入的所有群列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_list_all", + "cli_name": "+chat-list-all", + "cli_path": "chat +chat-list-all", + "confirmation": "not_required", + "description": "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-list-all --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "分页拉取我加入的所有群列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "分页拉取我加入的所有群列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-list-all", + "value": "chat.shortcut_chat_list_all" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-list-all", + "value": "chat.shortcut_chat_list_all" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-list-all --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-list-all --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "分页拉取我加入的所有群列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "分页拉取我加入的所有群列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_list_all", + "parameter_count": 2, + "parameters": { + "cursor": { + "description": "分页游标,翻页传 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "default": "100", + "description": "每页返回数量(最大 200)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量(最大 200)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量(最大 200)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_chat_list_all", + "primary_cli_path": "chat +chat-list-all", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "分页拉取我加入的所有群列表", + "use_when": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ] + }, + "chat.shortcut_chat_list_join_requests": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-list-join-requests", + "cobra-help:dws chat +chat-list-join-requests", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_join_requests", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "分页拉取入群验证记录", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_list_join_requests", + "cli_name": "+chat-list-join-requests", + "cli_path": "chat +chat-list-join-requests", + "confirmation": "not_required", + "description": "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-list-join-requests --limit 30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "分页拉取入群验证记录" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "分页拉取入群验证记录" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-list-join-requests", + "value": "chat.shortcut_chat_list_join_requests" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-list-join-requests", + "value": "chat.shortcut_chat_list_join_requests" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-list-join-requests --limit 30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-list-join-requests --limit 30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "分页拉取入群验证记录" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "分页拉取入群验证记录" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_list_join_requests", + "parameter_count": 2, + "parameters": { + "cursor": { + "description": "分页游标,翻页传 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "default": "20", + "description": "单页数量(最大 50)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单页数量(最大 50)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单页数量(最大 50)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_chat_list_join_requests", + "primary_cli_path": "chat +chat-list-join-requests", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "分页拉取入群验证记录", + "use_when": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ] + }, + "chat.shortcut_chat_list_mine": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-list-mine", + "cobra-help:dws chat +chat-list-mine", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_mine", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "拉取我创建/管理的群", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_list_mine", + "cli_name": "+chat-list-mine", + "cli_path": "chat +chat-list-mine", + "confirmation": "not_required", + "description": "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-list-mine --role OWNER" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取我创建/管理的群" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取我创建/管理的群" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-list-mine", + "value": "chat.shortcut_chat_list_mine" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-list-mine", + "value": "chat.shortcut_chat_list_mine" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-list-mine --role OWNER" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-list-mine --role OWNER" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "拉取我创建/管理的群" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "拉取我创建/管理的群" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_list_mine", + "parameter_count": 3, + "parameters": { + "exclude-muted": { + "description": "排除已设置免打扰的群聊", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排除已设置免打扰的群聊" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排除已设置免打扰的群聊" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "excludeMuted" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "excludeMuted" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "excludeMuted", + "required": false, + "type": "boolean" + }, + "limit": { + "description": "最多返回群数量,不传返回全部", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "最多返回群数量,不传返回全部" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "最多返回群数量,不传返回全部" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "role": { + "description": "角色过滤(可选值: OWNER, ADMIN)", + "enum": [ + "OWNER", + "ADMIN" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "角色过滤(可选值: OWNER, ADMIN)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "角色过滤(可选值: OWNER, ADMIN)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "OWNER", + "ADMIN" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "OWNER", + "ADMIN" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "role" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "role" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "role", + "required": false, + "type": "string" + } + }, + "path": "chat.shortcut_chat_list_mine", + "primary_cli_path": "chat +chat-list-mine", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "拉取我创建/管理的群", + "use_when": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ] + }, + "chat.shortcut_chat_mute": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-mute", + "cobra-help:dws chat +chat-mute", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_mute", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "全员禁言 / 取消全员禁言", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_mute", + "cli_name": "+chat-mute", + "cli_path": "chat +chat-mute", + "confirmation": "user_required", + "description": "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-mute --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "全员禁言 / 取消全员禁言" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "全员禁言 / 取消全员禁言" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-mute", + "value": "chat.shortcut_chat_mute" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-mute", + "value": "chat.shortcut_chat_mute" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-mute --group \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-mute --group \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "全员禁言 / 取消全员禁言" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "全员禁言 / 取消全员禁言" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_mute", + "parameter_count": 2, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "off": { + "description": "取消全员禁言(不传则开启禁言)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "取消全员禁言(不传则开启禁言)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "取消全员禁言(不传则开启禁言)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "off" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "off" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "off", + "required": false, + "type": "boolean" + } + }, + "path": "chat.shortcut_chat_mute", + "primary_cli_path": "chat +chat-mute", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "全员禁言 / 取消全员禁言", + "use_when": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ] + }, + "chat.shortcut_chat_role_add": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-role-add", + "cobra-help:dws chat +chat-role-add", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_add", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "添加群身份", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_add", + "cli_name": "+chat-role-add", + "cli_path": "chat +chat-role-add", + "confirmation": "user_required", + "description": "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-add --group \u003copenConversationId\u003e --name \"管理员\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "添加群身份" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "添加群身份" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-add", + "value": "chat.shortcut_chat_role_add" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-add", + "value": "chat.shortcut_chat_role_add" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-add --group \u003copenConversationId\u003e --name \"管理员\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-add --group \u003copenConversationId\u003e --name \"管理员\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "添加群身份" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "添加群身份" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_role_add", + "parameter_count": 2, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "name": { + "description": "群身份名称(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群身份名称(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群身份名称(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_role_add", + "primary_cli_path": "chat +chat-role-add", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "添加群身份", + "use_when": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ] + }, + "chat.shortcut_chat_role_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-role-list", + "cobra-help:dws chat +chat-role-list", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_list", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "拉取会话的群身份列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_list", + "cli_name": "+chat-role-list", + "cli_path": "chat +chat-role-list", + "confirmation": "not_required", + "description": "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-list --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取会话的群身份列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取会话的群身份列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-list", + "value": "chat.shortcut_chat_role_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-list", + "value": "chat.shortcut_chat_role_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-list --group \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-list --group \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "拉取会话的群身份列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "拉取会话的群身份列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_role_list", + "parameter_count": 1, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_role_list", + "primary_cli_path": "chat +chat-role-list", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "拉取会话的群身份列表", + "use_when": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ] + }, + "chat.shortcut_chat_role_query_user": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-role-query-user", + "cobra-help:dws chat +chat-role-query-user", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_query_user", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "查询群成员的群身份", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_query_user", + "cli_name": "+chat-role-query-user", + "cli_path": "chat +chat-role-query-user", + "confirmation": "not_required", + "description": "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-query-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查询群成员的群身份" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查询群成员的群身份" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-query-user", + "value": "chat.shortcut_chat_role_query_user" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-query-user", + "value": "chat.shortcut_chat_role_query_user" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-query-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-query-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询群成员的群身份" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询群成员的群身份" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_role_query_user", + "parameter_count": 2, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "user": { + "description": "用户 userId 或 openDingTalkId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 或 openDingTalkId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 或 openDingTalkId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "user" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "user" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_role_query_user", + "primary_cli_path": "chat +chat-role-query-user", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询群成员的群身份", + "use_when": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ] + }, + "chat.shortcut_chat_role_set_user": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-role-set-user", + "cobra-help:dws chat +chat-role-set-user", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_set_user", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "设置用户的群身份(覆盖该用户的全部群身份)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_set_user", + "cli_name": "+chat-role-set-user", + "cli_path": "chat +chat-role-set-user", + "confirmation": "user_required", + "description": "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-set-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e --role-ids roleId1,roleId2" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置用户的群身份(覆盖该用户的全部群身份)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置用户的群身份(覆盖该用户的全部群身份)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-set-user", + "value": "chat.shortcut_chat_role_set_user" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-set-user", + "value": "chat.shortcut_chat_role_set_user" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-set-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e --role-ids roleId1,roleId2" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-set-user --group \u003copenConversationId\u003e --user \u003cuserId\u003e --role-ids roleId1,roleId2" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "设置用户的群身份(覆盖该用户的全部群身份)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "设置用户的群身份(覆盖该用户的全部群身份)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_role_set_user", + "parameter_count": 3, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "role-ids": { + "description": "群身份 openRoleId 列表(空则清除全部)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群身份 openRoleId 列表(空则清除全部)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群身份 openRoleId 列表(空则清除全部)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "roleIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "roleIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "roleIds", + "required": true, + "type": "array" + }, + "user": { + "description": "用户 userId 或 openDingTalkId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户 userId 或 openDingTalkId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户 userId 或 openDingTalkId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "user" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "user" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "user", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_role_set_user", + "primary_cli_path": "chat +chat-role-set-user", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "设置用户的群身份(覆盖该用户的全部群身份)", + "use_when": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ] + }, + "chat.shortcut_chat_role_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-role-update", + "cobra-help:dws chat +chat-role-update", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_update", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "更新群身份名称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_role_update", + "cli_name": "+chat-role-update", + "cli_path": "chat +chat-role-update", + "confirmation": "user_required", + "description": "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-role-update --group \u003copenConversationId\u003e --role-id \u003copenRoleId\u003e --name \"新名称\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "更新群身份名称" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "更新群身份名称" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-update", + "value": "chat.shortcut_chat_role_update" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-role-update", + "value": "chat.shortcut_chat_role_update" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-update --group \u003copenConversationId\u003e --role-id \u003copenRoleId\u003e --name \"新名称\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-role-update --group \u003copenConversationId\u003e --role-id \u003copenRoleId\u003e --name \"新名称\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "更新群身份名称" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "更新群身份名称" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_role_update", + "parameter_count": 3, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "name": { + "description": "群身份新名称(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群身份新名称(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群身份新名称(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + }, + "role-id": { + "description": "群身份 openRoleId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群身份 openRoleId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群身份 openRoleId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "roleId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "roleId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "roleId", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_role_update", + "primary_cli_path": "chat +chat-role-update", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "更新群身份名称", + "use_when": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ] + }, + "chat.shortcut_chat_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-search", + "cobra-help:dws chat +chat-search", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_search", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "按关键词搜索群聊", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_search", + "cli_name": "+chat-search", + "cli_path": "chat +chat-search", + "confirmation": "not_required", + "description": "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。\n\n参数约束:\n - --query、--keyword 至少指定一个", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-search --query \"项目冲刺\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按关键词搜索群聊" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按关键词搜索群聊" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-search", + "value": "chat.shortcut_chat_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-search", + "value": "chat.shortcut_chat_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。\n\n参数约束:\n - --query、--keyword 至少指定一个" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。\n\n参数约束:\n - --query、--keyword 至少指定一个" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-search --query \"项目冲刺\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-search --query \"项目冲刺\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键词搜索群聊" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键词搜索群聊" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_search", + "parameter_count": 4, + "parameters": { + "cursor": { + "default": "0", + "description": "分页游标,翻页传 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "exclude-muted": { + "description": "排除已设置免打扰的群聊", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排除已设置免打扰的群聊" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排除已设置免打扰的群聊" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "excludeMuted" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "excludeMuted" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "excludeMuted", + "required": false, + "type": "boolean" + }, + "limit": { + "default": "20", + "description": "每页返回数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "群名称关键词", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群名称关键词" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群名称关键词" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_search", + "primary_cli_path": "chat +chat-search", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键词搜索群聊", + "use_when": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ] + }, + "chat.shortcut_chat_set_admin": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-set-admin", + "cobra-help:dws chat +chat-set-admin", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_set_admin", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "设置 / 取消群管理员", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_set_admin", + "cli_name": "+chat-set-admin", + "cli_path": "chat +chat-set-admin", + "confirmation": "user_required", + "description": "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-set-admin --group \u003copenConversationId\u003e --users userId1,userId2" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置 / 取消群管理员" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置 / 取消群管理员" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-set-admin", + "value": "chat.shortcut_chat_set_admin" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-set-admin", + "value": "chat.shortcut_chat_set_admin" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-set-admin --group \u003copenConversationId\u003e --users userId1,userId2" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-set-admin --group \u003copenConversationId\u003e --users userId1,userId2" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "设置 / 取消群管理员" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "设置 / 取消群管理员" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_set_admin", + "parameter_count": 3, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "off": { + "description": "取消管理员(不传则设为管理员)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "取消管理员(不传则设为管理员)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "取消管理员(不传则设为管理员)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "off" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "off" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "off", + "required": false, + "type": "boolean" + }, + "users": { + "description": "成员 userId 或 openDingTalkId 列表(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "成员 userId 或 openDingTalkId 列表(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "成员 userId 或 openDingTalkId 列表(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + } + }, + "path": "chat.shortcut_chat_set_admin", + "primary_cli_path": "chat +chat-set-admin", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "设置 / 取消群管理员", + "use_when": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ] + }, + "chat.shortcut_chat_set_history": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-set-history", + "cobra-help:dws chat +chat-set-history", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_set_history", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "设置新成员入群可查看历史消息范围", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_set_history", + "cli_name": "+chat-set-history", + "cli_path": "chat +chat-set-history", + "confirmation": "user_required", + "description": "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-set-history --group \u003copenConversationId\u003e --option RECENT_100" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置新成员入群可查看历史消息范围" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置新成员入群可查看历史消息范围" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-set-history", + "value": "chat.shortcut_chat_set_history" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-set-history", + "value": "chat.shortcut_chat_set_history" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-set-history --group \u003copenConversationId\u003e --option RECENT_100" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-set-history --group \u003copenConversationId\u003e --option RECENT_100" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "设置新成员入群可查看历史消息范围" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "设置新成员入群可查看历史消息范围" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_set_history", + "parameter_count": 2, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "option": { + "description": "可见范围(必填;可选值: FORBIDDEN, RECENT_100, ALL)", + "enum": [ + "FORBIDDEN", + "RECENT_100", + "ALL" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "可见范围(必填;可选值: FORBIDDEN, RECENT_100, ALL)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "可见范围(必填;可选值: FORBIDDEN, RECENT_100, ALL)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "FORBIDDEN", + "RECENT_100", + "ALL" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "FORBIDDEN", + "RECENT_100", + "ALL" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "option" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "option" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "option", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_set_history", + "primary_cli_path": "chat +chat-set-history", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "设置新成员入群可查看历史消息范围", + "use_when": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ] + }, + "chat.shortcut_chat_update_alias": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-update-alias", + "cobra-help:dws chat +chat-update-alias", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_update_alias", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "设置群备注(仅自己可见)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_update_alias", + "cli_name": "+chat-update-alias", + "cli_path": "chat +chat-update-alias", + "confirmation": "user_required", + "description": "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-update-alias --group \u003copenConversationId\u003e --alias-title \"项目A群\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置群备注(仅自己可见)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置群备注(仅自己可见)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-update-alias", + "value": "chat.shortcut_chat_update_alias" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-update-alias", + "value": "chat.shortcut_chat_update_alias" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-update-alias --group \u003copenConversationId\u003e --alias-title \"项目A群\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-update-alias --group \u003copenConversationId\u003e --alias-title \"项目A群\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "设置群备注(仅自己可见)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "设置群备注(仅自己可见)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_update_alias", + "parameter_count": 2, + "parameters": { + "alias-title": { + "description": "群备注标题(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群备注标题(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群备注标题(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "aliasTitle" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "aliasTitle" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "aliasTitle", + "required": true, + "type": "string" + }, + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_update_alias", + "primary_cli_path": "chat +chat-update-alias", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "设置群备注(仅自己可见)", + "use_when": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ] + }, + "chat.shortcut_chat_update_nick": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +chat-update-nick", + "cobra-help:dws chat +chat-update-nick", + "internal/cli/schema_command_registry.json#chat.shortcut_chat_update_nick", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "设置当前用户在群内的群昵称", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_chat_update_nick", + "cli_name": "+chat-update-nick", + "cli_path": "chat +chat-update-nick", + "confirmation": "user_required", + "description": "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +chat-update-nick --group \u003copenConversationId\u003e --nick \"我的群昵称\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置当前用户在群内的群昵称" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "设置当前用户在群内的群昵称" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +chat-update-nick", + "value": "chat.shortcut_chat_update_nick" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +chat-update-nick", + "value": "chat.shortcut_chat_update_nick" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-update-nick --group \u003copenConversationId\u003e --nick \"我的群昵称\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +chat-update-nick --group \u003copenConversationId\u003e --nick \"我的群昵称\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "设置当前用户在群内的群昵称" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "设置当前用户在群内的群昵称" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_chat_update_nick", + "parameter_count": 2, + "parameters": { + "group": { + "description": "群 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "nick": { + "description": "个人群昵称(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "个人群昵称(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "个人群昵称(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "nick" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "nick" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "nick", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_chat_update_nick", + "primary_cli_path": "chat +chat-update-nick", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "设置当前用户在群内的群昵称", + "use_when": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ] + }, + "chat.shortcut_conversation_clear_all_red_point": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +conversation-clear-all-red-point", + "cobra-help:dws chat +conversation-clear-all-red-point", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_clear_all_red_point", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "清除所有会话红点(全部已读)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_clear_all_red_point", + "cli_name": "+conversation-clear-all-red-point", + "cli_path": "chat +conversation-clear-all-red-point", + "confirmation": "user_required", + "description": "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-clear-all-red-point" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "清除所有会话红点(全部已读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "清除所有会话红点(全部已读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-clear-all-red-point", + "value": "chat.shortcut_conversation_clear_all_red_point" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-clear-all-red-point", + "value": "chat.shortcut_conversation_clear_all_red_point" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-clear-all-red-point" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-clear-all-red-point" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "清除所有会话红点(全部已读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "清除所有会话红点(全部已读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ] + } + }, + "has_parameters": false, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_conversation_clear_all_red_point", + "parameter_count": 0, + "parameters": {}, + "path": "chat.shortcut_conversation_clear_all_red_point", + "primary_cli_path": "chat +conversation-clear-all-red-point", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "清除所有会话红点(全部已读)", + "use_when": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ] + }, + "chat.shortcut_conversation_info": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +conversation-info", + "cobra-help:dws chat +conversation-info", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_info", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_info", + "cli_name": "+conversation-info", + "cli_path": "chat +conversation-info", + "confirmation": "not_required", + "description": "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-info --group \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-info", + "value": "chat.shortcut_conversation_info" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-info", + "value": "chat.shortcut_conversation_info" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-info --group \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-info --group \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_conversation_info", + "parameter_count": 2, + "parameters": { + "group": { + "description": "群聊 openConversationId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群聊 openConversationId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群聊 openConversationId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": false, + "type": "string" + }, + "open-dingtalk-id": { + "description": "单聊对方 openDingTalkId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单聊对方 openDingTalkId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单聊对方 openDingTalkId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "openDingtalkId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "openDingtalkId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "openDingtalkId", + "required": false, + "type": "string" + } + }, + "path": "chat.shortcut_conversation_info", + "primary_cli_path": "chat +conversation-info", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "use_when": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ] + }, + "chat.shortcut_conversation_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +conversation-list", + "cobra-help:dws chat +conversation-list", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_list", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "分页获取当前用户的全部会话列表(单聊+群聊)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_list", + "cli_name": "+conversation-list", + "cli_path": "chat +conversation-list", + "confirmation": "not_required", + "description": "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-list --limit 50" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "分页获取当前用户的全部会话列表(单聊+群聊)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "分页获取当前用户的全部会话列表(单聊+群聊)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-list", + "value": "chat.shortcut_conversation_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-list", + "value": "chat.shortcut_conversation_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-list --limit 50" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-list --limit 50" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "分页获取当前用户的全部会话列表(单聊+群聊)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "分页获取当前用户的全部会话列表(单聊+群聊)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_conversation_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标(首次不传或 0)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标(首次不传或 0)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标(首次不传或 0)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "cursor", + "required": false, + "type": "integer" + }, + "exclude-muted": { + "description": "排除已免打扰会话", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排除已免打扰会话" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排除已免打扰会话" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "excludeMuted" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "excludeMuted" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "excludeMuted", + "required": false, + "type": "boolean" + }, + "limit": { + "default": "100", + "description": "每页数量(1-100)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量(1-100)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量(1-100)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_conversation_list", + "primary_cli_path": "chat +conversation-list", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "分页获取当前用户的全部会话列表(单聊+群聊)", + "use_when": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + "chat.shortcut_conversation_list_top": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +conversation-list-top", + "cobra-help:dws chat +conversation-list-top", + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_list_top", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "拉取置顶会话列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_conversation_list_top", + "cli_name": "+conversation-list-top", + "cli_path": "chat +conversation-list-top", + "confirmation": "not_required", + "description": "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +conversation-list-top --limit 1000" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取置顶会话列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取置顶会话列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-list-top", + "value": "chat.shortcut_conversation_list_top" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +conversation-list-top", + "value": "chat.shortcut_conversation_list_top" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-list-top --limit 1000" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +conversation-list-top --limit 1000" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "拉取置顶会话列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "拉取置顶会话列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_conversation_list_top", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标(首次不传或 0)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标(首次不传或 0)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标(首次不传或 0)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "cursor", + "required": false, + "type": "integer" + }, + "exclude-muted": { + "description": "排除已免打扰会话", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排除已免打扰会话" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排除已免打扰会话" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "excludeMuted" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "excludeMuted" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "excludeMuted", + "required": false, + "type": "boolean" + }, + "limit": { + "description": "每页数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_conversation_list_top", + "primary_cli_path": "chat +conversation-list-top", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "拉取置顶会话列表", + "use_when": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + "chat.shortcut_dm": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +dm", + "cobra-help:dws chat +dm", + "internal/cli/schema_command_registry.json#chat.shortcut_dm", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "按姓名直接给某人发单聊消息(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_dm", + "cli_name": "+dm", + "cli_path": "chat +dm", + "confirmation": "user_required", + "description": "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按姓名直接给某人发单聊消息(自动解析 userId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按姓名直接给某人发单聊消息(自动解析 userId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +dm", + "value": "chat.shortcut_dm" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +dm", + "value": "chat.shortcut_dm" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名直接给某人发单聊消息(自动解析 userId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名直接给某人发单聊消息(自动解析 userId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_dm", + "parameter_count": 3, + "parameters": { + "ai-tag": { + "default": "true", + "description": "消息是否带 AI 发送角标(默认 true)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "aiTag" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "aiTag" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "aiTag", + "required": false, + "type": "boolean" + }, + "text": { + "description": "消息内容(支持 Markdown)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息内容(支持 Markdown)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息内容(支持 Markdown)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "text" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "text" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "text", + "required": true, + "type": "string" + }, + "to": { + "description": "收件人姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "收件人姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "收件人姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "to" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "to" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "to", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_dm", + "primary_cli_path": "chat +dm", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按姓名直接给某人发单聊消息(自动解析 userId)", + "use_when": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ] + }, + "chat.shortcut_group_members": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +group-members", + "cobra-help:dws chat +group-members", + "internal/cli/schema_command_registry.json#chat.shortcut_group_members", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "按群名列出群成员(自动搜群解析 openConversationId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_group_members", + "cli_name": "+group-members", + "cli_path": "chat +group-members", + "confirmation": "not_required", + "description": "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +group-members --group 项目冲刺" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按群名列出群成员(自动搜群解析 openConversationId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按群名列出群成员(自动搜群解析 openConversationId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +group-members", + "value": "chat.shortcut_group_members" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +group-members", + "value": "chat.shortcut_group_members" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +group-members --group 项目冲刺" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +group-members --group 项目冲刺" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按群名列出群成员(自动搜群解析 openConversationId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按群名列出群成员(自动搜群解析 openConversationId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_group_members", + "parameter_count": 1, + "parameters": { + "group": { + "description": "群名称(搜群关键词,用群名里连续的核心词)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群名称(搜群关键词,用群名里连续的核心词)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群名称(搜群关键词,用群名里连续的核心词)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_group_members", + "primary_cli_path": "chat +group-members", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按群名列出群成员(自动搜群解析 openConversationId)", + "use_when": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ] + }, + "chat.shortcut_messages_list_direct": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-list-direct", + "cobra-help:dws chat +messages-list-direct", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_direct", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "拉取单聊会话消息", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_list_direct", + "cli_name": "+messages-list-direct", + "cli_path": "chat +messages-list-direct", + "confirmation": "not_required", + "description": "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-list-direct --user \u003cuserId\u003e --time \"2025-03-01 00:00:00\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取单聊会话消息" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取单聊会话消息" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-list-direct", + "value": "chat.shortcut_messages_list_direct" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-list-direct", + "value": "chat.shortcut_messages_list_direct" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-list-direct --user \u003cuserId\u003e --time \"2025-03-01 00:00:00\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-list-direct --user \u003cuserId\u003e --time \"2025-03-01 00:00:00\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "拉取单聊会话消息" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "拉取单聊会话消息" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_list_direct", + "parameter_count": 5, + "parameters": { + "forward": { + "default": "true", + "description": "true=往现在拉,false=往以前拉", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "true=往现在拉,false=往以前拉" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "true=往现在拉,false=往以前拉" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "forward" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "forward" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "forward", + "required": false, + "type": "boolean" + }, + "limit": { + "description": "每页返回数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "open-dingtalk-id": { + "description": "对方 openDingTalkId(与 --user 二选一)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "对方 openDingTalkId(与 --user 二选一)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "对方 openDingTalkId(与 --user 二选一)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "openDingtalkId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "openDingtalkId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "openDingtalkId", + "required": false, + "type": "string" + }, + "time": { + "description": "起始时间,如 \"2025-03-01 00:00:00\"(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "起始时间,如 \"2025-03-01 00:00:00\"(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "起始时间,如 \"2025-03-01 00:00:00\"(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "time" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "time" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "time", + "required": true, + "type": "string" + }, + "user": { + "description": "对方 userId(与 --open-dingtalk-id 二选一)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "对方 userId(与 --open-dingtalk-id 二选一)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "对方 userId(与 --open-dingtalk-id 二选一)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "user" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "user" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "user", + "required": false, + "type": "string" + } + }, + "path": "chat.shortcut_messages_list_direct", + "primary_cli_path": "chat +messages-list-direct", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "拉取单聊会话消息", + "use_when": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ] + }, + "chat.shortcut_messages_list_pin": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-list-pin", + "cobra-help:dws chat +messages-list-pin", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_pin", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "拉取会话中钉住的消息列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_list_pin", + "cli_name": "+messages-list-pin", + "cli_path": "chat +messages-list-pin", + "confirmation": "not_required", + "description": "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-list-pin --open-conversation-id \u003copenConversationId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取会话中钉住的消息列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "拉取会话中钉住的消息列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-list-pin", + "value": "chat.shortcut_messages_list_pin" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-list-pin", + "value": "chat.shortcut_messages_list_pin" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-list-pin --open-conversation-id \u003copenConversationId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-list-pin --open-conversation-id \u003copenConversationId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "拉取会话中钉住的消息列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "拉取会话中钉住的消息列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_list_pin", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标,翻页传 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,翻页传 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "open-conversation-id": { + "description": "会话 openConversationId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会话 openConversationId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会话 openConversationId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "openConversationId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "openConversationId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "openConversationId", + "required": true, + "type": "string" + }, + "size": { + "description": "一次拉取的消息数量(默认 20,最大 100)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "一次拉取的消息数量(默认 20,最大 100)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "一次拉取的消息数量(默认 20,最大 100)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "size", + "required": false, + "type": "integer" + } + }, + "path": "chat.shortcut_messages_list_pin", + "primary_cli_path": "chat +messages-list-pin", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "拉取会话中钉住的消息列表", + "use_when": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ] + }, + "chat.shortcut_messages_list_unread_conversations": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-list-unread-conversations", + "cobra-help:dws chat +messages-list-unread-conversations", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_unread_conversations", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "获取有未读消息的会话列表", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_list_unread_conversations", + "cli_name": "+messages-list-unread-conversations", + "cli_path": "chat +messages-list-unread-conversations", + "confirmation": "not_required", + "description": "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-list-unread-conversations --count 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取有未读消息的会话列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "获取有未读消息的会话列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-list-unread-conversations", + "value": "chat.shortcut_messages_list_unread_conversations" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-list-unread-conversations", + "value": "chat.shortcut_messages_list_unread_conversations" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-list-unread-conversations --count 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-list-unread-conversations --count 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取有未读消息的会话列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取有未读消息的会话列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_list_unread_conversations", + "parameter_count": 2, + "parameters": { + "count": { + "description": "返回的会话条数", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回的会话条数" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回的会话条数" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "count" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "count" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "count", + "required": false, + "type": "integer" + }, + "exclude-muted": { + "description": "排除已免打扰会话", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排除已免打扰会话" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排除已免打扰会话" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "excludeMuted" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "excludeMuted" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "excludeMuted", + "required": false, + "type": "boolean" + } + }, + "path": "chat.shortcut_messages_list_unread_conversations", + "primary_cli_path": "chat +messages-list-unread-conversations", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取有未读消息的会话列表", + "use_when": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ] + }, + "chat.shortcut_messages_mget": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-mget", + "cobra-help:dws chat +messages-mget", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_mget", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "根据消息 ID 批量查询消息(最多 50 条)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_mget", + "cli_name": "+messages-mget", + "cli_path": "chat +messages-mget", + "confirmation": "not_required", + "description": "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "根据消息 ID 批量查询消息(最多 50 条)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "根据消息 ID 批量查询消息(最多 50 条)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-mget", + "value": "chat.shortcut_messages_mget" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-mget", + "value": "chat.shortcut_messages_mget" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "根据消息 ID 批量查询消息(最多 50 条)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "根据消息 ID 批量查询消息(最多 50 条)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_mget", + "parameter_count": 1, + "parameters": { + "msg-ids": { + "description": "消息 openMsgId 列表(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息 openMsgId 列表(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息 openMsgId 列表(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "msgIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "msgIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "msgIds", + "required": true, + "type": "array" + } + }, + "path": "chat.shortcut_messages_mget", + "primary_cli_path": "chat +messages-mget", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "根据消息 ID 批量查询消息(最多 50 条)", + "use_when": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ] + }, + "chat.shortcut_messages_query_send_status": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-query-send-status", + "cobra-help:dws chat +messages-query-send-status", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_query_send_status", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "查询消息发送状态", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_query_send_status", + "cli_name": "+messages-query-send-status", + "cli_path": "chat +messages-query-send-status", + "confirmation": "not_required", + "description": "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-query-send-status --open-task-id \u003copenTaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查询消息发送状态" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查询消息发送状态" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-query-send-status", + "value": "chat.shortcut_messages_query_send_status" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-query-send-status", + "value": "chat.shortcut_messages_query_send_status" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-query-send-status --open-task-id \u003copenTaskId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-query-send-status --open-task-id \u003copenTaskId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询消息发送状态" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询消息发送状态" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_query_send_status", + "parameter_count": 1, + "parameters": { + "open-task-id": { + "description": "发送消息时返回的 openTaskId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "发送消息时返回的 openTaskId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "发送消息时返回的 openTaskId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "openTaskId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "openTaskId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "openTaskId", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_messages_query_send_status", + "primary_cli_path": "chat +messages-query-send-status", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询消息发送状态", + "use_when": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ] + }, + "chat.shortcut_messages_read_status": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-read-status", + "cobra-help:dws chat +messages-read-status", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_read_status", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "查询消息的已读/未读状态", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_read_status", + "cli_name": "+messages-read-status", + "cli_path": "chat +messages-read-status", + "confirmation": "not_required", + "description": "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。\n\n参数约束:\n - --conversation-id、--group、--id 必须且只能指定一个", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-read-status --conversation-id \u003copenConversationId\u003e --message-id \u003copenMessageId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查询消息的已读/未读状态" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "查询消息的已读/未读状态" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-read-status", + "value": "chat.shortcut_messages_read_status" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-read-status", + "value": "chat.shortcut_messages_read_status" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。\n\n参数约束:\n - --conversation-id、--group、--id 必须且只能指定一个" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。\n\n参数约束:\n - --conversation-id、--group、--id 必须且只能指定一个" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-read-status --conversation-id \u003copenConversationId\u003e --message-id \u003copenMessageId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-read-status --conversation-id \u003copenConversationId\u003e --message-id \u003copenMessageId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询消息的已读/未读状态" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询消息的已读/未读状态" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_read_status", + "parameter_count": 3, + "parameters": { + "conversation-id": { + "description": "会话 openConversationId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会话 openConversationId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会话 openConversationId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "conversationId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "conversationId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "conversationId", + "required": true, + "type": "string" + }, + "message-id": { + "description": "消息 openMessageId(当前用户发送的消息)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息 openMessageId(当前用户发送的消息)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息 openMessageId(当前用户发送的消息)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "messageId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "messageId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "messageId", + "required": true, + "type": "string" + }, + "users": { + "description": "目标 userId 或 openDingTalkId 列表(不传返回全部接收者)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标 userId 或 openDingTalkId 列表(不传返回全部接收者)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标 userId 或 openDingTalkId 列表(不传返回全部接收者)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": false, + "type": "array" + } + }, + "path": "chat.shortcut_messages_read_status", + "primary_cli_path": "chat +messages-read-status", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询消息的已读/未读状态", + "use_when": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ] + }, + "chat.shortcut_messages_send_by_webhook": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-send-by-webhook", + "cobra-help:dws chat +messages-send-by-webhook", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_send_by_webhook", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "自定义机器人 Webhook 发送群消息", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_send_by_webhook", + "cli_name": "+messages-send-by-webhook", + "cli_path": "chat +messages-send-by-webhook", + "confirmation": "user_required", + "description": "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-send-by-webhook --token \u003ctoken\u003e --title \"告警\" --text \"CPU 超 90%\" --at-all" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "自定义机器人 Webhook 发送群消息" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "自定义机器人 Webhook 发送群消息" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-send-by-webhook", + "value": "chat.shortcut_messages_send_by_webhook" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-send-by-webhook", + "value": "chat.shortcut_messages_send_by_webhook" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-send-by-webhook --token \u003ctoken\u003e --title \"告警\" --text \"CPU 超 90%\" --at-all" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-send-by-webhook --token \u003ctoken\u003e --title \"告警\" --text \"CPU 超 90%\" --at-all" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "自定义机器人 Webhook 发送群消息" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "自定义机器人 Webhook 发送群消息" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_send_by_webhook", + "parameter_count": 6, + "parameters": { + "at-all": { + "description": "@ 所有人", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "@ 所有人" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "@ 所有人" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "atAll" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "atAll" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "atAll", + "required": false, + "type": "boolean" + }, + "at-mobiles": { + "description": "@ 的手机号列表", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "@ 的手机号列表" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "@ 的手机号列表" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "atMobiles" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "atMobiles" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "atMobiles", + "required": false, + "type": "array" + }, + "at-users": { + "description": "@ 的 userId 列表", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "@ 的 userId 列表" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "@ 的 userId 列表" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "atUsers" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "atUsers" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "atUsers", + "required": false, + "type": "array" + }, + "text": { + "description": "消息正文(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息正文(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息正文(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "text" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "text" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "text", + "required": true, + "type": "string" + }, + "title": { + "description": "消息标题(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息标题(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息标题(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "title" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "title" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "title", + "required": true, + "type": "string" + }, + "token": { + "description": "Webhook token(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "Webhook token(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "Webhook token(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "token" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "token" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "token", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_messages_send_by_webhook", + "primary_cli_path": "chat +messages-send-by-webhook", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "自定义机器人 Webhook 发送群消息", + "use_when": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ] + }, + "chat.shortcut_messages_update_card": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +messages-update-card", + "cobra-help:dws chat +messages-update-card", + "internal/cli/schema_command_registry.json#chat.shortcut_messages_update_card", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_messages_update_card", + "cli_name": "+messages-update-card", + "cli_path": "chat +messages-update-card", + "confirmation": "user_required", + "description": "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +messages-update-card --biz-id \u003cbizId\u003e --content \"内容\" --flow-status 3" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "流式更新卡片内容(最后一次 --flow-status 应为 3)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "流式更新卡片内容(最后一次 --flow-status 应为 3)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +messages-update-card", + "value": "chat.shortcut_messages_update_card" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +messages-update-card", + "value": "chat.shortcut_messages_update_card" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-update-card --biz-id \u003cbizId\u003e --content \"内容\" --flow-status 3" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +messages-update-card --biz-id \u003cbizId\u003e --content \"内容\" --flow-status 3" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "流式更新卡片内容(最后一次 --flow-status 应为 3)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "流式更新卡片内容(最后一次 --flow-status 应为 3)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_messages_update_card", + "parameter_count": 3, + "parameters": { + "biz-id": { + "description": "send-card 返回的卡片业务 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "send-card 返回的卡片业务 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "send-card 返回的卡片业务 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "bizId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "bizId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "bizId", + "required": true, + "type": "string" + }, + "content": { + "description": "卡片消息内容(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "卡片消息内容(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "卡片消息内容(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "content" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "content" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "content", + "required": true, + "type": "string" + }, + "flow-status": { + "description": "流式状态 1处理中/2输入中/3完成/4执行中/5错误(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "流式状态 1处理中/2输入中/3完成/4执行中/5错误(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "流式状态 1处理中/2输入中/3完成/4执行中/5错误(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "flowStatus" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "flowStatus" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "flowStatus", + "required": true, + "type": "integer" + } + }, + "path": "chat.shortcut_messages_update_card", + "primary_cli_path": "chat +messages-update-card", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "use_when": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ] + }, + "chat.shortcut_my_groups": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +my-groups", + "cobra-help:dws chat +my-groups", + "internal/cli/schema_command_registry.json#chat.shortcut_my_groups", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "列出我加入的群,可按类型过滤并投影关键字段", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_my_groups", + "cli_name": "+my-groups", + "cli_path": "chat +my-groups", + "confirmation": "not_required", + "description": "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "列出我加入的群,可按类型过滤并投影关键字段" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "列出我加入的群,可按类型过滤并投影关键字段" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +my-groups", + "value": "chat.shortcut_my_groups" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +my-groups", + "value": "chat.shortcut_my_groups" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我加入的群,可按类型过滤并投影关键字段" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我加入的群,可按类型过滤并投影关键字段" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_my_groups", + "parameter_count": 1, + "parameters": { + "type": { + "description": "按群类型过滤(可选,如返回中的 groupType/conversationType,大小写不敏感)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按群类型过滤(可选,如返回中的 groupType/conversationType,大小写不敏感)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按群类型过滤(可选,如返回中的 groupType/conversationType,大小写不敏感)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "type" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "type" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "chat.shortcut_my_groups", + "primary_cli_path": "chat +my-groups", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我加入的群,可按类型过滤并投影关键字段", + "use_when": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ] + }, + "chat.shortcut_send_to_group": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +send-to-group", + "cobra-help:dws chat +send-to-group", + "internal/cli/schema_command_registry.json#chat.shortcut_send_to_group", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_send_to_group", + "cli_name": "+send-to-group", + "cli_path": "chat +send-to-group", + "confirmation": "user_required", + "description": "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。", + "display": "群聊 / 消息 / 机器人", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按群名直接给群发消息(自动搜群解析 openConversationId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "按群名直接给群发消息(自动搜群解析 openConversationId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +send-to-group", + "value": "chat.shortcut_send_to_group" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +send-to-group", + "value": "chat.shortcut_send_to_group" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按群名直接给群发消息(自动搜群解析 openConversationId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按群名直接给群发消息(自动搜群解析 openConversationId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_send_to_group", + "parameter_count": 3, + "parameters": { + "ai-tag": { + "default": "true", + "description": "消息是否带 AI 发送角标(默认 true)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "aiTag" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "aiTag" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "aiTag", + "required": false, + "type": "boolean" + }, + "group": { + "description": "群名称(搜群关键词,用群名里连续的核心词)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "群名称(搜群关键词,用群名里连续的核心词)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "群名称(搜群关键词,用群名里连续的核心词)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "group" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "group" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "group", + "required": true, + "type": "string" + }, + "text": { + "description": "消息内容(支持 Markdown)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息内容(支持 Markdown)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息内容(支持 Markdown)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "text" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "text" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "text", + "required": true, + "type": "string" + } + }, + "path": "chat.shortcut_send_to_group", + "primary_cli_path": "chat +send-to-group", + "product_id": "chat", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "use_when": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ] + }, + "chat.shortcut_unread_chats": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:chat +unread-chats", + "cobra-help:dws chat +unread-chats", + "internal/cli/schema_command_registry.json#chat.shortcut_unread_chats", + "internal/cli/schema_hints/metadata/chat.json", + "internal/cli/schema_hints/selection/chat.json" + ], + "agent_summary": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "agent_summary_source": "dws-agent-selection/chat", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "chat.shortcut_unread_chats", + "cli_name": "+unread-chats", + "cli_path": "chat +unread-chats", + "confirmation": "not_required", + "description": "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。", + "display": "群聊 / 消息 / 机器人", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "列出我有未读消息的会话(投影会话名/未读数/会话ID)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": "列出我有未读消息的会话(投影会话名/未读数/会话ID)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "chat +unread-chats", + "value": "chat.shortcut_unread_chats" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "chat +unread-chats", + "value": "chat.shortcut_unread_chats" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/chat.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我有未读消息的会话(投影会话名/未读数/会话ID)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我有未读消息的会话(投影会话名/未读数/会话ID)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/chat.json", + "value": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_unread_chats", + "parameter_count": 2, + "parameters": { + "count": { + "description": "返回未读会话条数(可选,不传则使用服务端默认值)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回未读会话条数(可选,不传则使用服务端默认值)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回未读会话条数(可选,不传则使用服务端默认值)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "count" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "count" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "count", + "required": false, + "type": "integer" + }, + "exclude-muted": { + "description": "是否排除已设置免打扰的会话(可选,默认 false)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "是否排除已设置免打扰的会话(可选,默认 false)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "是否排除已设置免打扰的会话(可选,默认 false)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "excludeMuted" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "excludeMuted" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "excludeMuted", + "required": false, + "type": "boolean" + } + }, + "path": "chat.shortcut_unread_chats", + "primary_cli_path": "chat +unread-chats", + "product_id": "chat", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "use_when": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ] + }, "chat.transfer_group_owner": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -227002,6 +291603,5525 @@ "用户明确要求修改自己的 profile 昵称或头像 fileId" ] }, + "contact.shortcut_by_mobile": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +by-mobile", + "cobra-help:dws contact +by-mobile", + "internal/cli/schema_command_registry.json#contact.shortcut_by_mobile", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_by_mobile", + "cli_name": "+by-mobile", + "cli_path": "contact +by-mobile", + "confirmation": "not_required", + "description": "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +by-mobile --mobile 13800138000" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按手机号查询某人的完整资料(自动解析 userId 后取详情)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按手机号查询某人的完整资料(自动解析 userId 后取详情)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +by-mobile", + "value": "contact.shortcut_by_mobile" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +by-mobile", + "value": "contact.shortcut_by_mobile" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +by-mobile --mobile 13800138000" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +by-mobile --mobile 13800138000" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按手机号查询某人的完整资料(自动解析 userId 后取详情)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按手机号查询某人的完整资料(自动解析 userId 后取详情)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_by_mobile", + "parameter_count": 1, + "parameters": { + "mobile": { + "description": "手机号(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "手机号(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "手机号(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "mobile" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "mobile" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "mobile", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_by_mobile", + "primary_cli_path": "contact +by-mobile", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "use_when": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ] + }, + "contact.shortcut_dept_members": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +dept-members", + "cobra-help:dws contact +dept-members", + "internal/cli/schema_command_registry.json#contact.shortcut_dept_members", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按部门名列出部门成员(自动解析 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_dept_members", + "cli_name": "+dept-members", + "cli_path": "contact +dept-members", + "confirmation": "not_required", + "description": "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +dept-members --dept 技术部" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按部门名列出部门成员(自动解析 deptId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按部门名列出部门成员(自动解析 deptId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +dept-members", + "value": "contact.shortcut_dept_members" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +dept-members", + "value": "contact.shortcut_dept_members" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +dept-members --dept 技术部" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +dept-members --dept 技术部" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按部门名列出部门成员(自动解析 deptId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按部门名列出部门成员(自动解析 deptId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_dept_members", + "parameter_count": 1, + "parameters": { + "dept": { + "description": "部门名/关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "部门名/关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "部门名/关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "dept" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "dept" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "dept", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_dept_members", + "primary_cli_path": "contact +dept-members", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按部门名列出部门成员(自动解析 deptId)", + "use_when": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + }, + "contact.shortcut_list_dept_members": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +list-dept-members", + "cobra-help:dws contact +list-dept-members", + "internal/cli/schema_command_registry.json#contact.shortcut_list_dept_members", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "查看部门成员(仅本部门,不含下级)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_dept_members", + "cli_name": "+list-dept-members", + "cli_path": "contact +list-dept-members", + "confirmation": "not_required", + "description": "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-dept-members --depts 12345,67890" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查看部门成员(仅本部门,不含下级)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查看部门成员(仅本部门,不含下级)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +list-dept-members", + "value": "contact.shortcut_list_dept_members" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +list-dept-members", + "value": "contact.shortcut_list_dept_members" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-dept-members --depts 12345,67890" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-dept-members --depts 12345,67890" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看部门成员(仅本部门,不含下级)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看部门成员(仅本部门,不含下级)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_dept_members", + "parameter_count": 1, + "parameters": { + "depts": { + "description": "部门 ID 列表,逗号分隔(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "部门 ID 列表,逗号分隔(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "部门 ID 列表,逗号分隔(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "depts" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "depts" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "depts", + "required": true, + "type": "array" + } + }, + "path": "contact.shortcut_list_dept_members", + "primary_cli_path": "contact +list-dept-members", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看部门成员(仅本部门,不含下级)", + "use_when": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ] + }, + "contact.shortcut_list_followings": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +list-followings", + "cobra-help:dws contact +list-followings", + "internal/cli/schema_command_registry.json#contact.shortcut_list_followings", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "获取当前用户的特别关注列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_followings", + "cli_name": "+list-followings", + "cli_path": "contact +list-followings", + "confirmation": "not_required", + "description": "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-followings" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "获取当前用户的特别关注列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "获取当前用户的特别关注列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +list-followings", + "value": "contact.shortcut_list_followings" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +list-followings", + "value": "contact.shortcut_list_followings" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-followings" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-followings" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取当前用户的特别关注列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取当前用户的特别关注列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_followings", + "parameter_count": 0, + "parameters": {}, + "path": "contact.shortcut_list_followings", + "primary_cli_path": "contact +list-followings", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取当前用户的特别关注列表", + "use_when": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ] + }, + "contact.shortcut_list_role_members": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +list-role-members", + "cobra-help:dws contact +list-role-members", + "internal/cli/schema_command_registry.json#contact.shortcut_list_role_members", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "查询角色下的成员列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_role_members", + "cli_name": "+list-role-members", + "cli_path": "contact +list-role-members", + "confirmation": "not_required", + "description": "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-role-members --id 12345" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查询角色下的成员列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查询角色下的成员列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +list-role-members", + "value": "contact.shortcut_list_role_members" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +list-role-members", + "value": "contact.shortcut_list_role_members" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-role-members --id 12345" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-role-members --id 12345" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询角色下的成员列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询角色下的成员列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_role_members", + "parameter_count": 1, + "parameters": { + "id": { + "description": "角色 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "角色 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "角色 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "id" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "id" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "id", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_list_role_members", + "primary_cli_path": "contact +list-role-members", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询角色下的成员列表", + "use_when": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ] + }, + "contact.shortcut_list_roles": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +list-roles", + "cobra-help:dws contact +list-roles", + "internal/cli/schema_command_registry.json#contact.shortcut_list_roles", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "获取企业所有角色(标签)列表", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_roles", + "cli_name": "+list-roles", + "cli_path": "contact +list-roles", + "confirmation": "not_required", + "description": "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-roles" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "获取企业所有角色(标签)列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "获取企业所有角色(标签)列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +list-roles", + "value": "contact.shortcut_list_roles" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +list-roles", + "value": "contact.shortcut_list_roles" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-roles" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-roles" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取企业所有角色(标签)列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取企业所有角色(标签)列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_roles", + "parameter_count": 0, + "parameters": {}, + "path": "contact.shortcut_list_roles", + "primary_cli_path": "contact +list-roles", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取企业所有角色(标签)列表", + "use_when": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ] + }, + "contact.shortcut_list_sub_depts": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +list-sub-depts", + "cobra-help:dws contact +list-sub-depts", + "internal/cli/schema_command_registry.json#contact.shortcut_list_sub_depts", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "查看指定部门的子部门", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_list_sub_depts", + "cli_name": "+list-sub-depts", + "cli_path": "contact +list-sub-depts", + "confirmation": "not_required", + "description": "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +list-sub-depts --dept 1" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查看指定部门的子部门" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查看指定部门的子部门" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +list-sub-depts", + "value": "contact.shortcut_list_sub_depts" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +list-sub-depts", + "value": "contact.shortcut_list_sub_depts" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-sub-depts --dept 1" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +list-sub-depts --dept 1" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看指定部门的子部门" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看指定部门的子部门" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_sub_depts", + "parameter_count": 1, + "parameters": { + "dept": { + "description": "部门 ID(钉钉根部门为 1)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "部门 ID(钉钉根部门为 1)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "部门 ID(钉钉根部门为 1)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "dept" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "dept" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "dept", + "required": true, + "type": "integer" + } + }, + "path": "contact.shortcut_list_sub_depts", + "primary_cli_path": "contact +list-sub-depts", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看指定部门的子部门", + "use_when": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ] + }, + "contact.shortcut_lookup": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +lookup", + "cobra-help:dws contact +lookup", + "internal/cli/schema_command_registry.json#contact.shortcut_lookup", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_lookup", + "cli_name": "+lookup", + "cli_path": "contact +lookup", + "confirmation": "not_required", + "description": "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +lookup --name 张三" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按姓名查询某人的完整资料(自动解析 userId 后取详情)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按姓名查询某人的完整资料(自动解析 userId 后取详情)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +lookup", + "value": "contact.shortcut_lookup" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +lookup", + "value": "contact.shortcut_lookup" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +lookup --name 张三" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +lookup --name 张三" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名查询某人的完整资料(自动解析 userId 后取详情)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名查询某人的完整资料(自动解析 userId 后取详情)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_lookup", + "parameter_count": 1, + "parameters": { + "name": { + "description": "姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_lookup", + "primary_cli_path": "contact +lookup", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "use_when": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ] + }, + "contact.shortcut_me": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +me", + "cobra-help:dws contact +me", + "internal/cli/schema_command_registry.json#contact.shortcut_me", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_me", + "cli_name": "+me", + "cli_path": "contact +me", + "confirmation": "not_required", + "description": "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +me" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +me", + "value": "contact.shortcut_me" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +me", + "value": "contact.shortcut_me" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +me" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +me" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_me", + "parameter_count": 0, + "parameters": {}, + "path": "contact.shortcut_me", + "primary_cli_path": "contact +me", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "use_when": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ] + }, + "contact.shortcut_org": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +org", + "cobra-help:dws contact +org", + "internal/cli/schema_command_registry.json#contact.shortcut_org", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_org", + "cli_name": "+org", + "cli_path": "contact +org", + "confirmation": "not_required", + "description": "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +org --name 张三" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +org", + "value": "contact.shortcut_org" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +org", + "value": "contact.shortcut_org" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +org --name 张三" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +org --name 张三" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_org", + "parameter_count": 1, + "parameters": { + "name": { + "description": "同事姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "同事姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "同事姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_org", + "primary_cli_path": "contact +org", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ] + }, + "contact.shortcut_resolve_dept": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +resolve-dept", + "cobra-help:dws contact +resolve-dept", + "internal/cli/schema_command_registry.json#contact.shortcut_resolve_dept", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按名称搜索部门并解析出唯一 deptId(只读)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_resolve_dept", + "cli_name": "+resolve-dept", + "cli_path": "contact +resolve-dept", + "confirmation": "not_required", + "description": "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +resolve-dept --name 技术部" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按名称搜索部门并解析出唯一 deptId(只读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按名称搜索部门并解析出唯一 deptId(只读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +resolve-dept", + "value": "contact.shortcut_resolve_dept" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +resolve-dept", + "value": "contact.shortcut_resolve_dept" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +resolve-dept --name 技术部" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +resolve-dept --name 技术部" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称搜索部门并解析出唯一 deptId(只读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称搜索部门并解析出唯一 deptId(只读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_resolve_dept", + "parameter_count": 1, + "parameters": { + "name": { + "description": "要搜索的部门名称关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要搜索的部门名称关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要搜索的部门名称关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_resolve_dept", + "primary_cli_path": "contact +resolve-dept", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称搜索部门并解析出唯一 deptId(只读)", + "use_when": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ] + }, + "contact.shortcut_search_mobile": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +search-mobile", + "cobra-help:dws contact +search-mobile", + "internal/cli/schema_command_registry.json#contact.shortcut_search_mobile", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按手机号搜索通讯录用户", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_search_mobile", + "cli_name": "+search-mobile", + "cli_path": "contact +search-mobile", + "confirmation": "not_required", + "description": "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +search-mobile --mobile 13800138000" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按手机号搜索通讯录用户" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按手机号搜索通讯录用户" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +search-mobile", + "value": "contact.shortcut_search_mobile" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +search-mobile", + "value": "contact.shortcut_search_mobile" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +search-mobile --mobile 13800138000" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +search-mobile --mobile 13800138000" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按手机号搜索通讯录用户" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按手机号搜索通讯录用户" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_mobile", + "parameter_count": 1, + "parameters": { + "mobile": { + "description": "手机号(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "手机号(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "手机号(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "mobile" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "mobile" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "mobile", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_search_mobile", + "primary_cli_path": "contact +search-mobile", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按手机号搜索通讯录用户", + "use_when": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ] + }, + "contact.shortcut_search_user": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +search-user", + "cobra-help:dws contact +search-user", + "internal/cli/schema_command_registry.json#contact.shortcut_search_user", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按关键词搜索通讯录用户", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_search_user", + "cli_name": "+search-user", + "cli_path": "contact +search-user", + "confirmation": "not_required", + "description": "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +search-user --query \"张三\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按关键词搜索通讯录用户" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按关键词搜索通讯录用户" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +search-user", + "value": "contact.shortcut_search_user" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +search-user", + "value": "contact.shortcut_search_user" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +search-user --query \"张三\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +search-user --query \"张三\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键词搜索通讯录用户" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键词搜索通讯录用户" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_user", + "parameter_count": 1, + "parameters": { + "query": { + "description": "搜索关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_search_user", + "primary_cli_path": "contact +search-user", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键词搜索通讯录用户", + "use_when": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ] + }, + "contact.shortcut_team": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:contact +team", + "cobra-help:dws contact +team", + "internal/cli/schema_command_registry.json#contact.shortcut_team", + "internal/cli/schema_hints/metadata/contact.json", + "internal/cli/schema_hints/selection/contact.json" + ], + "agent_summary": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "agent_summary_source": "dws-agent-selection/contact", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "contact.shortcut_team", + "cli_name": "+team", + "cli_path": "contact +team", + "confirmation": "not_required", + "description": "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。", + "display": "通讯录 / 用户 / 部门 / 角色 / 人员关系", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws contact +team --name 张三" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "contact +team", + "value": "contact.shortcut_team" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "contact +team", + "value": "contact.shortcut_team" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +team --name 张三" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "dws contact +team --name 张三" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/contact.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/contact.json", + "value": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_team", + "parameter_count": 1, + "parameters": { + "name": { + "description": "同事姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "同事姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "同事姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "contact.shortcut_team", + "primary_cli_path": "contact +team", + "product_id": "contact", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ] + }, "dev.add_dev_app_members": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -248592,6 +318712,11190 @@ "需要调整应用安全相关 URL 或白名单时" ] }, + "devapp.shortcut_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +create", + "cobra-help:dws devapp +create", + "internal/cli/schema_command_registry.json#devapp.shortcut_create", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "创建开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_create", + "cli_name": "+create", + "cli_path": "devapp +create", + "confirmation": "user_required", + "description": "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。", + "display": "devapp shortcuts", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +create --name \u003cNAME\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "创建开放平台企业内部应用" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "创建开放平台企业内部应用" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +create", + "value": "devapp.shortcut_create" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +create", + "value": "devapp.shortcut_create" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +create --name \u003cNAME\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +create --name \u003cNAME\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "创建开放平台企业内部应用" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "创建开放平台企业内部应用" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_create", + "parameter_count": 3, + "parameters": { + "desc": { + "description": "应用描述", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "应用描述" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "应用描述" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "desc" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "desc" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "desc", + "required": false, + "type": "string" + }, + "icon-media-id": { + "description": "应用图标 mediaId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "应用图标 mediaId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "应用图标 mediaId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "iconMediaId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "iconMediaId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "iconMediaId", + "required": false, + "type": "string" + }, + "name": { + "description": "应用名称(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "应用名称(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "应用名称(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_create", + "primary_cli_path": "devapp +create", + "product_id": "devapp", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "创建开放平台企业内部应用", + "use_when": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ] + }, + "devapp.shortcut_delete": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +delete", + "cobra-help:dws devapp +delete", + "internal/cli/schema_command_registry.json#devapp.shortcut_delete", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "删除开放平台企业内部应用(不可逆)", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_delete", + "cli_name": "+delete", + "cli_path": "devapp +delete", + "confirmation": "user_required", + "description": "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。", + "display": "devapp shortcuts", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +delete --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "删除开放平台企业内部应用(不可逆)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "删除开放平台企业内部应用(不可逆)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +delete", + "value": "devapp.shortcut_delete" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +delete", + "value": "devapp.shortcut_delete" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +delete --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +delete --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "删除开放平台企业内部应用(不可逆)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "删除开放平台企业内部应用(不可逆)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_delete", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_delete", + "primary_cli_path": "devapp +delete", + "product_id": "devapp", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "删除开放平台企业内部应用(不可逆)", + "use_when": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ] + }, + "devapp.shortcut_disable": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +disable", + "cobra-help:dws devapp +disable", + "internal/cli/schema_command_registry.json#devapp.shortcut_disable", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "停用开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_disable", + "cli_name": "+disable", + "cli_path": "devapp +disable", + "confirmation": "user_required", + "description": "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。", + "display": "devapp shortcuts", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +disable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "停用开放平台企业内部应用" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "停用开放平台企业内部应用" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +disable", + "value": "devapp.shortcut_disable" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +disable", + "value": "devapp.shortcut_disable" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +disable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +disable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "停用开放平台企业内部应用" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "停用开放平台企业内部应用" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_disable", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_disable", + "primary_cli_path": "devapp +disable", + "product_id": "devapp", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "停用开放平台企业内部应用", + "use_when": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ] + }, + "devapp.shortcut_enable": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +enable", + "cobra-help:dws devapp +enable", + "internal/cli/schema_command_registry.json#devapp.shortcut_enable", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "启用开放平台企业内部应用", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_enable", + "cli_name": "+enable", + "cli_path": "devapp +enable", + "confirmation": "user_required", + "description": "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。", + "display": "devapp shortcuts", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +enable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "启用开放平台企业内部应用" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "启用开放平台企业内部应用" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +enable", + "value": "devapp.shortcut_enable" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +enable", + "value": "devapp.shortcut_enable" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +enable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +enable --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "启用开放平台企业内部应用" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "启用开放平台企业内部应用" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_enable", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_enable", + "primary_cli_path": "devapp +enable", + "product_id": "devapp", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "启用开放平台企业内部应用", + "use_when": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ] + }, + "devapp.shortcut_event_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +event-list", + "cobra-help:dws devapp +event-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_event_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询应用已订阅的事件列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_event_list", + "cli_name": "+event-list", + "cli_path": "devapp +event-list", + "confirmation": "not_required", + "description": "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +event-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询应用已订阅的事件列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询应用已订阅的事件列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +event-list", + "value": "devapp.shortcut_event_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +event-list", + "value": "devapp.shortcut_event_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +event-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +event-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询应用已订阅的事件列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询应用已订阅的事件列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_event_list", + "parameter_count": 4, + "parameters": { + "cursor": { + "description": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "keyword": { + "description": "事件搜索关键词,支持按事件码或事件名称模糊匹配", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "事件搜索关键词,支持按事件码或事件名称模糊匹配" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "事件搜索关键词,支持按事件码或事件名称模糊匹配" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "keyword" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "keyword" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "keyword", + "required": false, + "type": "string" + }, + "page-size": { + "default": "20", + "description": "单页条数,默认 20", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "pageSize" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "pageSize" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "pageSize", + "required": false, + "type": "integer" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_event_list", + "primary_cli_path": "devapp +event-list", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询应用已订阅的事件列表", + "use_when": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ] + }, + "devapp.shortcut_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +get", + "cobra-help:dws devapp +get", + "internal/cli/schema_command_registry.json#devapp.shortcut_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询开放平台企业内部应用详情", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_get", + "cli_name": "+get", + "cli_path": "devapp +get", + "confirmation": "not_required", + "description": "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台企业内部应用详情" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台企业内部应用详情" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +get", + "value": "devapp.shortcut_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +get", + "value": "devapp.shortcut_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询开放平台企业内部应用详情" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询开放平台企业内部应用详情" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_get", + "primary_cli_path": "devapp +get", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询开放平台企业内部应用详情", + "use_when": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ] + }, + "devapp.shortcut_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +list", + "cobra-help:dws devapp +list", + "internal/cli/schema_command_registry.json#devapp.shortcut_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询开放平台企业内部应用列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_list", + "cli_name": "+list", + "cli_path": "devapp +list", + "confirmation": "not_required", + "description": "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +list" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台企业内部应用列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台企业内部应用列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +list", + "value": "devapp.shortcut_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +list", + "value": "devapp.shortcut_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +list" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +list" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询开放平台企业内部应用列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询开放平台企业内部应用列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list", + "parameter_count": 11, + "parameters": { + "app-group-id": { + "description": "应用分组 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "应用分组 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "应用分组 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "appGroupId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "appGroupId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "appGroupId", + "required": false, + "type": "integer" + }, + "app-key": { + "description": "按 appKey/clientId 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按 appKey/clientId 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按 appKey/clientId 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "appKey" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "appKey" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "appKey", + "required": false, + "type": "string" + }, + "creator": { + "description": "创建人名称关键词", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建人名称关键词" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建人名称关键词" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "creator" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "creator" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "creator", + "required": false, + "type": "string" + }, + "cursor": { + "description": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "develop-type": { + "description": "开发类型枚举;不确定时不要传", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开发类型枚举;不确定时不要传" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开发类型枚举;不确定时不要传" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "developType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "developType" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "developType", + "required": false, + "type": "integer" + }, + "filter-cool-app": { + "description": "酷应用过滤枚举;不确定时不要传", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "酷应用过滤枚举;不确定时不要传" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "酷应用过滤枚举;不确定时不要传" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "filterCoolApp" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "filterCoolApp" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "filterCoolApp", + "required": false, + "type": "integer" + }, + "name": { + "description": "应用名称关键词", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "应用名称关键词" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "应用名称关键词" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": false, + "type": "string" + }, + "page-size": { + "default": "20", + "description": "单页条数,默认 20", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "pageSize" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "pageSize" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "pageSize", + "required": false, + "type": "integer" + }, + "robot-name": { + "description": "机器人名称关键词", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "机器人名称关键词" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "机器人名称关键词" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "robotName" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "robotName" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "robotName", + "required": false, + "type": "string" + }, + "sort-order": { + "description": "排序方向 asc 或 desc", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排序方向 asc 或 desc" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排序方向 asc 或 desc" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "sortOrder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "sortOrder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "sortOrder", + "required": false, + "type": "string" + }, + "sort-type": { + "description": "排序字段,如 gmt_modified", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "排序字段,如 gmt_modified" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "排序字段,如 gmt_modified" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "sortType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "sortType" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "sortType", + "required": false, + "type": "string" + } + }, + "path": "devapp.shortcut_list", + "primary_cli_path": "devapp +list", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询开放平台企业内部应用列表", + "use_when": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ] + }, + "devapp.shortcut_member_add": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +member-add", + "cobra-help:dws devapp +member-add", + "internal/cli/schema_command_registry.json#devapp.shortcut_member_add", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "添加开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_member_add", + "cli_name": "+member-add", + "cli_path": "devapp +member-add", + "confirmation": "user_required", + "description": "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。", + "display": "devapp shortcuts", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +member-add --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "添加开放平台应用成员" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "添加开放平台应用成员" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +member-add", + "value": "devapp.shortcut_member_add" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +member-add", + "value": "devapp.shortcut_member_add" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +member-add --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +member-add --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "添加开放平台应用成员" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "添加开放平台应用成员" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_member_add", + "parameter_count": 3, + "parameters": { + "member-type": { + "description": "成员类型,如 DEVELOPER(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "成员类型,如 DEVELOPER(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "成员类型,如 DEVELOPER(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "memberType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "memberType" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "memberType", + "required": true, + "type": "string" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + }, + "user-ids": { + "description": "成员 userId 列表(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "成员 userId 列表(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "成员 userId 列表(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "userIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "userIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "userIds", + "required": true, + "type": "array" + } + }, + "path": "devapp.shortcut_member_add", + "primary_cli_path": "devapp +member-add", + "product_id": "devapp", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "添加开放平台应用成员", + "use_when": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ] + }, + "devapp.shortcut_member_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +member-list", + "cobra-help:dws devapp +member-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_member_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_member_list", + "cli_name": "+member-list", + "cli_path": "devapp +member-list", + "confirmation": "not_required", + "description": "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +member-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台应用成员" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台应用成员" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +member-list", + "value": "devapp.shortcut_member_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +member-list", + "value": "devapp.shortcut_member_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +member-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +member-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询开放平台应用成员" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询开放平台应用成员" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_member_list", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_member_list", + "primary_cli_path": "devapp +member-list", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询开放平台应用成员", + "use_when": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ] + }, + "devapp.shortcut_member_remove": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +member-remove", + "cobra-help:dws devapp +member-remove", + "internal/cli/schema_command_registry.json#devapp.shortcut_member_remove", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "移除开放平台应用成员", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_member_remove", + "cli_name": "+member-remove", + "cli_path": "devapp +member-remove", + "confirmation": "user_required", + "description": "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。", + "display": "devapp shortcuts", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +member-remove --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "移除开放平台应用成员" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "移除开放平台应用成员" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +member-remove", + "value": "devapp.shortcut_member_remove" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +member-remove", + "value": "devapp.shortcut_member_remove" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +member-remove --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +member-remove --unified-app-id \u003cUNIFIED_APP_ID\u003e --user-ids \u003cVALUES\u003e --member-type \u003cMEMBER_TYPE\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "移除开放平台应用成员" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "移除开放平台应用成员" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_member_remove", + "parameter_count": 3, + "parameters": { + "member-type": { + "description": "成员类型,如 DEVELOPER(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "成员类型,如 DEVELOPER(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "成员类型,如 DEVELOPER(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "memberType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "memberType" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "memberType", + "required": true, + "type": "string" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + }, + "user-ids": { + "description": "成员 userId 列表(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "成员 userId 列表(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "成员 userId 列表(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "userIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "userIds" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "userIds", + "required": true, + "type": "array" + } + }, + "path": "devapp.shortcut_member_remove", + "primary_cli_path": "devapp +member-remove", + "product_id": "devapp", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "移除开放平台应用成员", + "use_when": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ] + }, + "devapp.shortcut_permission_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +permission-list", + "cobra-help:dws devapp +permission-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_permission_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询开放平台应用权限列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_permission_list", + "cli_name": "+permission-list", + "cli_path": "devapp +permission-list", + "confirmation": "not_required", + "description": "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +permission-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台应用权限列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询开放平台应用权限列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +permission-list", + "value": "devapp.shortcut_permission_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +permission-list", + "value": "devapp.shortcut_permission_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +permission-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +permission-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询开放平台应用权限列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询开放平台应用权限列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_permission_list", + "parameter_count": 8, + "parameters": { + "api-status": { + "description": "开发者后台 apiStatus 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开发者后台 apiStatus 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开发者后台 apiStatus 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "apiStatus" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "apiStatus" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "apiStatus", + "required": false, + "type": "string" + }, + "auth-status": { + "default": "ALL", + "description": "权限状态:ALL、AUTHED、UNAUTHED", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "权限状态:ALL、AUTHED、UNAUTHED" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "权限状态:ALL、AUTHED、UNAUTHED" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "authStatus" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "authStatus" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "authStatus", + "required": false, + "type": "string" + }, + "cursor": { + "description": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "keyword": { + "description": "权限名、权限点、接口名关键词", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "权限名、权限点、接口名关键词" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "权限名、权限点、接口名关键词" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "keyword" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "keyword" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "keyword", + "required": false, + "type": "string" + }, + "page-size": { + "default": "20", + "description": "单页条数,默认 20", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "pageSize" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "pageSize" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "pageSize", + "required": false, + "type": "integer" + }, + "scope-type": { + "description": "权限一级类型:APP 或 SNS", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "权限一级类型:APP 或 SNS" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "权限一级类型:APP 或 SNS" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "scopeType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "scopeType" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "scopeType", + "required": false, + "type": "string" + }, + "scope-value": { + "description": "精确权限点 scopeValue", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "精确权限点 scopeValue" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "精确权限点 scopeValue" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "scopeValue" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "scopeValue" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "scopeValue", + "required": false, + "type": "string" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_permission_list", + "primary_cli_path": "devapp +permission-list", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询开放平台应用权限列表", + "use_when": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ] + }, + "devapp.shortcut_robot_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +robot-get", + "cobra-help:dws devapp +robot-get", + "internal/cli/schema_command_registry.json#devapp.shortcut_robot_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询现有应用的机器人配置", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_robot_get", + "cli_name": "+robot-get", + "cli_path": "devapp +robot-get", + "confirmation": "not_required", + "description": "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +robot-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询现有应用的机器人配置" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询现有应用的机器人配置" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +robot-get", + "value": "devapp.shortcut_robot_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +robot-get", + "value": "devapp.shortcut_robot_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +robot-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +robot-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询现有应用的机器人配置" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询现有应用的机器人配置" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_robot_get", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_robot_get", + "primary_cli_path": "devapp +robot-get", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询现有应用的机器人配置", + "use_when": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ] + }, + "devapp.shortcut_update": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +update", + "cobra-help:dws devapp +update", + "internal/cli/schema_command_registry.json#devapp.shortcut_update", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "修改开放平台企业内部应用基础信息", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_update", + "cli_name": "+update", + "cli_path": "devapp +update", + "confirmation": "user_required", + "description": "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。", + "display": "devapp shortcuts", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +update --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "修改开放平台企业内部应用基础信息" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "修改开放平台企业内部应用基础信息" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +update", + "value": "devapp.shortcut_update" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +update", + "value": "devapp.shortcut_update" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +update --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +update --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "修改开放平台企业内部应用基础信息" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "修改开放平台企业内部应用基础信息" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_update", + "parameter_count": 4, + "parameters": { + "desc": { + "description": "新的应用描述", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "新的应用描述" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "新的应用描述" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "desc" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "desc" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "desc", + "required": false, + "type": "string" + }, + "icon-media-id": { + "description": "新的应用图标 mediaId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "新的应用图标 mediaId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "新的应用图标 mediaId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "iconMediaId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "iconMediaId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "iconMediaId", + "required": false, + "type": "string" + }, + "name": { + "description": "新的应用名称", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "新的应用名称" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "新的应用名称" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "name" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "name" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "name", + "required": false, + "type": "string" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_update", + "primary_cli_path": "devapp +update", + "product_id": "devapp", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "修改开放平台企业内部应用基础信息", + "use_when": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ] + }, + "devapp.shortcut_version_check_approval": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +version-check-approval", + "cobra-help:dws devapp +version-check-approval", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_check_approval", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "预检版本发布是否需要审批(不实际发布)", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_check_approval", + "cli_name": "+version-check-approval", + "cli_path": "devapp +version-check-approval", + "confirmation": "not_required", + "description": "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-check-approval --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "预检版本发布是否需要审批(不实际发布)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "预检版本发布是否需要审批(不实际发布)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +version-check-approval", + "value": "devapp.shortcut_version_check_approval" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +version-check-approval", + "value": "devapp.shortcut_version_check_approval" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-check-approval --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-check-approval --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "预检版本发布是否需要审批(不实际发布)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "预检版本发布是否需要审批(不实际发布)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_check_approval", + "parameter_count": 2, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + }, + "version-id": { + "description": "版本 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "版本 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "版本 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "versionId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "versionId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "versionId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_version_check_approval", + "primary_cli_path": "devapp +version-check-approval", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "预检版本发布是否需要审批(不实际发布)", + "use_when": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ] + }, + "devapp.shortcut_version_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +version-get", + "cobra-help:dws devapp +version-get", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询指定版本详情", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_get", + "cli_name": "+version-get", + "cli_path": "devapp +version-get", + "confirmation": "not_required", + "description": "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-get --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询指定版本详情" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询指定版本详情" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +version-get", + "value": "devapp.shortcut_version_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +version-get", + "value": "devapp.shortcut_version_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-get --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-get --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询指定版本详情" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询指定版本详情" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_get", + "parameter_count": 2, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + }, + "version-id": { + "description": "版本 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "版本 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "版本 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "versionId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "versionId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "versionId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_version_get", + "primary_cli_path": "devapp +version-get", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询指定版本详情", + "use_when": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ] + }, + "devapp.shortcut_version_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +version-list", + "cobra-help:dws devapp +version-list", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_list", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "分页查询应用版本列表", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_list", + "cli_name": "+version-list", + "cli_path": "devapp +version-list", + "confirmation": "not_required", + "description": "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "分页查询应用版本列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "分页查询应用版本列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +version-list", + "value": "devapp.shortcut_version_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +version-list", + "value": "devapp.shortcut_version_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-list --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "分页查询应用版本列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "分页查询应用版本列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "游标令牌:首次查询留空,续翻传上次出参的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "page-size": { + "default": "20", + "description": "单页条数,默认 20", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "单页条数,默认 20" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "pageSize" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "pageSize" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "pageSize", + "required": false, + "type": "integer" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_version_list", + "primary_cli_path": "devapp +version-list", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "分页查询应用版本列表", + "use_when": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ] + }, + "devapp.shortcut_version_status": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +version-status", + "cobra-help:dws devapp +version-status", + "internal/cli/schema_command_registry.json#devapp.shortcut_version_status", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询版本发布/审批状态", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_version_status", + "cli_name": "+version-status", + "cli_path": "devapp +version-status", + "confirmation": "not_required", + "description": "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +version-status --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询版本发布/审批状态" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询版本发布/审批状态" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +version-status", + "value": "devapp.shortcut_version_status" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +version-status", + "value": "devapp.shortcut_version_status" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-status --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +version-status --unified-app-id \u003cUNIFIED_APP_ID\u003e --version-id \u003cVERSION_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询版本发布/审批状态" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询版本发布/审批状态" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_status", + "parameter_count": 2, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + }, + "version-id": { + "description": "版本 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "版本 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "版本 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "versionId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "versionId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "versionId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_version_status", + "primary_cli_path": "devapp +version-status", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询版本发布/审批状态", + "use_when": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ] + }, + "devapp.shortcut_webapp_config": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +webapp-config", + "cobra-help:dws devapp +webapp-config", + "internal/cli/schema_command_registry.json#devapp.shortcut_webapp_config", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "配置网页应用能力", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_webapp_config", + "cli_name": "+webapp-config", + "cli_path": "devapp +webapp-config", + "confirmation": "user_required", + "description": "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。", + "display": "devapp shortcuts", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +webapp-config --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "配置网页应用能力" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "配置网页应用能力" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +webapp-config", + "value": "devapp.shortcut_webapp_config" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +webapp-config", + "value": "devapp.shortcut_webapp_config" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +webapp-config --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +webapp-config --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "配置网页应用能力" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "配置网页应用能力" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_webapp_config", + "parameter_count": 5, + "parameters": { + "h5-page-type": { + "description": "网页应用生效端/页面类型", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "网页应用生效端/页面类型" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "网页应用生效端/页面类型" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "h5PageType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "h5PageType" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "h5PageType", + "required": false, + "type": "string" + }, + "homepage-url": { + "description": "移动端首页地址", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "移动端首页地址" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "移动端首页地址" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "homepageUrl" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "homepageUrl" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "homepageUrl", + "required": false, + "type": "string" + }, + "omp-url": { + "description": "管理后台地址", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "管理后台地址" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "管理后台地址" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "ompUrl" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "ompUrl" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "ompUrl", + "required": false, + "type": "string" + }, + "pc-homepage-url": { + "description": "PC 端首页地址", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "PC 端首页地址" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "PC 端首页地址" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "pcHomepageUrl" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "pcHomepageUrl" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "pcHomepageUrl", + "required": false, + "type": "string" + }, + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_webapp_config", + "primary_cli_path": "devapp +webapp-config", + "product_id": "devapp", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "配置网页应用能力", + "use_when": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ] + }, + "devapp.shortcut_webapp_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:devapp +webapp-get", + "cobra-help:dws devapp +webapp-get", + "internal/cli/schema_command_registry.json#devapp.shortcut_webapp_get", + "internal/cli/schema_hints/metadata/devapp.json", + "internal/cli/schema_hints/selection/devapp.json" + ], + "agent_summary": "查询网页应用配置", + "agent_summary_source": "dws-agent-selection/devapp", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "devapp.shortcut_webapp_get", + "cli_name": "+webapp-get", + "cli_path": "devapp +webapp-get", + "confirmation": "not_required", + "description": "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。", + "display": "devapp shortcuts", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws devapp +webapp-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询网页应用配置" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": "查询网页应用配置" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "devapp +webapp-get", + "value": "devapp.shortcut_webapp_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "devapp +webapp-get", + "value": "devapp.shortcut_webapp_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +webapp-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "dws devapp +webapp-get --unified-app-id \u003cUNIFIED_APP_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/devapp.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询网页应用配置" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询网页应用配置" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/devapp.json", + "value": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_webapp_get", + "parameter_count": 1, + "parameters": { + "unified-app-id": { + "description": "开放平台统一应用 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开放平台统一应用 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "unifiedAppId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "unifiedAppId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "unifiedAppId", + "required": true, + "type": "string" + } + }, + "path": "devapp.shortcut_webapp_get", + "primary_cli_path": "devapp +webapp-get", + "product_id": "devapp", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询网页应用配置", + "use_when": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ] + }, "devdoc.search_open_platform_docs_rag": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -250851,6 +332155,2016 @@ "需要用企业机器人向指定 userId 发送应用内、短信或电话 DING" ] }, + "ding.shortcut_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:ding +list", + "cobra-help:dws ding +list", + "internal/cli/schema_command_registry.json#ding.shortcut_list", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "agent_summary": "查询 DING 消息列表", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_list", + "cli_name": "+list", + "cli_path": "ding +list", + "confirmation": "not_required", + "description": "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。", + "display": "DING 消息 / 发送 / 撤回", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws ding +list" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "查询 DING 消息列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "查询 DING 消息列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "ding +list", + "value": "ding.shortcut_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "ding +list", + "value": "ding.shortcut_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +list" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +list" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询 DING 消息列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询 DING 消息列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list", + "parameter_count": 2, + "parameters": { + "cursor": { + "description": "分页游标 (可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标 (可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标 (可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "cursor", + "required": false, + "type": "integer" + }, + "type": { + "default": "ALL", + "description": "类型 (可选,默认 ALL)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "类型 (可选,默认 ALL)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "类型 (可选,默认 ALL)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "type" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "type" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "ding.shortcut_list", + "primary_cli_path": "ding +list", + "product_id": "ding", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询 DING 消息列表", + "use_when": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ] + }, + "ding.shortcut_recall_personal": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:ding +recall-personal", + "cobra-help:dws ding +recall-personal", + "internal/cli/schema_command_registry.json#ding.shortcut_recall_personal", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "agent_summary": "撤回本人发起的 DING", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_recall_personal", + "cli_name": "+recall-personal", + "cli_path": "ding +recall-personal", + "confirmation": "user_required", + "description": "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。", + "display": "DING 消息 / 发送 / 撤回", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws ding +recall-personal --id \u003cID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "撤回本人发起的 DING" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "撤回本人发起的 DING" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "ding +recall-personal", + "value": "ding.shortcut_recall_personal" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "ding +recall-personal", + "value": "ding.shortcut_recall_personal" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +recall-personal --id \u003cID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +recall-personal --id \u003cID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "撤回本人发起的 DING" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "撤回本人发起的 DING" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_recall_personal", + "parameter_count": 1, + "parameters": { + "id": { + "description": "openDingId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "openDingId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "openDingId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "id" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "id" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "id", + "required": true, + "type": "string" + } + }, + "path": "ding.shortcut_recall_personal", + "primary_cli_path": "ding +recall-personal", + "product_id": "ding", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "撤回本人发起的 DING", + "use_when": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ] + }, + "ding.shortcut_receiver_status": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:ding +receiver-status", + "cobra-help:dws ding +receiver-status", + "internal/cli/schema_command_registry.json#ding.shortcut_receiver_status", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "agent_summary": "查询 DING 消息接收人已读状态", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_receiver_status", + "cli_name": "+receiver-status", + "cli_path": "ding +receiver-status", + "confirmation": "not_required", + "description": "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。", + "display": "DING 消息 / 发送 / 撤回", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws ding +receiver-status --ding-id \u003cDING_ID\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "查询 DING 消息接收人已读状态" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "查询 DING 消息接收人已读状态" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "ding +receiver-status", + "value": "ding.shortcut_receiver_status" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "ding +receiver-status", + "value": "ding.shortcut_receiver_status" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +receiver-status --ding-id \u003cDING_ID\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +receiver-status --ding-id \u003cDING_ID\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询 DING 消息接收人已读状态" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询 DING 消息接收人已读状态" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_receiver_status", + "parameter_count": 1, + "parameters": { + "ding-id": { + "description": "openDingId(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "openDingId(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "openDingId(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "dingId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "dingId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "dingId", + "required": true, + "type": "string" + } + }, + "path": "ding.shortcut_receiver_status", + "primary_cli_path": "ding +receiver-status", + "product_id": "ding", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询 DING 消息接收人已读状态", + "use_when": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ] + }, + "ding.shortcut_send_personal": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:ding +send-personal", + "cobra-help:dws ding +send-personal", + "internal/cli/schema_command_registry.json#ding.shortcut_send_personal", + "internal/cli/schema_hints/metadata/ding.json", + "internal/cli/schema_hints/selection/ding.json" + ], + "agent_summary": "以本人身份发送 DING 给指定人", + "agent_summary_source": "dws-agent-selection/ding", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "ding.shortcut_send_personal", + "cli_name": "+send-personal", + "cli_path": "ding +send-personal", + "confirmation": "user_required", + "description": "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。", + "display": "DING 消息 / 发送 / 撤回", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws ding +send-personal --users \u003cVALUES\u003e --content \u003cCONTENT\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "以本人身份发送 DING 给指定人" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": "以本人身份发送 DING 给指定人" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "ding +send-personal", + "value": "ding.shortcut_send_personal" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "ding +send-personal", + "value": "ding.shortcut_send_personal" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +send-personal --users \u003cVALUES\u003e --content \u003cCONTENT\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "dws ding +send-personal --users \u003cVALUES\u003e --content \u003cCONTENT\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/ding.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "以本人身份发送 DING 给指定人" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "以本人身份发送 DING 给指定人" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/ding.json", + "value": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_send_personal", + "parameter_count": 4, + "parameters": { + "content": { + "description": "消息内容(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息内容(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息内容(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "content" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "content" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "content", + "required": true, + "type": "string" + }, + "type": { + "default": "app", + "description": "提醒方式 remindType", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "提醒方式 remindType" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "提醒方式 remindType" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "type" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "type" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "type", + "required": false, + "type": "string" + }, + "users": { + "description": "接收人 openDingTalkId 列表 (CSV)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "接收人 openDingTalkId 列表 (CSV)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "接收人 openDingTalkId 列表 (CSV)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "users" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "users" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "users", + "required": true, + "type": "array" + }, + "uuid": { + "description": "幂等键 (可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "幂等键 (可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "幂等键 (可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "uuid" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "uuid" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "uuid", + "required": false, + "type": "string" + } + }, + "path": "ding.shortcut_send_personal", + "primary_cli_path": "ding +send-personal", + "product_id": "ding", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "以本人身份发送 DING 给指定人", + "use_when": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ] + }, "doc.add_permission": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -272768,6 +356082,10837 @@ "兼容入口:按关键词搜文档时(已弃用,日常改用 drive search / wiki node search)" ] }, + "doc.shortcut_comment_create": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +comment-create", + "cobra-help:dws doc +comment-create", + "internal/cli/schema_command_registry.json#doc.shortcut_comment_create", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "在文档上创建一条评论", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_comment_create", + "cli_name": "+comment-create", + "cli_path": "doc +comment-create", + "confirmation": "user_required", + "description": "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "在文档上创建一条评论" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "在文档上创建一条评论" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +comment-create", + "value": "doc.shortcut_comment_create" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +comment-create", + "value": "doc.shortcut_comment_create" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "在文档上创建一条评论" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "在文档上创建一条评论" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_comment_create", + "parameter_count": 3, + "parameters": { + "content": { + "description": "评论文字内容 (纯文本)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "评论文字内容 (纯文本)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "评论文字内容 (纯文本)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "content" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "content" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "content", + "required": true, + "type": "string" + }, + "mention": { + "description": "被 @ 的用户 uid 列表", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "被 @ 的用户 uid 列表" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "被 @ 的用户 uid 列表" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "mention" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "mention" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "mention", + "required": false, + "type": "array" + }, + "node": { + "description": "文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_comment_create", + "primary_cli_path": "doc +comment-create", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "在文档上创建一条评论", + "use_when": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ] + }, + "doc.shortcut_comment_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +comment-list", + "cobra-help:dws doc +comment-list", + "internal/cli/schema_command_registry.json#doc.shortcut_comment_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "查询文档评论列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_comment_list", + "cli_name": "+comment-list", + "cli_path": "doc +comment-list", + "confirmation": "not_required", + "description": "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "查询文档评论列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "查询文档评论列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +comment-list", + "value": "doc.shortcut_comment_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +comment-list", + "value": "doc.shortcut_comment_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询文档评论列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询文档评论列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_comment_list", + "parameter_count": 5, + "parameters": { + "cursor": { + "description": "分页游标 (上一页返回的 nextToken)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标 (上一页返回的 nextToken)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标 (上一页返回的 nextToken)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页数量 (默认 50,最大 50)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量 (默认 50,最大 50)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量 (默认 50,最大 50)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "node": { + "description": "文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "resolve-status": { + "description": "解决状态: resolved / unresolved(可选值: resolved, unresolved)", + "enum": [ + "resolved", + "unresolved" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "解决状态: resolved / unresolved(可选值: resolved, unresolved)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "解决状态: resolved / unresolved(可选值: resolved, unresolved)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "resolved", + "unresolved" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "resolved", + "unresolved" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "resolveStatus" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "resolveStatus" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "resolveStatus", + "required": false, + "type": "string" + }, + "type": { + "description": "评论类型: global (全文) / inline (划词)(可选值: global, inline)", + "enum": [ + "global", + "inline" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "评论类型: global (全文) / inline (划词)(可选值: global, inline)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "评论类型: global (全文) / inline (划词)(可选值: global, inline)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "global", + "inline" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "global", + "inline" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "type" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "type" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "type", + "required": false, + "type": "string" + } + }, + "path": "doc.shortcut_comment_list", + "primary_cli_path": "doc +comment-list", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询文档评论列表", + "use_when": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ] + }, + "doc.shortcut_comment_reply": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +comment-reply", + "cobra-help:dws doc +comment-reply", + "internal/cli/schema_command_registry.json#doc.shortcut_comment_reply", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "回复文档中的一条评论", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_comment_reply", + "cli_name": "+comment-reply", + "cli_path": "doc +comment-reply", + "confirmation": "user_required", + "description": "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "回复文档中的一条评论" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "回复文档中的一条评论" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +comment-reply", + "value": "doc.shortcut_comment_reply" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +comment-reply", + "value": "doc.shortcut_comment_reply" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "回复文档中的一条评论" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "回复文档中的一条评论" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_comment_reply", + "parameter_count": 5, + "parameters": { + "comment-key": { + "description": "被回复评论的 commentKey (从 list/create 获取)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "被回复评论的 commentKey (从 list/create 获取)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "被回复评论的 commentKey (从 list/create 获取)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "commentKey" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "commentKey" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "commentKey", + "required": true, + "type": "string" + }, + "content": { + "description": "回复文字内容 (表情回复时填表情名称)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "回复文字内容 (表情回复时填表情名称)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "回复文字内容 (表情回复时填表情名称)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "content" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "content" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "content", + "required": true, + "type": "string" + }, + "emoji": { + "description": "作为表情贴图回复", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "作为表情贴图回复" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "作为表情贴图回复" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "emoji" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "emoji" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "emoji", + "required": false, + "type": "boolean" + }, + "mention": { + "description": "被 @ 的用户 uid 列表", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "被 @ 的用户 uid 列表" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "被 @ 的用户 uid 列表" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "mention" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "mention" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "mention", + "required": false, + "type": "array" + }, + "node": { + "description": "文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_comment_reply", + "primary_cli_path": "doc +comment-reply", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "回复文档中的一条评论", + "use_when": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ] + }, + "doc.shortcut_copy": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +copy", + "cobra-help:dws doc +copy", + "internal/cli/schema_command_registry.json#doc.shortcut_copy", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "复制文档/文件到指定文件夹或知识库", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_copy", + "cli_name": "+copy", + "cli_path": "doc +copy", + "confirmation": "user_required", + "description": "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "复制文档/文件到指定文件夹或知识库" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "复制文档/文件到指定文件夹或知识库" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +copy", + "value": "doc.shortcut_copy" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +copy", + "value": "doc.shortcut_copy" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "复制文档/文件到指定文件夹或知识库" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "复制文档/文件到指定文件夹或知识库" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_copy", + "parameter_count": 3, + "parameters": { + "folder": { + "description": "目标文档文件夹 nodeId 或 alidocs 文件夹 URL", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标文档文件夹 nodeId 或 alidocs 文件夹 URL" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标文档文件夹 nodeId 或 alidocs 文件夹 URL" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + }, + "node": { + "description": "文档/文件 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档/文件 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档/文件 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "workspace": { + "description": "目标知识库 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "workspace" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "workspace" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "doc.shortcut_copy", + "primary_cli_path": "doc +copy", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "复制文档/文件到指定文件夹或知识库", + "use_when": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ] + }, + "doc.shortcut_doc_append": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +doc-append", + "cobra-help:dws doc +doc-append", + "internal/cli/schema_command_registry.json#doc.shortcut_doc_append", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_doc_append", + "cli_name": "+doc-append", + "cli_path": "doc +doc-append", + "confirmation": "user_required", + "description": "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\u003cDOC_UUID\u003e\" --text \"追加一行备注\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "在文档末尾追加一段文本(安全追加,不改动原有内容)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "在文档末尾追加一段文本(安全追加,不改动原有内容)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +doc-append", + "value": "doc.shortcut_doc_append" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +doc-append", + "value": "doc.shortcut_doc_append" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\u003cDOC_UUID\u003e\" --text \"追加一行备注\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\u003cDOC_UUID\u003e\" --text \"追加一行备注\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "在文档末尾追加一段文本(安全追加,不改动原有内容)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "在文档末尾追加一段文本(安全追加,不改动原有内容)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_doc_append", + "parameter_count": 2, + "parameters": { + "doc": { + "description": "文档 documentId / nodeId(或文档 URL/token)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 documentId / nodeId(或文档 URL/token)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 documentId / nodeId(或文档 URL/token)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "doc" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "doc" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "doc", + "required": true, + "type": "string" + }, + "text": { + "description": "要追加到文档末尾的文本(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要追加到文档末尾的文本(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要追加到文档末尾的文本(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "text" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "text" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "text", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_doc_append", + "primary_cli_path": "doc +doc-append", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "use_when": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ] + }, + "doc.shortcut_export_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +export-get", + "cobra-help:dws doc +export-get", + "internal/cli/schema_command_registry.json#doc.shortcut_export_get", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "根据 jobId 查询文档导出任务结果", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_export_get", + "cli_name": "+export-get", + "cli_path": "doc +export-get", + "confirmation": "not_required", + "description": "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +export-get --job-id JOB_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "根据 jobId 查询文档导出任务结果" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "根据 jobId 查询文档导出任务结果" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +export-get", + "value": "doc.shortcut_export_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +export-get", + "value": "doc.shortcut_export_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +export-get --job-id JOB_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +export-get --job-id JOB_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "根据 jobId 查询文档导出任务结果" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "根据 jobId 查询文档导出任务结果" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_export_get", + "parameter_count": 1, + "parameters": { + "job-id": { + "description": "导出任务 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "导出任务 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "导出任务 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "jobId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "jobId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "jobId", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_export_get", + "primary_cli_path": "doc +export-get", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "根据 jobId 查询文档导出任务结果", + "use_when": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ] + }, + "doc.shortcut_export_submit": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +export-submit", + "cobra-help:dws doc +export-submit", + "internal/cli/schema_command_registry.json#doc.shortcut_export_submit", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_export_submit", + "cli_name": "+export-submit", + "cli_path": "doc +export-submit", + "confirmation": "not_required", + "description": "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +export-submit", + "value": "doc.shortcut_export_submit" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +export-submit", + "value": "doc.shortcut_export_submit" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_export_submit", + "parameter_count": 2, + "parameters": { + "export-format": { + "default": "docx", + "description": "导出格式(可选值: docx, markdown, pdf)", + "enum": [ + "docx", + "markdown", + "pdf" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "导出格式(可选值: docx, markdown, pdf)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "导出格式(可选值: docx, markdown, pdf)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "docx", + "markdown", + "pdf" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "docx", + "markdown", + "pdf" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "exportFormat" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "exportFormat" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "exportFormat", + "required": false, + "type": "string" + }, + "node": { + "description": "要导出的文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要导出的文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要导出的文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_export_submit", + "primary_cli_path": "doc +export-submit", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "use_when": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ] + }, + "doc.shortcut_find_doc": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +find-doc", + "cobra-help:dws doc +find-doc", + "internal/cli/schema_command_registry.json#doc.shortcut_find_doc", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "按关键词搜索云文档并投影关键字段(只读)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_find_doc", + "cli_name": "+find-doc", + "cli_path": "doc +find-doc", + "confirmation": "not_required", + "description": "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "按关键词搜索云文档并投影关键字段(只读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "按关键词搜索云文档并投影关键字段(只读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +find-doc", + "value": "doc.shortcut_find_doc" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +find-doc", + "value": "doc.shortcut_find_doc" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键词搜索云文档并投影关键字段(只读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键词搜索云文档并投影关键字段(只读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_find_doc", + "parameter_count": 2, + "parameters": { + "limit": { + "description": "限制返回的文档条数(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "限制返回的文档条数(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "限制返回的文档条数(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "按关键词搜索云文档(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按关键词搜索云文档(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按关键词搜索云文档(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_find_doc", + "primary_cli_path": "doc +find-doc", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键词搜索云文档并投影关键字段(只读)", + "use_when": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ] + }, + "doc.shortcut_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +list", + "cobra-help:dws doc +list", + "internal/cli/schema_command_registry.json#doc.shortcut_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "列出文件夹或知识库下的直接子节点", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_list", + "cli_name": "+list", + "cli_path": "doc +list", + "confirmation": "not_required", + "description": "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "列出文件夹或知识库下的直接子节点" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "列出文件夹或知识库下的直接子节点" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +list", + "value": "doc.shortcut_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +list", + "value": "doc.shortcut_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出文件夹或知识库下的直接子节点" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出文件夹或知识库下的直接子节点" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list", + "parameter_count": 4, + "parameters": { + "cursor": { + "description": "分页游标 (上次结果的 nextPageToken)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标 (上次结果的 nextPageToken)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标 (上次结果的 nextPageToken)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "folder": { + "description": "文档文件夹 nodeId 或 alidocs 文件夹 URL", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档文件夹 nodeId 或 alidocs 文件夹 URL" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档文件夹 nodeId 或 alidocs 文件夹 URL" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页数量 (默认 50,最大 50)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量 (默认 50,最大 50)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量 (默认 50,最大 50)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "workspace": { + "description": "知识库 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "知识库 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "知识库 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "workspace" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "workspace" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "doc.shortcut_list", + "primary_cli_path": "doc +list", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出文件夹或知识库下的直接子节点", + "use_when": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ] + }, + "doc.shortcut_move": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +move", + "cobra-help:dws doc +move", + "internal/cli/schema_command_registry.json#doc.shortcut_move", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "移动文档/文件到指定文件夹或知识库", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_move", + "cli_name": "+move", + "cli_path": "doc +move", + "confirmation": "user_required", + "description": "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "移动文档/文件到指定文件夹或知识库" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "移动文档/文件到指定文件夹或知识库" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +move", + "value": "doc.shortcut_move" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +move", + "value": "doc.shortcut_move" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "移动文档/文件到指定文件夹或知识库" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "移动文档/文件到指定文件夹或知识库" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_move", + "parameter_count": 3, + "parameters": { + "folder": { + "description": "目标文档文件夹 nodeId 或 alidocs 文件夹 URL", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标文档文件夹 nodeId 或 alidocs 文件夹 URL" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标文档文件夹 nodeId 或 alidocs 文件夹 URL" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + }, + "node": { + "description": "文档/文件 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档/文件 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档/文件 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "workspace": { + "description": "目标知识库 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "workspace" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "workspace" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "doc.shortcut_move", + "primary_cli_path": "doc +move", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "移动文档/文件到指定文件夹或知识库", + "use_when": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ] + }, + "doc.shortcut_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +search", + "cobra-help:dws doc +search", + "internal/cli/schema_command_registry.json#doc.shortcut_search", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_search", + "cli_name": "+search", + "cli_path": "doc +search", + "confirmation": "not_required", + "description": "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "按关键词搜索有权限的文档 (不传则返回最近访问)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "按关键词搜索有权限的文档 (不传则返回最近访问)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +search", + "value": "doc.shortcut_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +search", + "value": "doc.shortcut_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键词搜索有权限的文档 (不传则返回最近访问)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键词搜索有权限的文档 (不传则返回最近访问)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search", + "parameter_count": 12, + "parameters": { + "created-from": { + "description": "创建时间起始 (毫秒时间戳)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建时间起始 (毫秒时间戳)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建时间起始 (毫秒时间戳)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "createdFrom" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "createdFrom" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "createdFrom", + "required": false, + "type": "integer" + }, + "created-to": { + "description": "创建时间截止 (毫秒时间戳)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建时间截止 (毫秒时间戳)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建时间截止 (毫秒时间戳)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "createdTo" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "createdTo" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "createdTo", + "required": false, + "type": "integer" + }, + "creator-uids": { + "description": "按创建者用户 ID 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按创建者用户 ID 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按创建者用户 ID 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "creatorUids" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "creatorUids" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "creatorUids", + "required": false, + "type": "array" + }, + "cursor": { + "description": "分页游标 (上次结果的 nextPageToken)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标 (上次结果的 nextPageToken)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标 (上次结果的 nextPageToken)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "editor-uids": { + "description": "按编辑者用户 ID 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按编辑者用户 ID 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按编辑者用户 ID 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "editorUids" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "editorUids" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "editorUids", + "required": false, + "type": "array" + }, + "extensions": { + "description": "按文件扩展名过滤 (如 adoc,axls,pdf)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按文件扩展名过滤 (如 adoc,axls,pdf)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按文件扩展名过滤 (如 adoc,axls,pdf)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "extensions" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "extensions" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "extensions", + "required": false, + "type": "array" + }, + "limit": { + "description": "每页数量 (默认 10,最大 30)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量 (默认 10,最大 30)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量 (默认 10,最大 30)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "mentioned-uids": { + "description": "按 @提及的用户 ID 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按 @提及的用户 ID 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按 @提及的用户 ID 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "mentionedUids" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "mentionedUids" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "mentionedUids", + "required": false, + "type": "array" + }, + "query": { + "description": "搜索关键词,不传返回最近访问的文档", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词,不传返回最近访问的文档" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词,不传返回最近访问的文档" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + }, + "visited-from": { + "description": "访问时间起始 (毫秒时间戳)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "访问时间起始 (毫秒时间戳)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "访问时间起始 (毫秒时间戳)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "visitedFrom" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "visitedFrom" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "visitedFrom", + "required": false, + "type": "integer" + }, + "visited-to": { + "description": "访问时间截止 (毫秒时间戳)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "访问时间截止 (毫秒时间戳)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "访问时间截止 (毫秒时间戳)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "visitedTo" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "visitedTo" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "visitedTo", + "required": false, + "type": "integer" + }, + "workspace-ids": { + "description": "按知识库 ID 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按知识库 ID 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按知识库 ID 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "workspaceIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "workspaceIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "workspaceIds", + "required": false, + "type": "array" + } + }, + "path": "doc.shortcut_search", + "primary_cli_path": "doc +search", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "use_when": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ] + }, + "doc.shortcut_share_doc": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +share-doc", + "cobra-help:dws doc +share-doc", + "internal/cli/schema_command_registry.json#doc.shortcut_share_doc", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "按姓名把文档链接私信发给某人(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_share_doc", + "cli_name": "+share-doc", + "cli_path": "doc +share-doc", + "confirmation": "user_required", + "description": "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "按姓名把文档链接私信发给某人(自动解析 userId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "按姓名把文档链接私信发给某人(自动解析 userId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +share-doc", + "value": "doc.shortcut_share_doc" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +share-doc", + "value": "doc.shortcut_share_doc" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名把文档链接私信发给某人(自动解析 userId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名把文档链接私信发给某人(自动解析 userId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_share_doc", + "parameter_count": 4, + "parameters": { + "ai-tag": { + "default": "true", + "description": "消息是否带 AI 发送角标(默认 true)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "消息是否带 AI 发送角标(默认 true)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "aiTag" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "aiTag" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "aiTag", + "required": false, + "type": "boolean" + }, + "note": { + "description": "附言(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "附言(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "附言(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "note" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "note" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "note", + "required": false, + "type": "string" + }, + "to": { + "description": "收件人姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "收件人姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "收件人姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "to" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "to" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "to", + "required": true, + "type": "string" + }, + "url": { + "description": "文档链接(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档链接(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档链接(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "url" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "url" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "url", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_share_doc", + "primary_cli_path": "doc +share-doc", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按姓名把文档链接私信发给某人(自动解析 userId)", + "use_when": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ] + }, + "doc.shortcut_template_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +template-list", + "cobra-help:dws doc +template-list", + "internal/cli/schema_command_registry.json#doc.shortcut_template_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "获取文档模板列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_template_list", + "cli_name": "+template-list", + "cli_path": "doc +template-list", + "confirmation": "not_required", + "description": "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +template-list --source PUBLIC" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "获取文档模板列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "获取文档模板列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +template-list", + "value": "doc.shortcut_template_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +template-list", + "value": "doc.shortcut_template_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +template-list --source PUBLIC" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +template-list --source PUBLIC" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取文档模板列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取文档模板列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_template_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回数量上限", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回数量上限" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回数量上限" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "source": { + "description": "模板来源: MY / PUBLIC (默认 MY)(可选值: MY, PUBLIC)", + "enum": [ + "MY", + "PUBLIC" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "模板来源: MY / PUBLIC (默认 MY)(可选值: MY, PUBLIC)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "模板来源: MY / PUBLIC (默认 MY)(可选值: MY, PUBLIC)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "MY", + "PUBLIC" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "MY", + "PUBLIC" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "source" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "source" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "source", + "required": false, + "type": "string" + } + }, + "path": "doc.shortcut_template_list", + "primary_cli_path": "doc +template-list", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取文档模板列表", + "use_when": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ] + }, + "doc.shortcut_template_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +template-search", + "cobra-help:dws doc +template-search", + "internal/cli/schema_command_registry.json#doc.shortcut_template_search", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "根据关键词搜索文档模板", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_template_search", + "cli_name": "+template-search", + "cli_path": "doc +template-search", + "confirmation": "not_required", + "description": "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +template-search --query \"周报\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "根据关键词搜索文档模板" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "根据关键词搜索文档模板" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +template-search", + "value": "doc.shortcut_template_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +template-search", + "value": "doc.shortcut_template_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +template-search --query \"周报\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +template-search --query \"周报\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "根据关键词搜索文档模板" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "根据关键词搜索文档模板" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_template_search", + "parameter_count": 4, + "parameters": { + "cursor": { + "description": "分页游标", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回数量上限", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回数量上限" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回数量上限" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + }, + "source": { + "description": "模板来源: MY / PUBLIC (默认 MY)(可选值: MY, PUBLIC)", + "enum": [ + "MY", + "PUBLIC" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "模板来源: MY / PUBLIC (默认 MY)(可选值: MY, PUBLIC)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "模板来源: MY / PUBLIC (默认 MY)(可选值: MY, PUBLIC)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "MY", + "PUBLIC" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "MY", + "PUBLIC" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "source" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "source" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "source", + "required": false, + "type": "string" + } + }, + "path": "doc.shortcut_template_search", + "primary_cli_path": "doc +template-search", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "根据关键词搜索文档模板", + "use_when": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ] + }, + "doc.shortcut_version_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +version-list", + "cobra-help:dws doc +version-list", + "internal/cli/schema_command_registry.json#doc.shortcut_version_list", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "查看文档历史版本列表", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_version_list", + "cli_name": "+version-list", + "cli_path": "doc +version-list", + "confirmation": "not_required", + "description": "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。", + "display": "钉钉文档管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws doc +version-list --node DOC_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "查看文档历史版本列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "查看文档历史版本列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +version-list", + "value": "doc.shortcut_version_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +version-list", + "value": "doc.shortcut_version_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +version-list --node DOC_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +version-list --node DOC_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查看文档历史版本列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查看文档历史版本列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回版本数量上限", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回版本数量上限" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回版本数量上限" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "node": { + "description": "文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_version_list", + "primary_cli_path": "doc +version-list", + "product_id": "doc", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查看文档历史版本列表", + "use_when": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ] + }, + "doc.shortcut_version_revert": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +version-revert", + "cobra-help:dws doc +version-revert", + "internal/cli/schema_command_registry.json#doc.shortcut_version_revert", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "回滚文档到指定历史版本", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_version_revert", + "cli_name": "+version-revert", + "cli_path": "doc +version-revert", + "confirmation": "user_required", + "description": "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。", + "display": "钉钉文档管理", + "effect": "destructive", + "effect_source": "agent-hint", + "examples": [ + "dws doc +version-revert --node DOC_ID --version 3" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "回滚文档到指定历史版本" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "回滚文档到指定历史版本" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +version-revert", + "value": "doc.shortcut_version_revert" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +version-revert", + "value": "doc.shortcut_version_revert" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "destructive" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "destructive" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +version-revert --node DOC_ID --version 3" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +version-revert --node DOC_ID --version 3" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "high" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "high" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "回滚文档到指定历史版本" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "回滚文档到指定历史版本" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_revert", + "parameter_count": 2, + "parameters": { + "node": { + "description": "文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "version": { + "description": "目标版本号 (从 +version-list 获取)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标版本号 (从 +version-list 获取)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标版本号 (从 +version-list 获取)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "version" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "version" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "version", + "required": true, + "type": "integer" + } + }, + "path": "doc.shortcut_version_revert", + "primary_cli_path": "doc +version-revert", + "product_id": "doc", + "reviewed": true, + "risk": "high", + "source": "reviewed_command_registry", + "title": "回滚文档到指定历史版本", + "use_when": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ] + }, + "doc.shortcut_version_save": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:doc +version-save", + "cobra-help:dws doc +version-save", + "internal/cli/schema_command_registry.json#doc.shortcut_version_save", + "internal/cli/schema_hints/metadata/doc.json", + "internal/cli/schema_hints/selection/doc.json" + ], + "agent_summary": "手动保存文档版本快照", + "agent_summary_source": "dws-agent-selection/doc", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "doc.shortcut_version_save", + "cli_name": "+version-save", + "cli_path": "doc +version-save", + "confirmation": "user_required", + "description": "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。", + "display": "钉钉文档管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws doc +version-save --node DOC_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "手动保存文档版本快照" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": "手动保存文档版本快照" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "doc +version-save", + "value": "doc.shortcut_version_save" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "doc +version-save", + "value": "doc.shortcut_version_save" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +version-save --node DOC_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "dws doc +version-save --node DOC_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/doc.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "手动保存文档版本快照" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "手动保存文档版本快照" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/doc.json", + "value": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_version_save", + "parameter_count": 1, + "parameters": { + "node": { + "description": "文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "doc.shortcut_version_save", + "primary_cli_path": "doc +version-save", + "product_id": "doc", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "手动保存文档版本快照", + "use_when": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ] + }, "doc.template_apply": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -298384,6 +392529,4552 @@ "明确搜团队空间名以拿 spaceId/rootFolderId 时用 --target space" ] }, + "drive.shortcut_copy": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +copy", + "cobra-help:dws drive +copy", + "internal/cli/schema_command_registry.json#drive.shortcut_copy", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "复制文件/文档到指定位置", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_copy", + "cli_name": "+copy", + "cli_path": "drive +copy", + "confirmation": "user_required", + "description": "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。", + "display": "钉盘文件管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive +copy --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "复制文件/文档到指定位置" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "复制文件/文档到指定位置" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +copy", + "value": "drive.shortcut_copy" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +copy", + "value": "drive.shortcut_copy" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +copy --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +copy --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "复制文件/文档到指定位置" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "复制文件/文档到指定位置" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_copy", + "parameter_count": 3, + "parameters": { + "folder": { + "description": "目标文件夹 nodeId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标文件夹 nodeId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标文件夹 nodeId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + }, + "node": { + "description": "文档/文件 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档/文件 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档/文件 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "workspace": { + "description": "目标知识库 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "workspace" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "workspace" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "drive.shortcut_copy", + "primary_cli_path": "drive +copy", + "product_id": "drive", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "复制文件/文档到指定位置", + "use_when": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ] + }, + "drive.shortcut_find_file": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +find-file", + "cobra-help:dws drive +find-file", + "internal/cli/schema_command_registry.json#drive.shortcut_find_file", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_find_file", + "cli_name": "+find-file", + "cli_path": "drive +find-file", + "confirmation": "not_required", + "description": "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "按名称关键词搜索钉盘文件并投影关键字段(只读)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "按名称关键词搜索钉盘文件并投影关键字段(只读)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +find-file", + "value": "drive.shortcut_find_file" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +find-file", + "value": "drive.shortcut_find_file" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按名称关键词搜索钉盘文件并投影关键字段(只读)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按名称关键词搜索钉盘文件并投影关键字段(只读)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_find_file", + "parameter_count": 1, + "parameters": { + "query": { + "description": "文件名关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文件名关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文件名关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "drive.shortcut_find_file", + "primary_cli_path": "drive +find-file", + "product_id": "drive", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "use_when": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ] + }, + "drive.shortcut_info": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +info", + "cobra-help:dws drive +info", + "internal/cli/schema_command_registry.json#drive.shortcut_info", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "获取钉盘文件/文件夹元数据", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_info", + "cli_name": "+info", + "cli_path": "drive +info", + "confirmation": "not_required", + "description": "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +info --node \u003cdentryUuid\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "获取钉盘文件/文件夹元数据" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "获取钉盘文件/文件夹元数据" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +info", + "value": "drive.shortcut_info" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +info", + "value": "drive.shortcut_info" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +info --node \u003cdentryUuid\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +info --node \u003cdentryUuid\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取钉盘文件/文件夹元数据" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取钉盘文件/文件夹元数据" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_info", + "parameter_count": 2, + "parameters": { + "node": { + "description": "节点 ID (dentryUuid)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "节点 ID (dentryUuid)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "节点 ID (dentryUuid)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "space-id": { + "description": "节点所属空间 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "节点所属空间 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "节点所属空间 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "spaceId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "spaceId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "spaceId", + "required": false, + "type": "string" + } + }, + "path": "drive.shortcut_info", + "primary_cli_path": "drive +info", + "product_id": "drive", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取钉盘文件/文件夹元数据", + "use_when": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ] + }, + "drive.shortcut_move": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +move", + "cobra-help:dws drive +move", + "internal/cli/schema_command_registry.json#drive.shortcut_move", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "移动文件/文档到指定位置", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_move", + "cli_name": "+move", + "cli_path": "drive +move", + "confirmation": "user_required", + "description": "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。", + "display": "钉盘文件管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws drive +move --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "移动文件/文档到指定位置" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "移动文件/文档到指定位置" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +move", + "value": "drive.shortcut_move" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +move", + "value": "drive.shortcut_move" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +move --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +move --node \u003cnodeId\u003e --folder \u003ctargetFolderId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "移动文件/文档到指定位置" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "移动文件/文档到指定位置" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_move", + "parameter_count": 3, + "parameters": { + "folder": { + "description": "目标文件夹 nodeId", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标文件夹 nodeId" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标文件夹 nodeId" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + }, + "node": { + "description": "文档/文件 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文档/文件 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文档/文件 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "workspace": { + "description": "目标知识库 ID", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "目标知识库 ID" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "workspace" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "workspace" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "workspace", + "required": false, + "type": "string" + } + }, + "path": "drive.shortcut_move", + "primary_cli_path": "drive +move", + "product_id": "drive", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "移动文件/文档到指定位置", + "use_when": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ] + }, + "drive.shortcut_recent": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +recent", + "cobra-help:dws drive +recent", + "internal/cli/schema_command_registry.json#drive.shortcut_recent", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "获取最近访问/编辑的文档列表", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_recent", + "cli_name": "+recent", + "cli_path": "drive +recent", + "confirmation": "not_required", + "description": "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "获取最近访问/编辑的文档列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "获取最近访问/编辑的文档列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +recent", + "value": "drive.shortcut_recent" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +recent", + "value": "drive.shortcut_recent" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取最近访问/编辑的文档列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取最近访问/编辑的文档列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_recent", + "parameter_count": 4, + "parameters": { + "creator-type": { + "description": "创建人过滤: 0=全部, 1=我创建, 2=他人创建", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建人过滤: 0=全部, 1=我创建, 2=他人创建" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建人过滤: 0=全部, 1=我创建, 2=他人创建" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "creatorType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "creatorType" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "creatorType", + "required": false, + "type": "integer" + }, + "cursor": { + "description": "分页游标 (从上次结果的 nextCursor 获取)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标 (从上次结果的 nextCursor 获取)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标 (从上次结果的 nextCursor 获取)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页数量 (默认 20,最大 20)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量 (默认 20,最大 20)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量 (默认 20,最大 20)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "operate-type": { + "description": "操作类型: 0=最近访问(默认), 1=最近编辑", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "操作类型: 0=最近访问(默认), 1=最近编辑" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "操作类型: 0=最近访问(默认), 1=最近编辑" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "operateType" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "operateType" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "operateType", + "required": false, + "type": "integer" + } + }, + "path": "drive.shortcut_recent", + "primary_cli_path": "drive +recent", + "product_id": "drive", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取最近访问/编辑的文档列表", + "use_when": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ] + }, + "drive.shortcut_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +search", + "cobra-help:dws drive +search", + "internal/cli/schema_command_registry.json#drive.shortcut_search", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "搜索钉盘文件", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_search", + "cli_name": "+search", + "cli_path": "drive +search", + "confirmation": "not_required", + "description": "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "搜索钉盘文件" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "搜索钉盘文件" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +search", + "value": "drive.shortcut_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +search", + "value": "drive.shortcut_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "搜索钉盘文件" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "搜索钉盘文件" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search", + "parameter_count": 11, + "parameters": { + "created-from": { + "description": "创建时间起始 (毫秒时间戳,含)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建时间起始 (毫秒时间戳,含)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建时间起始 (毫秒时间戳,含)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "createdFrom" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "createdFrom" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "createdFrom", + "required": false, + "type": "integer" + }, + "created-to": { + "description": "创建时间截止 (毫秒时间戳,含)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建时间截止 (毫秒时间戳,含)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建时间截止 (毫秒时间戳,含)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "createdTo" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "createdTo" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "createdTo", + "required": false, + "type": "integer" + }, + "creator-uids": { + "description": "按创建者用户 ID 过滤", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按创建者用户 ID 过滤" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按创建者用户 ID 过滤" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "creatorUids" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "creatorUids" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "creatorUids", + "required": false, + "type": "array" + }, + "cursor": { + "description": "分页游标,从上次返回的 nextCursor 获取", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,从上次返回的 nextCursor 获取" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,从上次返回的 nextCursor 获取" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "extensions": { + "description": "按文件扩展名过滤,不含点号 (如 pdf,docx)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按文件扩展名过滤,不含点号 (如 pdf,docx)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按文件扩展名过滤,不含点号 (如 pdf,docx)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "extensions" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "extensions" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "extensions", + "required": false, + "type": "array" + }, + "file-types": { + "description": "按文件内容类型过滤: alidoc,document,image,video,audio,archive", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按文件内容类型过滤: alidoc,document,image,video,audio,archive" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按文件内容类型过滤: alidoc,document,image,video,audio,archive" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "fileTypes" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "fileTypes" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "fileTypes", + "required": false, + "type": "array" + }, + "limit": { + "description": "每页返回数量 (默认 10,最大 30)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量 (默认 10,最大 30)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量 (默认 10,最大 30)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "modified-from": { + "description": "修改时间起始 (毫秒时间戳,含)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "修改时间起始 (毫秒时间戳,含)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "修改时间起始 (毫秒时间戳,含)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "modifiedFrom" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "modifiedFrom" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "modifiedFrom", + "required": false, + "type": "integer" + }, + "modified-to": { + "description": "修改时间截止 (毫秒时间戳,含)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "修改时间截止 (毫秒时间戳,含)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "修改时间截止 (毫秒时间戳,含)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "modifiedTo" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "modifiedTo" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "modifiedTo", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + }, + "target": { + "description": "搜索范围: file(钉盘文件) / space(钉盘团队空间)(可选值: file, space)", + "enum": [ + "file", + "space" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索范围: file(钉盘文件) / space(钉盘团队空间)(可选值: file, space)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索范围: file(钉盘文件) / space(钉盘团队空间)(可选值: file, space)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "file", + "space" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "file", + "space" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "target" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "target" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "target", + "required": false, + "type": "string" + } + }, + "path": "drive.shortcut_search", + "primary_cli_path": "drive +search", + "product_id": "drive", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "搜索钉盘文件", + "use_when": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ] + }, + "drive.shortcut_search_docs": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:drive +search-docs", + "cobra-help:dws drive +search-docs", + "internal/cli/schema_command_registry.json#drive.shortcut_search_docs", + "internal/cli/schema_hints/metadata/drive.json", + "internal/cli/schema_hints/selection/drive.json" + ], + "agent_summary": "搜索文档空间文档", + "agent_summary_source": "dws-agent-selection/drive", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "drive.shortcut_search_docs", + "cli_name": "+search-docs", + "cli_path": "drive +search-docs", + "confirmation": "not_required", + "description": "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。", + "display": "钉盘文件管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws drive +search-docs --query \"季度汇报\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "搜索文档空间文档" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": "搜索文档空间文档" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "drive +search-docs", + "value": "drive.shortcut_search_docs" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "drive +search-docs", + "value": "drive.shortcut_search_docs" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +search-docs --query \"季度汇报\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "dws drive +search-docs --query \"季度汇报\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/drive.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "搜索文档空间文档" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "搜索文档空间文档" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/drive.json", + "value": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_docs", + "parameter_count": 2, + "parameters": { + "limit": { + "description": "每页数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "drive.shortcut_search_docs", + "primary_cli_path": "drive +search-docs", + "product_id": "drive", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "搜索文档空间文档", + "use_when": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ] + }, "drive.upload": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -331868,6 +430559,6010 @@ "用户明确要发邮件,且已确认发件人邮箱、收件人、主题与正文" ] }, + "mail.shortcut_contact_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +contact-list", + "cobra-help:dws mail +contact-list", + "internal/cli/schema_command_registry.json#mail.shortcut_contact_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出指定邮箱的所有邮件联系人", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_contact_list", + "cli_name": "+contact-list", + "cli_path": "mail +contact-list", + "confirmation": "not_required", + "description": "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +contact-list --email user@company.com --limit 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱的所有邮件联系人" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱的所有邮件联系人" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +contact-list", + "value": "mail.shortcut_contact_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +contact-list", + "value": "mail.shortcut_contact_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +contact-list --email user@company.com --limit 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +contact-list --email user@company.com --limit 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定邮箱的所有邮件联系人" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定邮箱的所有邮件联系人" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_contact_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标,取自响应中的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,取自响应中的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,取自响应中的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "email": { + "description": "用户邮箱地址(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户邮箱地址(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户邮箱地址(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": true, + "type": "string" + }, + "limit": { + "description": "每页返回数量(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": true, + "type": "string" + } + }, + "path": "mail.shortcut_contact_list", + "primary_cli_path": "mail +contact-list", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定邮箱的所有邮件联系人", + "use_when": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ] + }, + "mail.shortcut_find_mail_user": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +find-mail-user", + "cobra-help:dws mail +find-mail-user", + "internal/cli/schema_command_registry.json#mail.shortcut_find_mail_user", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_find_mail_user", + "cli_name": "+find-mail-user", + "cli_path": "mail +find-mail-user", + "confirmation": "not_required", + "description": "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +find-mail-user", + "value": "mail.shortcut_find_mail_user" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +find-mail-user", + "value": "mail.shortcut_find_mail_user" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_find_mail_user", + "parameter_count": 2, + "parameters": { + "limit": { + "description": "返回条数上限(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回条数上限(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回条数上限(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "搜索关键词(姓名/花名/邮箱片段,必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(姓名/花名/邮箱片段,必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(姓名/花名/邮箱片段,必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "mail.shortcut_find_mail_user", + "primary_cli_path": "mail +find-mail-user", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "use_when": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ] + }, + "mail.shortcut_folder_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +folder-list", + "cobra-help:dws mail +folder-list", + "internal/cli/schema_command_registry.json#mail.shortcut_folder_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出顶层文件夹或指定父文件夹下的子文件夹", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_folder_list", + "cli_name": "+folder-list", + "cli_path": "mail +folder-list", + "confirmation": "not_required", + "description": "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +folder-list --email user@company.com" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出顶层文件夹或指定父文件夹下的子文件夹" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出顶层文件夹或指定父文件夹下的子文件夹" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +folder-list", + "value": "mail.shortcut_folder_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +folder-list", + "value": "mail.shortcut_folder_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +folder-list --email user@company.com" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +folder-list --email user@company.com" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出顶层文件夹或指定父文件夹下的子文件夹" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出顶层文件夹或指定父文件夹下的子文件夹" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_folder_list", + "parameter_count": 2, + "parameters": { + "email": { + "description": "邮件所属邮箱地址(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "邮件所属邮箱地址(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "邮件所属邮箱地址(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": true, + "type": "string" + }, + "folder": { + "description": "父文件夹 ID,不传则返回顶层文件夹", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "父文件夹 ID,不传则返回顶层文件夹" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "父文件夹 ID,不传则返回顶层文件夹" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + } + }, + "path": "mail.shortcut_folder_list", + "primary_cli_path": "mail +folder-list", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出顶层文件夹或指定父文件夹下的子文件夹", + "use_when": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ] + }, + "mail.shortcut_recent_mail": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +recent-mail", + "cobra-help:dws mail +recent-mail", + "internal/cli/schema_command_registry.json#mail.shortcut_recent_mail", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_recent_mail", + "cli_name": "+recent-mail", + "cli_path": "mail +recent-mail", + "confirmation": "not_required", + "description": "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +recent-mail", + "value": "mail.shortcut_recent_mail" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +recent-mail", + "value": "mail.shortcut_recent_mail" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_recent_mail", + "parameter_count": 3, + "parameters": { + "email": { + "description": "要查看的邮箱地址(可选,默认取你绑定的第一个邮箱)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要查看的邮箱地址(可选,默认取你绑定的第一个邮箱)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要查看的邮箱地址(可选,默认取你绑定的第一个邮箱)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": false, + "type": "string" + }, + "folder": { + "description": "文件夹 ID(可选,默认定位收件箱)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "文件夹 ID(可选,默认定位收件箱)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "文件夹 ID(可选,默认定位收件箱)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": false, + "type": "string" + }, + "limit": { + "description": "返回会话条数上限(可选,默认 20,最大 100)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回会话条数上限(可选,默认 20,最大 100)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回会话条数上限(可选,默认 20,最大 100)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "mail.shortcut_recent_mail", + "primary_cli_path": "mail +recent-mail", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "use_when": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ] + }, + "mail.shortcut_search_mail": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +search-mail", + "cobra-help:dws mail +search-mail", + "internal/cli/schema_command_registry.json#mail.shortcut_search_mail", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_search_mail", + "cli_name": "+search-mail", + "cli_path": "mail +search-mail", + "confirmation": "not_required", + "description": "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date\u003e2025-06-01T00:00:00Z\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +search-mail", + "value": "mail.shortcut_search_mail" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +search-mail", + "value": "mail.shortcut_search_mail" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date\u003e2025-06-01T00:00:00Z\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date\u003e2025-06-01T00:00:00Z\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_mail", + "parameter_count": 3, + "parameters": { + "email": { + "description": "要搜索的邮箱地址(可选,默认取你绑定的第一个邮箱)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要搜索的邮箱地址(可选,默认取你绑定的第一个邮箱)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要搜索的邮箱地址(可选,默认取你绑定的第一个邮箱)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": false, + "type": "string" + }, + "query": { + "description": "KQL 搜索表达式(如 subject:周报、from:alice、folderId:2)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "KQL 搜索表达式(如 subject:周报、from:alice、folderId:2)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "KQL 搜索表达式(如 subject:周报、from:alice、folderId:2)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + }, + "size": { + "description": "返回条数上限(可选,默认 20)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回条数上限(可选,默认 20)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回条数上限(可选,默认 20)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "size", + "required": false, + "type": "string" + } + }, + "path": "mail.shortcut_search_mail", + "primary_cli_path": "mail +search-mail", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "use_when": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ] + }, + "mail.shortcut_tag_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +tag-list", + "cobra-help:dws mail +tag-list", + "internal/cli/schema_command_registry.json#mail.shortcut_tag_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出指定邮箱下的所有邮件标签", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_tag_list", + "cli_name": "+tag-list", + "cli_path": "mail +tag-list", + "confirmation": "not_required", + "description": "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +tag-list --email user@company.com" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱下的所有邮件标签" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱下的所有邮件标签" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +tag-list", + "value": "mail.shortcut_tag_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +tag-list", + "value": "mail.shortcut_tag_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +tag-list --email user@company.com" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +tag-list --email user@company.com" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定邮箱下的所有邮件标签" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定邮箱下的所有邮件标签" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_tag_list", + "parameter_count": 1, + "parameters": { + "email": { + "description": "用户的邮箱地址(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户的邮箱地址(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户的邮箱地址(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": true, + "type": "string" + } + }, + "path": "mail.shortcut_tag_list", + "primary_cli_path": "mail +tag-list", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定邮箱下的所有邮件标签", + "use_when": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ] + }, + "mail.shortcut_template_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +template-list", + "cobra-help:dws mail +template-list", + "internal/cli/schema_command_registry.json#mail.shortcut_template_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出指定邮箱的所有邮件模板", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_template_list", + "cli_name": "+template-list", + "cli_path": "mail +template-list", + "confirmation": "not_required", + "description": "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +template-list --email user@company.com --limit 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱的所有邮件模板" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱的所有邮件模板" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +template-list", + "value": "mail.shortcut_template_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +template-list", + "value": "mail.shortcut_template_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +template-list --email user@company.com --limit 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +template-list --email user@company.com --limit 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定邮箱的所有邮件模板" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定邮箱的所有邮件模板" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_template_list", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页游标,取自响应中的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,取自响应中的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,取自响应中的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "email": { + "description": "用户邮箱地址(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "用户邮箱地址(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "用户邮箱地址(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": true, + "type": "string" + }, + "limit": { + "description": "每页返回数量(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": true, + "type": "string" + } + }, + "path": "mail.shortcut_template_list", + "primary_cli_path": "mail +template-list", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定邮箱的所有邮件模板", + "use_when": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ] + }, + "mail.shortcut_thread_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +thread-list", + "cobra-help:dws mail +thread-list", + "internal/cli/schema_command_registry.json#mail.shortcut_thread_list", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出指定邮箱文件夹下的邮件会话(thread)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_thread_list", + "cli_name": "+thread-list", + "cli_path": "mail +thread-list", + "confirmation": "not_required", + "description": "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱文件夹下的邮件会话(thread)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出指定邮箱文件夹下的邮件会话(thread)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +thread-list", + "value": "mail.shortcut_thread_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +thread-list", + "value": "mail.shortcut_thread_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出指定邮箱文件夹下的邮件会话(thread)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出指定邮箱文件夹下的邮件会话(thread)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_thread_list", + "parameter_count": 7, + "parameters": { + "ascending": { + "description": "是否按时间升序", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "是否按时间升序" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "是否按时间升序" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "ascending" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "ascending" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "boolean" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "boolean" + } + }, + "property": "ascending", + "required": false, + "type": "boolean" + }, + "cursor": { + "description": "分页游标,首次请求可不传", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,首次请求可不传" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,首次请求可不传" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "email": { + "description": "会话所属邮箱地址(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "会话所属邮箱地址(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "会话所属邮箱地址(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": true, + "type": "string" + }, + "end": { + "description": "结束 UTC 时间,如 2024-12-31T23:59:59Z", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束 UTC 时间,如 2024-12-31T23:59:59Z" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束 UTC 时间,如 2024-12-31T23:59:59Z" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "end", + "required": false, + "type": "string" + }, + "folder": { + "description": "邮件文件夹 ID(不是文件夹名称)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "邮件文件夹 ID(不是文件夹名称)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "邮件文件夹 ID(不是文件夹名称)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "folder" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "folder" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "folder", + "required": true, + "type": "string" + }, + "limit": { + "default": "20", + "description": "本次列出的会话数,最大 100", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "本次列出的会话数,最大 100" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "本次列出的会话数,最大 100" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "start": { + "description": "开始 UTC 时间,如 2024-01-01T00:00:00Z", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始 UTC 时间,如 2024-01-01T00:00:00Z" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始 UTC 时间,如 2024-01-01T00:00:00Z" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "start", + "required": false, + "type": "string" + } + }, + "path": "mail.shortcut_thread_list", + "primary_cli_path": "mail +thread-list", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出指定邮箱文件夹下的邮件会话(thread)", + "use_when": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ] + }, + "mail.shortcut_unread_mail": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +unread-mail", + "cobra-help:dws mail +unread-mail", + "internal/cli/schema_command_registry.json#mail.shortcut_unread_mail", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_unread_mail", + "cli_name": "+unread-mail", + "cli_path": "mail +unread-mail", + "confirmation": "not_required", + "description": "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出未读邮件并投影列表(主题/发件人/时间/messageId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "列出未读邮件并投影列表(主题/发件人/时间/messageId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +unread-mail", + "value": "mail.shortcut_unread_mail" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +unread-mail", + "value": "mail.shortcut_unread_mail" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出未读邮件并投影列表(主题/发件人/时间/messageId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出未读邮件并投影列表(主题/发件人/时间/messageId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_unread_mail", + "parameter_count": 2, + "parameters": { + "email": { + "description": "要查询的邮箱地址(可选,默认取你绑定的第一个邮箱)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要查询的邮箱地址(可选,默认取你绑定的第一个邮箱)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要查询的邮箱地址(可选,默认取你绑定的第一个邮箱)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": false, + "type": "string" + }, + "size": { + "description": "返回条数上限(可选,默认 20)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回条数上限(可选,默认 20)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回条数上限(可选,默认 20)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "size", + "required": false, + "type": "string" + } + }, + "path": "mail.shortcut_unread_mail", + "primary_cli_path": "mail +unread-mail", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "use_when": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ] + }, + "mail.shortcut_user_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:mail +user-search", + "cobra-help:dws mail +user-search", + "internal/cli/schema_command_registry.json#mail.shortcut_user_search", + "internal/cli/schema_hints/metadata/mail.json", + "internal/cli/schema_hints/selection/mail.json" + ], + "agent_summary": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "agent_summary_source": "dws-agent-selection/mail", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "mail.shortcut_user_search", + "cli_name": "+user-search", + "cli_path": "mail +user-search", + "confirmation": "not_required", + "constraints": { + "require_one_of": [ + [ + "keyword", + "employee-no" + ] + ] + }, + "description": "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。\n\n参数约束:\n - --keyword、--employee-no 至少指定一个", + "display": "邮箱 / 邮件收发", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "按关键词或工号搜索邮箱用户(仅企业邮箱)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": "按关键词或工号搜索邮箱用户(仅企业邮箱)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "mail +user-search", + "value": "mail.shortcut_user_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "mail +user-search", + "value": "mail.shortcut_user_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。\n\n参数约束:\n - --keyword、--employee-no 至少指定一个" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。\n\n参数约束:\n - --keyword、--employee-no 至少指定一个" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/mail.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键词或工号搜索邮箱用户(仅企业邮箱)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键词或工号搜索邮箱用户(仅企业邮箱)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/mail.json", + "value": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_user_search", + "parameter_count": 5, + "parameters": { + "cursor": { + "description": "分页游标,取自响应中的 nextCursor", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,取自响应中的 nextCursor" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,取自响应中的 nextCursor" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "email": { + "description": "搜索目标邮箱地址", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索目标邮箱地址" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索目标邮箱地址" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "email" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "email" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "email", + "required": false, + "type": "string" + }, + "employee-no": { + "description": "按工号精确搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "按工号精确搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "按工号精确搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "employeeNo" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "employeeNo" + }, + "required": { + "candidates": [ + { + "precedence": "command_constraint", + "selected": true, + "source": "require_one_of_constraint", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "command_constraint", + "resolution": "highest_precedence", + "source": "require_one_of_constraint", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "employeeNo", + "required": false, + "type": "string" + }, + "keyword": { + "description": "搜索关键词(未提供 --employee-no 时为必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(未提供 --employee-no 时为必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(未提供 --employee-no 时为必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "keyword" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "keyword" + }, + "required": { + "candidates": [ + { + "precedence": "command_constraint", + "selected": true, + "source": "require_one_of_constraint", + "value": false + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "command_constraint", + "resolution": "highest_precedence", + "source": "require_one_of_constraint", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "keyword", + "required": false, + "type": "string" + }, + "limit": { + "description": "每页返回数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页返回数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页返回数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + } + }, + "path": "mail.shortcut_user_search", + "primary_cli_path": "mail +user-search", + "product_id": "mail", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "use_when": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ] + }, "mail.update_draft": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -357125,6 +461820,3340 @@ "用户明确要求把转写中指定发言人昵称批量替换为目标发言人时" ] }, + "minutes.shortcut_detail": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:minutes +detail", + "cobra-help:dws minutes +detail", + "internal/cli/schema_command_registry.json#minutes.shortcut_detail", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "agent_summary": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_detail", + "cli_name": "+detail", + "cli_path": "minutes +detail", + "confirmation": "not_required", + "description": "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。", + "display": "AI 听记 / 会议纪要", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +detail --id \u003ctaskUuid\u003e", + "dws minutes +detail --id \u003ctaskUuid\u003e --artifacts summary,todos" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "minutes +detail", + "value": "minutes.shortcut_detail" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "minutes +detail", + "value": "minutes.shortcut_detail" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +detail --id \u003ctaskUuid\u003e", + "dws minutes +detail --id \u003ctaskUuid\u003e --artifacts summary,todos" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +detail --id \u003ctaskUuid\u003e", + "dws minutes +detail --id \u003ctaskUuid\u003e --artifacts summary,todos" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_detail", + "parameter_count": 3, + "parameters": { + "artifacts": { + "description": "要拉取的产物子集(默认全部)(可选值: basic, summary, keywords, transcript, todos)", + "enum": [ + "basic", + "summary", + "keywords", + "transcript", + "todos" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "要拉取的产物子集(默认全部)(可选值: basic, summary, keywords, transcript, todos)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "要拉取的产物子集(默认全部)(可选值: basic, summary, keywords, transcript, todos)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "basic", + "summary", + "keywords", + "transcript", + "todos" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "basic", + "summary", + "keywords", + "transcript", + "todos" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "artifacts" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "artifacts" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "artifacts", + "required": false, + "type": "array" + }, + "direction": { + "description": "逐字稿排序: 0=正序(默认), 1=倒序(可选)(可选值: 0, 1)", + "enum": [ + "0", + "1" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "逐字稿排序: 0=正序(默认), 1=倒序(可选)(可选值: 0, 1)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "逐字稿排序: 0=正序(默认), 1=倒序(可选)(可选值: 0, 1)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "0", + "1" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "0", + "1" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "direction" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "direction" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "direction", + "required": false, + "type": "string" + }, + "id": { + "description": "听记 taskUuid(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "听记 taskUuid(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "听记 taskUuid(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "id" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "id" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "id", + "required": true, + "type": "string" + } + }, + "path": "minutes.shortcut_detail", + "primary_cli_path": "minutes +detail", + "product_id": "minutes", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "use_when": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ] + }, + "minutes.shortcut_list_all": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:minutes +list-all", + "cobra-help:dws minutes +list-all", + "internal/cli/schema_command_registry.json#minutes.shortcut_list_all", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "agent_summary": "查询我有权限访问的所有听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_list_all", + "cli_name": "+list-all", + "cli_path": "minutes +list-all", + "confirmation": "not_required", + "description": "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。", + "display": "AI 听记 / 会议纪要", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "查询我有权限访问的所有听记列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "查询我有权限访问的所有听记列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "minutes +list-all", + "value": "minutes.shortcut_list_all" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "minutes +list-all", + "value": "minutes.shortcut_list_all" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询我有权限访问的所有听记列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询我有权限访问的所有听记列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_all", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页 token (首页留空)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页 token (首页留空)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页 token (首页留空)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "default": "10", + "description": "每页数据条数", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数据条数" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数据条数" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "关键字筛选", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字筛选" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字筛选" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "minutes.shortcut_list_all", + "primary_cli_path": "minutes +list-all", + "product_id": "minutes", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询我有权限访问的所有听记列表", + "use_when": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ] + }, + "minutes.shortcut_list_mine": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:minutes +list-mine", + "cobra-help:dws minutes +list-mine", + "internal/cli/schema_command_registry.json#minutes.shortcut_list_mine", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "agent_summary": "查询我创建的听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_list_mine", + "cli_name": "+list-mine", + "cli_path": "minutes +list-mine", + "confirmation": "not_required", + "description": "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。", + "display": "AI 听记 / 会议纪要", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "查询我创建的听记列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "查询我创建的听记列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "minutes +list-mine", + "value": "minutes.shortcut_list_mine" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "minutes +list-mine", + "value": "minutes.shortcut_list_mine" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询我创建的听记列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询我创建的听记列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_mine", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页 token (首页留空)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页 token (首页留空)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页 token (首页留空)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "default": "10", + "description": "每页数据条数", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数据条数" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数据条数" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "关键字筛选", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字筛选" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字筛选" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "minutes.shortcut_list_mine", + "primary_cli_path": "minutes +list-mine", + "product_id": "minutes", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询我创建的听记列表", + "use_when": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ] + }, + "minutes.shortcut_list_shared": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:minutes +list-shared", + "cobra-help:dws minutes +list-shared", + "internal/cli/schema_command_registry.json#minutes.shortcut_list_shared", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "agent_summary": "查询他人共享给我的听记列表", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_list_shared", + "cli_name": "+list-shared", + "cli_path": "minutes +list-shared", + "confirmation": "not_required", + "description": "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。", + "display": "AI 听记 / 会议纪要", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +list-shared --limit 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "查询他人共享给我的听记列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "查询他人共享给我的听记列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "minutes +list-shared", + "value": "minutes.shortcut_list_shared" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "minutes +list-shared", + "value": "minutes.shortcut_list_shared" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +list-shared --limit 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +list-shared --limit 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询他人共享给我的听记列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询他人共享给我的听记列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_shared", + "parameter_count": 3, + "parameters": { + "cursor": { + "description": "分页 token (首页留空)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页 token (首页留空)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页 token (首页留空)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "cursor", + "required": false, + "type": "string" + }, + "limit": { + "default": "10", + "description": "每页数据条数", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数据条数" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数据条数" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "query": { + "description": "关键字筛选", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字筛选" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字筛选" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "minutes.shortcut_list_shared", + "primary_cli_path": "minutes +list-shared", + "product_id": "minutes", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询他人共享给我的听记列表", + "use_when": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ] + }, + "minutes.shortcut_record_start": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:minutes +record-start", + "cobra-help:dws minutes +record-start", + "internal/cli/schema_command_registry.json#minutes.shortcut_record_start", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "agent_summary": "发起听记(开始录音)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_record_start", + "cli_name": "+record-start", + "cli_path": "minutes +record-start", + "confirmation": "user_required", + "description": "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。", + "display": "AI 听记 / 会议纪要", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +record-start --session-id \u003csessionId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "发起听记(开始录音)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "发起听记(开始录音)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "minutes +record-start", + "value": "minutes.shortcut_record_start" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "minutes +record-start", + "value": "minutes.shortcut_record_start" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +record-start --session-id \u003csessionId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +record-start --session-id \u003csessionId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "发起听记(开始录音)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "发起听记(开始录音)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_record_start", + "parameter_count": 1, + "parameters": { + "session-id": { + "description": "AI 助理会话 ID (可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "AI 助理会话 ID (可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "AI 助理会话 ID (可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "sessionId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "sessionId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "sessionId", + "required": false, + "type": "string" + } + }, + "path": "minutes.shortcut_record_start", + "primary_cli_path": "minutes +record-start", + "product_id": "minutes", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "发起听记(开始录音)", + "use_when": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ] + }, + "minutes.shortcut_replace_batch": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:minutes +replace-batch", + "cobra-help:dws minutes +replace-batch", + "internal/cli/schema_command_registry.json#minutes.shortcut_replace_batch", + "internal/cli/schema_hints/metadata/minutes.json", + "internal/cli/schema_hints/selection/minutes.json" + ], + "agent_summary": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "agent_summary_source": "dws-agent-selection/minutes", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "minutes.shortcut_replace_batch", + "cli_name": "+replace-batch", + "cli_path": "minutes +replace-batch", + "confirmation": "user_required", + "description": "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。\n\n参数约束:\n - 每个 --pair 必须使用 \"原文=\u003e替换\" 格式,原文不能为空且不能重复", + "display": "AI 听记 / 会议纪要", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"张三=\u003e张三丰\"", + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"Q2=\u003e第二季度\" --pair \"PM=\u003e产品经理\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "minutes +replace-batch", + "value": "minutes.shortcut_replace_batch" + }, + { + "precedence": "reviewed_manual", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": false, + "source": "reviewed_manual_hint", + "source_ref": "minutes +replace-batch", + "value": "minutes.shortcut_replace_batch" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "minutes +replace-batch", + "value": "minutes.shortcut_replace_batch" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。\n\n参数约束:\n - 每个 --pair 必须使用 \"原文=\u003e替换\" 格式,原文不能为空且不能重复" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。\n\n参数约束:\n - 每个 --pair 必须使用 \"原文=\u003e替换\" 格式,原文不能为空且不能重复" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"张三=\u003e张三丰\"", + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"Q2=\u003e第二季度\" --pair \"PM=\u003e产品经理\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"张三=\u003e张三丰\"", + "dws minutes +replace-batch --id \u003ctaskUuid\u003e --pair \"Q2=\u003e第二季度\" --pair \"PM=\u003e产品经理\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/minutes.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/minutes.json", + "value": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_replace_batch", + "parameter_count": 2, + "parameters": { + "id": { + "description": "听记 taskUuid(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "听记 taskUuid(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "听记 taskUuid(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "id" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "id" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "id", + "required": true, + "type": "string" + }, + "pair": { + "description": "替换规则,格式 \"原文=\u003e替换\",可重复传多组(必填);每组原文不能为空且不能重复", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "reviewed_manual", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "selected": true, + "source": "reviewed_manual_hint", + "value": "替换规则,格式 \"原文=\u003e替换\",可重复传多组(必填);每组原文不能为空且不能重复" + }, + { + "precedence": "cobra_contract", + "selected": false, + "source": "cobra_usage", + "value": "替换规则,格式 \"原文=\u003e替换\",可重复传多组(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "reviewed_manual", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "source": "reviewed_manual_hint", + "value": "替换规则,格式 \"原文=\u003e替换\",可重复传多组(必填);每组原文不能为空且不能重复" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "pair" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "pair" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "pair", + "required": true, + "type": "array" + } + }, + "path": "minutes.shortcut_replace_batch", + "primary_cli_path": "minutes +replace-batch", + "product_id": "minutes", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "对一条妙记(听记)批量执行多组文字替换(原文=\u003e替换)", + "use_when": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=\u003e替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ] + }, "minutes.update_minutes_summary": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -368329,6 +476358,4021 @@ "用户明确要求撤销自己已发起的审批实例,且 processInstanceId 已确认时" ] }, + "oa.shortcut_list_cc": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +list-cc", + "cobra-help:dws oa +list-cc", + "internal/cli/schema_command_registry.json#oa.shortcut_list_cc", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "获取抄送当前用户的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_cc", + "cli_name": "+list-cc", + "cli_path": "oa +list-cc", + "confirmation": "not_required", + "description": "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取抄送当前用户的审批单列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取抄送当前用户的审批单列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +list-cc", + "value": "oa.shortcut_list_cc" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +list-cc", + "value": "oa.shortcut_list_cc" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取抄送当前用户的审批单列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取抄送当前用户的审批单列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_cc", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页大小", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页大小" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页大小" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + }, + "page": { + "default": "1", + "description": "分页页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + }, + "query": { + "description": "关键字搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "oa.shortcut_list_cc", + "primary_cli_path": "oa +list-cc", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取抄送当前用户的审批单列表", + "use_when": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ] + }, + "oa.shortcut_list_executed": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +list-executed", + "cobra-help:dws oa +list-executed", + "internal/cli/schema_command_registry.json#oa.shortcut_list_executed", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "获取当前用户已经处理过的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_executed", + "cli_name": "+list-executed", + "cli_path": "oa +list-executed", + "confirmation": "not_required", + "description": "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取当前用户已经处理过的审批单列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取当前用户已经处理过的审批单列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +list-executed", + "value": "oa.shortcut_list_executed" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +list-executed", + "value": "oa.shortcut_list_executed" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取当前用户已经处理过的审批单列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取当前用户已经处理过的审批单列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_executed", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页大小", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页大小" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页大小" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + }, + "page": { + "default": "1", + "description": "分页页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + }, + "query": { + "description": "关键字搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "oa.shortcut_list_executed", + "primary_cli_path": "oa +list-executed", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取当前用户已经处理过的审批单列表", + "use_when": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ] + }, + "oa.shortcut_list_forms": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +list-forms", + "cobra-help:dws oa +list-forms", + "internal/cli/schema_command_registry.json#oa.shortcut_list_forms", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "获取当前用户可见的审批表单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_forms", + "cli_name": "+list-forms", + "cli_path": "oa +list-forms", + "confirmation": "not_required", + "description": "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-forms --cursor 0 --limit 100" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取当前用户可见的审批表单列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取当前用户可见的审批表单列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +list-forms", + "value": "oa.shortcut_list_forms" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +list-forms", + "value": "oa.shortcut_list_forms" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-forms --cursor 0 --limit 100" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-forms --cursor 0 --limit 100" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取当前用户可见的审批表单列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取当前用户可见的审批表单列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_forms", + "parameter_count": 2, + "parameters": { + "cursor": { + "description": "分页游标,首次传 0", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,首次传 0" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,首次传 0" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "cursor", + "required": false, + "type": "integer" + }, + "limit": { + "default": "100", + "description": "每页大小,最大 100", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页大小,最大 100" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页大小,最大 100" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + } + }, + "path": "oa.shortcut_list_forms", + "primary_cli_path": "oa +list-forms", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取当前用户可见的审批表单列表", + "use_when": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ] + }, + "oa.shortcut_list_pending": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +list-pending", + "cobra-help:dws oa +list-pending", + "internal/cli/schema_command_registry.json#oa.shortcut_list_pending", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_pending", + "cli_name": "+list-pending", + "cli_path": "oa +list-pending", + "confirmation": "not_required", + "description": "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "查询待我处理的审批(时间范围为 epoch 毫秒)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "查询待我处理的审批(时间范围为 epoch 毫秒)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +list-pending", + "value": "oa.shortcut_list_pending" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +list-pending", + "value": "oa.shortcut_list_pending" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询待我处理的审批(时间范围为 epoch 毫秒)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询待我处理的审批(时间范围为 epoch 毫秒)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_pending", + "parameter_count": 5, + "parameters": { + "end": { + "description": "结束时间(epoch 毫秒)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间(epoch 毫秒)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间(epoch 毫秒)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "end", + "required": true, + "type": "integer" + }, + "limit": { + "description": "每页大小", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页大小" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页大小" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + }, + "page": { + "description": "分页页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + }, + "query": { + "description": "关键字搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + }, + "start": { + "description": "开始时间(epoch 毫秒)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间(epoch 毫秒)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间(epoch 毫秒)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "start", + "required": true, + "type": "integer" + } + }, + "path": "oa.shortcut_list_pending", + "primary_cli_path": "oa +list-pending", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "use_when": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ] + }, + "oa.shortcut_list_submitted": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +list-submitted", + "cobra-help:dws oa +list-submitted", + "internal/cli/schema_command_registry.json#oa.shortcut_list_submitted", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "获取当前用户已发起的审批单列表", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_list_submitted", + "cli_name": "+list-submitted", + "cli_path": "oa +list-submitted", + "confirmation": "not_required", + "description": "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取当前用户已发起的审批单列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "获取当前用户已发起的审批单列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +list-submitted", + "value": "oa.shortcut_list_submitted" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +list-submitted", + "value": "oa.shortcut_list_submitted" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取当前用户已发起的审批单列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取当前用户已发起的审批单列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_submitted", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页大小", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页大小" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页大小" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + }, + "page": { + "default": "1", + "description": "分页页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + }, + "query": { + "description": "关键字搜索", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字搜索" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字搜索" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "oa.shortcut_list_submitted", + "primary_cli_path": "oa +list-submitted", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取当前用户已发起的审批单列表", + "use_when": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ] + }, + "oa.shortcut_my_initiated": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +my-initiated", + "cobra-help:dws oa +my-initiated", + "internal/cli/schema_command_registry.json#oa.shortcut_my_initiated", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "列出我发起(提交)的审批单据", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_my_initiated", + "cli_name": "+my-initiated", + "cli_path": "oa +my-initiated", + "confirmation": "not_required", + "description": "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "列出我发起(提交)的审批单据" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "列出我发起(提交)的审批单据" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +my-initiated", + "value": "oa.shortcut_my_initiated" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +my-initiated", + "value": "oa.shortcut_my_initiated" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我发起(提交)的审批单据" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我发起(提交)的审批单据" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_my_initiated", + "parameter_count": 3, + "parameters": { + "limit": { + "default": "20", + "description": "每页大小(可选,默认 20)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页大小(可选,默认 20)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页大小(可选,默认 20)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "limit", + "required": false, + "type": "integer" + }, + "page": { + "default": "1", + "description": "分页页码(可选,默认 1)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页页码(可选,默认 1)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页页码(可选,默认 1)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "page", + "required": false, + "type": "integer" + }, + "query": { + "description": "关键字搜索(可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字搜索(可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字搜索(可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": false, + "type": "string" + } + }, + "path": "oa.shortcut_my_initiated", + "primary_cli_path": "oa +my-initiated", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我发起(提交)的审批单据", + "use_when": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ] + }, + "oa.shortcut_search_forms": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:oa +search-forms", + "cobra-help:dws oa +search-forms", + "internal/cli/schema_command_registry.json#oa.shortcut_search_forms", + "internal/cli/schema_hints/metadata/oa.json", + "internal/cli/schema_hints/selection/oa.json" + ], + "agent_summary": "按关键字模糊搜索当前用户可见的审批表单", + "agent_summary_source": "dws-agent-selection/oa", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "oa.shortcut_search_forms", + "cli_name": "+search-forms", + "cli_path": "oa +search-forms", + "confirmation": "not_required", + "description": "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。", + "display": "OA 审批 / 同意 / 拒绝 / 撤销", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws oa +search-forms --query 报销" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "按关键字模糊搜索当前用户可见的审批表单" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": "按关键字模糊搜索当前用户可见的审批表单" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "oa +search-forms", + "value": "oa.shortcut_search_forms" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "oa +search-forms", + "value": "oa.shortcut_search_forms" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +search-forms --query 报销" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "dws oa +search-forms --query 报销" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/oa.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按关键字模糊搜索当前用户可见的审批表单" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按关键字模糊搜索当前用户可见的审批表单" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/oa.json", + "value": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_search_forms", + "parameter_count": 1, + "parameters": { + "query": { + "description": "关键字(匹配 processCode 或表单名称)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "关键字(匹配 processCode 或表单名称)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "关键字(匹配 processCode 或表单名称)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "oa.shortcut_search_forms", + "primary_cli_path": "oa +search-forms", + "product_id": "oa", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "按关键字模糊搜索当前用户可见的审批表单", + "use_when": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ] + }, "pat.batch_grant": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -375242,6 +487286,1819 @@ "已知模版名称,提交前需要读取字段名称、类型与排序时" ] }, + "report.shortcut_inbox_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:report +inbox-list", + "cobra-help:dws report +inbox-list", + "internal/cli/schema_command_registry.json#report.shortcut_inbox_list", + "internal/cli/schema_hints/metadata/report.json", + "internal/cli/schema_hints/selection/report.json" + ], + "agent_summary": "列出我收到的日报(按时间范围分页)", + "agent_summary_source": "dws-agent-selection/report", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "report.shortcut_inbox_list", + "cli_name": "+inbox-list", + "cli_path": "report +inbox-list", + "confirmation": "not_required", + "description": "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。", + "display": "钉钉日志(OA 周报应用 / 日志模版填报)", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": "列出我收到的日报(按时间范围分页)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": "列出我收到的日报(按时间范围分页)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "report +inbox-list", + "value": "report.shortcut_inbox_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "report +inbox-list", + "value": "report.shortcut_inbox_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/report.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我收到的日报(按时间范围分页)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我收到的日报(按时间范围分页)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_inbox_list", + "parameter_count": 5, + "parameters": { + "cursor": { + "description": "分页游标,首次传 0", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,首次传 0" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,首次传 0" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "cursor", + "required": false, + "type": "integer" + }, + "end": { + "description": "结束时间 ISO-8601 (如 2026-03-10T23:59:59+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "结束时间 ISO-8601 (如 2026-03-10T23:59:59+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "结束时间 ISO-8601 (如 2026-03-10T23:59:59+08:00)(必填)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "end", + "required": true, + "type": "string" + }, + "sender-user-ids": { + "description": "发送人 staffId 列表,逗号分隔,过滤指定发送人", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "发送人 staffId 列表,逗号分隔,过滤指定发送人" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "发送人 staffId 列表,逗号分隔,过滤指定发送人" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "senderUserIds" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "senderUserIds" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "senderUserIds", + "required": false, + "type": "array" + }, + "size": { + "default": "20", + "description": "每页条数,最大 20", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数,最大 20" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数,最大 20" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "size", + "required": false, + "type": "integer" + }, + "start": { + "description": "开始时间 ISO-8601 (如 2026-03-10T00:00:00+08:00)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "开始时间 ISO-8601 (如 2026-03-10T00:00:00+08:00)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "开始时间 ISO-8601 (如 2026-03-10T00:00:00+08:00)(必填)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "start", + "required": true, + "type": "string" + } + }, + "path": "report.shortcut_inbox_list", + "primary_cli_path": "report +inbox-list", + "product_id": "report", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我收到的日报(按时间范围分页)", + "use_when": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ] + }, + "report.shortcut_outbox_list": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:report +outbox-list", + "cobra-help:dws report +outbox-list", + "internal/cli/schema_command_registry.json#report.shortcut_outbox_list", + "internal/cli/schema_hints/metadata/report.json", + "internal/cli/schema_hints/selection/report.json" + ], + "agent_summary": "列出我发出的日报(可选时间/模版名过滤)", + "agent_summary_source": "dws-agent-selection/report", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "report.shortcut_outbox_list", + "cli_name": "+outbox-list", + "cli_path": "report +outbox-list", + "confirmation": "not_required", + "description": "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。", + "display": "钉钉日志(OA 周报应用 / 日志模版填报)", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": "列出我发出的日报(可选时间/模版名过滤)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": "列出我发出的日报(可选时间/模版名过滤)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "report +outbox-list", + "value": "report.shortcut_outbox_list" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "report +outbox-list", + "value": "report.shortcut_outbox_list" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/report.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/report.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我发出的日报(可选时间/模版名过滤)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我发出的日报(可选时间/模版名过滤)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/report.json", + "value": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_outbox_list", + "parameter_count": 7, + "parameters": { + "cursor": { + "description": "分页游标,首次传 0", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "分页游标,首次传 0" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "分页游标,首次传 0" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "cursor" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "cursor" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "cursor", + "required": false, + "type": "integer" + }, + "end": { + "description": "创建结束时间 ISO-8601 (可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建结束时间 ISO-8601 (可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建结束时间 ISO-8601 (可选)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "end" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "end" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "end", + "required": false, + "type": "string" + }, + "modified-end": { + "description": "修改结束时间 ISO-8601 (可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "修改结束时间 ISO-8601 (可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "修改结束时间 ISO-8601 (可选)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "modifiedEnd" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "modifiedEnd" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "modifiedEnd", + "required": false, + "type": "string" + }, + "modified-start": { + "description": "修改开始时间 ISO-8601 (可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "修改开始时间 ISO-8601 (可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "修改开始时间 ISO-8601 (可选)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "modifiedStart" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "modifiedStart" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "modifiedStart", + "required": false, + "type": "string" + }, + "size": { + "default": "20", + "description": "每页条数,最大 20", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页条数,最大 20" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页条数,最大 20" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "size", + "required": false, + "type": "integer" + }, + "start": { + "description": "创建开始时间 ISO-8601 (可选,服务端单次跨度上限 20 天)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "创建开始时间 ISO-8601 (可选,服务端单次跨度上限 20 天)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "创建开始时间 ISO-8601 (可选,服务端单次跨度上限 20 天)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "date-time" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "date-time" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "start" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "start" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "date-time", + "property": "start", + "required": false, + "type": "string" + }, + "template-name": { + "description": "日志模板名称 (可选,不传查全部)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "日志模板名称 (可选,不传查全部)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "日志模板名称 (可选,不传查全部)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "templateName" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "templateName" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "templateName", + "required": false, + "type": "string" + } + }, + "path": "report.shortcut_outbox_list", + "primary_cli_path": "report +outbox-list", + "product_id": "report", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我发出的日报(可选时间/模版名过滤)", + "use_when": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ] + }, "sheet.add_dimension": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -423821,6 +537678,1142 @@ "写入纯值且超过约 5 行/20 格,或数据来自 CSV/表格文本时优先使用" ] }, + "sheet.shortcut_list_sheets": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:sheet +list-sheets", + "cobra-help:dws sheet +list-sheets", + "internal/cli/schema_command_registry.json#sheet.shortcut_list_sheets", + "internal/cli/schema_hints/metadata/sheet.json", + "internal/cli/schema_hints/selection/sheet.json" + ], + "agent_summary": "获取表格文档中全部工作表列表", + "agent_summary_source": "dws-agent-selection/sheet", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "sheet.shortcut_list_sheets", + "cli_name": "+list-sheets", + "cli_path": "sheet +list-sheets", + "confirmation": "not_required", + "description": "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet +list-sheets --node NODE_ID" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": "获取表格文档中全部工作表列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": "获取表格文档中全部工作表列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "sheet +list-sheets", + "value": "sheet.shortcut_list_sheets" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "sheet +list-sheets", + "value": "sheet.shortcut_list_sheets" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "dws sheet +list-sheets --node NODE_ID" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "dws sheet +list-sheets --node NODE_ID" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "获取表格文档中全部工作表列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "获取表格文档中全部工作表列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_sheets", + "parameter_count": 1, + "parameters": { + "node": { + "description": "表格文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "表格文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "表格文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + } + }, + "path": "sheet.shortcut_list_sheets", + "primary_cli_path": "sheet +list-sheets", + "product_id": "sheet", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "获取表格文档中全部工作表列表", + "use_when": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ] + }, + "sheet.shortcut_read": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:sheet +read", + "cobra-help:dws sheet +read", + "internal/cli/schema_command_registry.json#sheet.shortcut_read", + "internal/cli/schema_hints/metadata/sheet.json", + "internal/cli/schema_hints/selection/sheet.json" + ], + "agent_summary": "读取工作表指定范围的结构化单元格数据", + "agent_summary_source": "dws-agent-selection/sheet", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "sheet.shortcut_read", + "cli_name": "+read", + "cli_path": "sheet +read", + "confirmation": "not_required", + "description": "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。", + "display": "钉钉表格管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": "读取工作表指定范围的结构化单元格数据" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": "读取工作表指定范围的结构化单元格数据" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "sheet +read", + "value": "sheet.shortcut_read" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "sheet +read", + "value": "sheet.shortcut_read" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/sheet.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "读取工作表指定范围的结构化单元格数据" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "读取工作表指定范围的结构化单元格数据" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/sheet.json", + "value": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_read", + "parameter_count": 4, + "parameters": { + "node": { + "description": "表格文档 ID 或 URL(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "表格文档 ID 或 URL(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "表格文档 ID 或 URL(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "node" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "node" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "node", + "required": true, + "type": "string" + }, + "range": { + "description": "读取范围,A1 表示法 (不传则全部数据)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "读取范围,A1 表示法 (不传则全部数据)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "读取范围,A1 表示法 (不传则全部数据)" + }, + "format": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "usage_format_inference", + "value": "a1-range" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "usage_format_inference", + "value": "a1-range" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "range" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "range" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "format": "a1-range", + "property": "range", + "required": false, + "type": "string" + }, + "sheet-id": { + "description": "工作表 ID 或名称 (不传则第一个工作表)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "工作表 ID 或名称 (不传则第一个工作表)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "工作表 ID 或名称 (不传则第一个工作表)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "sheetId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "sheetId" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "sheetId", + "required": false, + "type": "string" + }, + "value-render-option": { + "description": "取值模式(可选值: formatted_value, raw_value, formula)", + "enum": [ + "formatted_value", + "raw_value", + "formula" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "取值模式(可选值: formatted_value, raw_value, formula)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "取值模式(可选值: formatted_value, raw_value, formula)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "formatted_value", + "raw_value", + "formula" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "formatted_value", + "raw_value", + "formula" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "valueRenderOption" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "valueRenderOption" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "valueRenderOption", + "required": false, + "type": "string" + } + }, + "path": "sheet.shortcut_read", + "primary_cli_path": "sheet +read", + "product_id": "sheet", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "读取工作表指定范围的结构化单元格数据", + "use_when": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ] + }, "sheet.show_gridline": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -451851,6 +566844,5462 @@ "需要清除或整体替换待办提醒规则时(可不传 reminder-rules 以清除)" ] }, + "todo.shortcut_assign": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +assign", + "cobra-help:dws todo +assign", + "internal/cli/schema_command_registry.json#todo.shortcut_assign", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_assign", + "cli_name": "+assign", + "cli_path": "todo +assign", + "confirmation": "user_required", + "description": "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。", + "display": "待办任务管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "按姓名给某人创建并指派一条待办(自动解析 userId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "按姓名给某人创建并指派一条待办(自动解析 userId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +assign", + "value": "todo.shortcut_assign" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +assign", + "value": "todo.shortcut_assign" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按姓名给某人创建并指派一条待办(自动解析 userId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按姓名给某人创建并指派一条待办(自动解析 userId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_assign", + "parameter_count": 3, + "parameters": { + "due": { + "description": "截止时间(ISO8601,可选)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "截止时间(ISO8601,可选)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "截止时间(ISO8601,可选)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "due" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "due" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "due", + "required": false, + "type": "string" + }, + "task": { + "description": "待办标题/内容(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办标题/内容(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办标题/内容(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "task" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "task" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "task", + "required": true, + "type": "string" + }, + "to": { + "description": "执行人姓名/花名(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "执行人姓名/花名(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "执行人姓名/花名(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "to" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "to" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "to", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_assign", + "primary_cli_path": "todo +assign", + "product_id": "todo", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "use_when": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ] + }, + "todo.shortcut_assign_multi": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +assign-multi", + "cobra-help:dws todo +assign-multi", + "internal/cli/schema_command_registry.json#todo.shortcut_assign_multi", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_assign_multi", + "cli_name": "+assign-multi", + "cli_path": "todo +assign-multi", + "confirmation": "user_required", + "description": "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。", + "display": "待办任务管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +assign-multi", + "value": "todo.shortcut_assign_multi" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +assign-multi", + "value": "todo.shortcut_assign_multi" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_assign_multi", + "parameter_count": 2, + "parameters": { + "task": { + "description": "待办标题(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办标题(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办标题(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "task" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "task" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "task", + "required": true, + "type": "string" + }, + "to": { + "description": "执行人姓名/花名,逗号分隔(如 张三,李四)(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "执行人姓名/花名,逗号分隔(如 张三,李四)(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "执行人姓名/花名,逗号分隔(如 张三,李四)(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "to" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "to" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "to", + "required": true, + "type": "array" + } + }, + "path": "todo.shortcut_assign_multi", + "primary_cli_path": "todo +assign-multi", + "product_id": "todo", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "use_when": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ] + }, + "todo.shortcut_created_todos": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +created-todos", + "cobra-help:dws todo +created-todos", + "internal/cli/schema_command_registry.json#todo.shortcut_created_todos", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_created_todos", + "cli_name": "+created-todos", + "cli_path": "todo +created-todos", + "confirmation": "not_required", + "description": "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +created-todos" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +created-todos", + "value": "todo.shortcut_created_todos" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +created-todos", + "value": "todo.shortcut_created_todos" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +created-todos" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +created-todos" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_created_todos", + "parameter_count": 0, + "parameters": {}, + "path": "todo.shortcut_created_todos", + "primary_cli_path": "todo +created-todos", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "use_when": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ] + }, + "todo.shortcut_get": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +get", + "cobra-help:dws todo +get", + "internal/cli/schema_command_registry.json#todo.shortcut_get", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "查询待办详情", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_get", + "cli_name": "+get", + "cli_path": "todo +get", + "confirmation": "not_required", + "description": "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +get --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询待办详情" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询待办详情" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +get", + "value": "todo.shortcut_get" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +get", + "value": "todo.shortcut_get" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +get --task-id \u003ctaskId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +get --task-id \u003ctaskId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询待办详情" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询待办详情" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get", + "parameter_count": 1, + "parameters": { + "task-id": { + "description": "待办任务 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "taskId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "taskId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "taskId", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_get", + "primary_cli_path": "todo +get", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询待办详情", + "use_when": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ] + }, + "todo.shortcut_get_my_tasks": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +get-my-tasks", + "cobra-help:dws todo +get-my-tasks", + "internal/cli/schema_command_registry.json#todo.shortcut_get_my_tasks", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "查询当前组织下我的待办列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_get_my_tasks", + "cli_name": "+get-my-tasks", + "cli_path": "todo +get-my-tasks", + "confirmation": "not_required", + "description": "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询当前组织下我的待办列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询当前组织下我的待办列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +get-my-tasks", + "value": "todo.shortcut_get_my_tasks" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +get-my-tasks", + "value": "todo.shortcut_get_my_tasks" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询当前组织下我的待办列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询当前组织下我的待办列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_get_my_tasks", + "parameter_count": 7, + "parameters": { + "page": { + "default": "1", + "description": "页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + }, + "plan-finish-end": { + "description": "截止时间范围结束(Unix 毫秒时间戳)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "截止时间范围结束(Unix 毫秒时间戳)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "截止时间范围结束(Unix 毫秒时间戳)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "planFinishEnd" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "planFinishEnd" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "planFinishEnd", + "required": false, + "type": "integer" + }, + "plan-finish-start": { + "description": "截止时间范围开始(Unix 毫秒时间戳)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "截止时间范围开始(Unix 毫秒时间戳)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "截止时间范围开始(Unix 毫秒时间戳)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "planFinishStart" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "planFinishStart" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "integer" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "integer" + } + }, + "property": "planFinishStart", + "required": false, + "type": "integer" + }, + "priority": { + "description": "优先级过滤: 10/20/30/40", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "优先级过滤: 10/20/30/40" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "优先级过滤: 10/20/30/40" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "priority" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "priority" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "priority", + "required": false, + "type": "array" + }, + "role-types": { + "default": "[executor]", + "description": "角色类型: creator/executor/participant", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "角色类型: creator/executor/participant" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "角色类型: creator/executor/participant" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "roleTypes" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "roleTypes" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "array" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "array" + } + }, + "property": "roleTypes", + "required": false, + "type": "array" + }, + "size": { + "default": "20", + "description": "每页数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "size", + "required": false, + "type": "string" + }, + "status": { + "description": "true=已完成, false=未完成(可选值: true, false)", + "enum": [ + "true", + "false" + ], + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "true=已完成, false=未完成(可选值: true, false)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "true=已完成, false=未完成(可选值: true, false)" + }, + "enum": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": [ + "true", + "false" + ] + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": [] + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": [ + "true", + "false" + ] + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "status" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "status" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "status", + "required": false, + "type": "string" + } + }, + "path": "todo.shortcut_get_my_tasks", + "primary_cli_path": "todo +get-my-tasks", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询当前组织下我的待办列表", + "use_when": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ] + }, + "todo.shortcut_list_attachment": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +list-attachment", + "cobra-help:dws todo +list-attachment", + "internal/cli/schema_command_registry.json#todo.shortcut_list_attachment", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "查询待办任务的附件列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_list_attachment", + "cli_name": "+list-attachment", + "cli_path": "todo +list-attachment", + "confirmation": "not_required", + "description": "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +list-attachment --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询待办任务的附件列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询待办任务的附件列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +list-attachment", + "value": "todo.shortcut_list_attachment" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +list-attachment", + "value": "todo.shortcut_list_attachment" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +list-attachment --task-id \u003ctaskId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +list-attachment --task-id \u003ctaskId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询待办任务的附件列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询待办任务的附件列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_attachment", + "parameter_count": 1, + "parameters": { + "task-id": { + "description": "待办任务 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "taskId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "taskId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "taskId", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_list_attachment", + "primary_cli_path": "todo +list-attachment", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询待办任务的附件列表", + "use_when": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ] + }, + "todo.shortcut_list_comment": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +list-comment", + "cobra-help:dws todo +list-comment", + "internal/cli/schema_command_registry.json#todo.shortcut_list_comment", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "查询待办评论列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_list_comment", + "cli_name": "+list-comment", + "cli_path": "todo +list-comment", + "confirmation": "not_required", + "description": "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +list-comment --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询待办评论列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询待办评论列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +list-comment", + "value": "todo.shortcut_list_comment" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +list-comment", + "value": "todo.shortcut_list_comment" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +list-comment --task-id \u003ctaskId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +list-comment --task-id \u003ctaskId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询待办评论列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询待办评论列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_comment", + "parameter_count": 3, + "parameters": { + "page": { + "default": "1", + "description": "页码", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "页码" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "页码" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "page" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "page" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "page", + "required": false, + "type": "string" + }, + "size": { + "default": "20", + "description": "每页数量", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "每页数量" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "每页数量" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "size" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "size" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "size", + "required": false, + "type": "string" + }, + "task-id": { + "description": "待办任务 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "taskId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "taskId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "taskId", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_list_comment", + "primary_cli_path": "todo +list-comment", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询待办评论列表", + "use_when": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ] + }, + "todo.shortcut_list_sub": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +list-sub", + "cobra-help:dws todo +list-sub", + "internal/cli/schema_command_registry.json#todo.shortcut_list_sub", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "查询子待办列表", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_list_sub", + "cli_name": "+list-sub", + "cli_path": "todo +list-sub", + "confirmation": "not_required", + "description": "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +list-sub --task-id \u003ctaskId\u003e" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询子待办列表" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "查询子待办列表" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +list-sub", + "value": "todo.shortcut_list_sub" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +list-sub", + "value": "todo.shortcut_list_sub" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +list-sub --task-id \u003ctaskId\u003e" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +list-sub --task-id \u003ctaskId\u003e" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "查询子待办列表" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "查询子待办列表" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_list_sub", + "parameter_count": 1, + "parameters": { + "task-id": { + "description": "待办任务 ID(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办任务 ID(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "taskId" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "taskId" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "taskId", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_list_sub", + "primary_cli_path": "todo +list-sub", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "查询子待办列表", + "use_when": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ] + }, + "todo.shortcut_overdue": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +overdue", + "cobra-help:dws todo +overdue", + "internal/cli/schema_command_registry.json#todo.shortcut_overdue", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "列出我已过期未完成的待办", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_overdue", + "cli_name": "+overdue", + "cli_path": "todo +overdue", + "confirmation": "not_required", + "description": "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。", + "display": "待办任务管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws todo +overdue" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "列出我已过期未完成的待办" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "列出我已过期未完成的待办" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +overdue", + "value": "todo.shortcut_overdue" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +overdue", + "value": "todo.shortcut_overdue" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +overdue" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +overdue" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "列出我已过期未完成的待办" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "列出我已过期未完成的待办" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ] + } + }, + "has_parameters": false, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_overdue", + "parameter_count": 0, + "parameters": {}, + "path": "todo.shortcut_overdue", + "primary_cli_path": "todo +overdue", + "product_id": "todo", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "列出我已过期未完成的待办", + "use_when": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ] + }, + "todo.shortcut_remind": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +remind", + "cobra-help:dws todo +remind", + "internal/cli/schema_command_registry.json#todo.shortcut_remind", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "给自己创建一条带截止/提醒时间的待办", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_remind", + "cli_name": "+remind", + "cli_path": "todo +remind", + "confirmation": "user_required", + "description": "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。", + "display": "待办任务管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "给自己创建一条带截止/提醒时间的待办" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "给自己创建一条带截止/提醒时间的待办" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +remind", + "value": "todo.shortcut_remind" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +remind", + "value": "todo.shortcut_remind" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "给自己创建一条带截止/提醒时间的待办" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "给自己创建一条带截止/提醒时间的待办" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_remind", + "parameter_count": 2, + "parameters": { + "at": { + "description": "截止/提醒时间(ISO8601,可选,如 2026-03-10T18:00:00+08:00)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "截止/提醒时间(ISO8601,可选,如 2026-03-10T18:00:00+08:00)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "截止/提醒时间(ISO8601,可选,如 2026-03-10T18:00:00+08:00)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "at" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "at" + }, + "required": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": false + } + ], + "precedence": "default", + "resolution": "fallback", + "source": "default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "at", + "required": false, + "type": "string" + }, + "task": { + "description": "待办标题/内容(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办标题/内容(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办标题/内容(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "task" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "task" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "task", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_remind", + "primary_cli_path": "todo +remind", + "product_id": "todo", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "给自己创建一条带截止/提醒时间的待办", + "use_when": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ] + }, + "todo.shortcut_todo_done": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:todo +todo-done", + "cobra-help:dws todo +todo-done", + "internal/cli/schema_command_registry.json#todo.shortcut_todo_done", + "internal/cli/schema_hints/metadata/todo.json", + "internal/cli/schema_hints/selection/todo.json" + ], + "agent_summary": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "agent_summary_source": "dws-agent-selection/todo", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "todo.shortcut_todo_done", + "cli_name": "+todo-done", + "cli_path": "todo +todo-done", + "confirmation": "user_required", + "description": "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。", + "display": "待办任务管理", + "effect": "write", + "effect_source": "agent-hint", + "examples": [ + "dws todo +todo-done --task 周报" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "按标题关键词把我的某条待办标记完成(自动定位 taskId)" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": "按标题关键词把我的某条待办标记完成(自动定位 taskId)" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "todo +todo-done", + "value": "todo.shortcut_todo_done" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "todo +todo-done", + "value": "todo.shortcut_todo_done" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "user_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "write" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +todo-done --task 周报" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "dws todo +todo-done --task 周报" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "unknown" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/todo.json", + "value": "medium" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "按标题关键词把我的某条待办标记完成(自动定位 taskId)" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "按标题关键词把我的某条待办标记完成(自动定位 taskId)" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/todo.json", + "value": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ] + } + }, + "has_parameters": true, + "idempotency": "unknown", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_todo_done", + "parameter_count": 1, + "parameters": { + "task": { + "description": "待办标题关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "待办标题关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "待办标题关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "task" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "task" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "task", + "required": true, + "type": "string" + } + }, + "path": "todo.shortcut_todo_done", + "primary_cli_path": "todo +todo-done", + "product_id": "todo", + "reviewed": true, + "risk": "medium", + "source": "reviewed_command_registry", + "title": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "use_when": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ] + }, "todo.tag_todo": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ @@ -463683,6 +584132,511 @@ "按关键词搜索有权访问的组织知识库时" ] }, + "wiki.shortcut_space_search": { + "agent_metadata_source": "embedded-skill-metadata", + "agent_source_refs": [ + "ShortcutRegistry:wiki +space-search", + "cobra-help:dws wiki +space-search", + "internal/cli/schema_command_registry.json#wiki.shortcut_space_search", + "internal/cli/schema_hints/metadata/wiki.json", + "internal/cli/schema_hints/selection/wiki.json" + ], + "agent_summary": "搜索知识库", + "agent_summary_source": "dws-agent-selection/wiki", + "availability": "available", + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "canonical_path": "wiki.shortcut_space_search", + "cli_name": "+space-search", + "cli_path": "wiki +space-search", + "confirmation": "not_required", + "description": "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。", + "display": "知识库 / 空间管理 / 节点管理 / 成员管理", + "effect": "read", + "effect_source": "agent-hint", + "examples": [ + "dws wiki +space-search --query \"产品文档\"" + ], + "field_provenance": { + "agent_summary": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": "搜索知识库" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": "搜索知识库" + }, + "availability": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "available" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "available" + }, + "avoid_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ] + }, + "canonical_path": { + "candidates": [ + { + "precedence": "command_registry", + "selected": true, + "source": "reviewed_command_registry", + "source_ref": "wiki +space-search", + "value": "wiki.shortcut_space_search" + } + ], + "precedence": "command_registry", + "resolution": "registry_identity", + "source": "reviewed_command_registry", + "source_ref": "wiki +space-search", + "value": "wiki.shortcut_space_search" + }, + "confirmation": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "not_required" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "not_required" + }, + "description": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + }, + "effect": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "read" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "read" + }, + "examples": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": [ + "dws wiki +space-search --query \"产品文档\"" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": [ + "dws wiki +space-search --query \"产品文档\"" + ] + }, + "idempotency": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "idempotent" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "idempotent" + }, + "interface_mode": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "composite" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "composite" + }, + "interface_reason": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref." + }, + "interface_ref": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": null + } + ], + "precedence": "reviewed_explicit", + "resolution": "interface_disposition_matrix", + "review_reason": "final interface mode composite forbids a direct MCP interface_ref", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": null + }, + "reviewed": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": true + }, + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": false, + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": true + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": true + }, + "risk": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "selected": true, + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "low" + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "source": "internal/cli/schema_hints/metadata/wiki.json", + "value": "low" + }, + "title": { + "candidates": [ + { + "precedence": "cobra_help", + "selected": true, + "source": "cobra_help", + "value": "搜索知识库" + } + ], + "precedence": "cobra_help", + "resolution": "highest_precedence", + "source": "cobra_help", + "value": "搜索知识库" + }, + "use_when": { + "candidates": [ + { + "precedence": "reviewed_explicit", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "selected": true, + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ] + } + ], + "precedence": "reviewed_explicit", + "resolution": "highest_precedence", + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source": "internal/cli/schema_hints/selection/wiki.json", + "value": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ] + } + }, + "has_parameters": true, + "idempotency": "idempotent", + "interface_mode": "composite", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "is_alias": false, + "name": "shortcut_space_search", + "parameter_count": 2, + "parameters": { + "limit": { + "description": "返回数量 1-20 (默认 10)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "返回数量 1-20 (默认 10)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "返回数量 1-20 (默认 10)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "limit" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "limit" + }, + "required": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_nonzero_default", + "value": false + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_nonzero_default", + "value": false + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "limit", + "required": false, + "type": "string" + }, + "query": { + "description": "搜索关键词(必填)", + "field_provenance": { + "description": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": "" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_usage", + "value": "搜索关键词(必填)" + }, + "property": { + "candidates": [ + { + "precedence": "inference", + "selected": true, + "source": "flag_name_inference", + "value": "query" + } + ], + "precedence": "inference", + "resolution": "highest_precedence", + "source": "flag_name_inference", + "value": "query" + }, + "required": { + "candidates": [ + { + "precedence": "native_annotation", + "selected": true, + "source": "native_annotation", + "value": true + }, + { + "precedence": "inference", + "selected": false, + "source": "usage_required_inference", + "value": true + }, + { + "precedence": "default", + "selected": false, + "source": "default", + "value": false + } + ], + "precedence": "native_annotation", + "resolution": "highest_precedence", + "source": "native_annotation", + "value": true + }, + "required_when": { + "candidates": [ + { + "precedence": "default", + "selected": true, + "source": "default", + "value": "" + } + ], + "precedence": "default", + "resolution": "highest_precedence", + "source": "default", + "value": "" + }, + "type": { + "candidates": [ + { + "precedence": "cobra_contract", + "selected": true, + "source": "cobra_flag_type", + "value": "string" + } + ], + "precedence": "cobra_contract", + "resolution": "highest_precedence", + "source": "cobra_flag_type", + "value": "string" + } + }, + "property": "query", + "required": true, + "type": "string" + } + }, + "path": "wiki.shortcut_space_search", + "primary_cli_path": "wiki +space-search", + "product_id": "wiki", + "reviewed": true, + "risk": "low", + "source": "reviewed_command_registry", + "title": "搜索知识库", + "use_when": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ] + }, "wiki.update_member": { "agent_metadata_source": "embedded-skill-metadata", "agent_source_refs": [ diff --git a/internal/cli/schema_command_exclusions.json b/internal/cli/schema_command_exclusions.json index d464f29d..9ec1eddf 100644 --- a/internal/cli/schema_command_exclusions.json +++ b/internal/cli/schema_command_exclusions.json @@ -48,223 +48,6 @@ "version" ] }, - { - "id": "shortcut-catalog-surface", - "reason": "Shortcut commands are high-level task entries discovered through dws shortcut list and product skills; they are intentionally separate from the runtime Schema catalog of base Agent tools.", - "reviewed": true, - "commands": [ - "aitable +base-get", - "aitable +base-list", - "aitable +base-search", - "aitable +chart-get", - "aitable +chart-widgets-example", - "aitable +dashboard-config-example", - "aitable +dashboard-get", - "aitable +field-get", - "aitable +find-record", - "aitable +form-field-list", - "aitable +form-list", - "aitable +form-share-get", - "aitable +list-tables", - "aitable +record-history-list", - "aitable +record-query", - "aitable +record-query-empty", - "aitable +record-share-links", - "aitable +record-share-url", - "aitable +resolve-base", - "aitable +resolve-table", - "aitable +role-list", - "aitable +section-list-empty", - "aitable +section-list-nodes", - "aitable +table-get", - "aitable +template-search", - "aitable +view-get", - "aitable +view-get-frozen-cols", - "aitable +view-get-lock", - "aitable +view-get-row-height", - "attendance +check-record", - "attendance +check-result", - "attendance +get-adjustment-rule", - "attendance +get-approve-template", - "attendance +get-checkin-record", - "attendance +get-leave-records", - "attendance +get-overtime-rule", - "attendance +get-schedule", - "attendance +get-self-setting", - "attendance +get-summary", - "attendance +list-approve", - "attendance +list-leave-types", - "attendance +my-attendance", - "attendance +query-report-data", - "attendance +search-adjustment-rule", - "attendance +search-class", - "attendance +search-group", - "attendance +search-overtime-rule", - "attendance +this-month", - "calendar +agenda", - "calendar +attendee-list", - "calendar +book", - "calendar +book-list", - "calendar +book-search", - "calendar +cancel-event", - "calendar +conflicts", - "calendar +free", - "calendar +free-slots", - "calendar +freebusy", - "calendar +invite", - "calendar +my-free", - "calendar +next-event", - "calendar +reschedule", - "calendar +room-groups", - "calendar +room-search", - "calendar +suggest-time", - "calendar +today", - "calendar +tomorrow", - "calendar +week", - "chat +at-me", - "chat +bot-find", - "chat +bot-search", - "chat +broadcast", - "chat +category-create", - "chat +category-delete", - "chat +category-list", - "chat +category-rename", - "chat +chat-bots", - "chat +chat-dismiss", - "chat +chat-invite-url", - "chat +chat-list-all", - "chat +chat-list-join-requests", - "chat +chat-list-mine", - "chat +chat-mute", - "chat +chat-role-add", - "chat +chat-role-list", - "chat +chat-role-query-user", - "chat +chat-role-set-user", - "chat +chat-role-update", - "chat +chat-search", - "chat +chat-set-admin", - "chat +chat-set-history", - "chat +chat-update-alias", - "chat +chat-update-nick", - "chat +conversation-clear-all-red-point", - "chat +conversation-info", - "chat +conversation-list", - "chat +conversation-list-top", - "chat +dm", - "chat +group-members", - "chat +messages-list-direct", - "chat +messages-list-pin", - "chat +messages-list-unread-conversations", - "chat +messages-mget", - "chat +messages-query-send-status", - "chat +messages-read-status", - "chat +messages-send-by-webhook", - "chat +messages-update-card", - "chat +my-groups", - "chat +send-to-group", - "chat +unread-chats", - "contact +by-mobile", - "contact +dept-members", - "contact +list-dept-members", - "contact +list-followings", - "contact +list-role-members", - "contact +list-roles", - "contact +list-sub-depts", - "contact +lookup", - "contact +me", - "contact +org", - "contact +resolve-dept", - "contact +search-mobile", - "contact +search-user", - "contact +team", - "devapp +create", - "devapp +delete", - "devapp +disable", - "devapp +enable", - "devapp +event-list", - "devapp +get", - "devapp +list", - "devapp +member-add", - "devapp +member-list", - "devapp +member-remove", - "devapp +permission-list", - "devapp +robot-get", - "devapp +update", - "devapp +version-check-approval", - "devapp +version-get", - "devapp +version-list", - "devapp +version-status", - "devapp +webapp-config", - "devapp +webapp-get", - "ding +list", - "ding +recall-personal", - "ding +receiver-status", - "ding +send-personal", - "doc +comment-create", - "doc +comment-list", - "doc +comment-reply", - "doc +copy", - "doc +doc-append", - "doc +export-get", - "doc +export-submit", - "doc +find-doc", - "doc +list", - "doc +move", - "doc +search", - "doc +share-doc", - "doc +template-list", - "doc +template-search", - "doc +version-list", - "doc +version-revert", - "doc +version-save", - "drive +copy", - "drive +find-file", - "drive +info", - "drive +move", - "drive +recent", - "drive +search", - "drive +search-docs", - "mail +contact-list", - "mail +find-mail-user", - "mail +folder-list", - "mail +recent-mail", - "mail +search-mail", - "mail +tag-list", - "mail +template-list", - "mail +thread-list", - "mail +unread-mail", - "mail +user-search", - "minutes +detail", - "minutes +list-all", - "minutes +list-mine", - "minutes +list-shared", - "minutes +record-start", - "minutes +replace-batch", - "oa +list-cc", - "oa +list-executed", - "oa +list-forms", - "oa +list-pending", - "oa +list-submitted", - "oa +my-initiated", - "oa +search-forms", - "report +inbox-list", - "report +outbox-list", - "sheet +list-sheets", - "sheet +read", - "todo +assign", - "todo +assign-multi", - "todo +created-todos", - "todo +get", - "todo +get-my-tasks", - "todo +list-attachment", - "todo +list-comment", - "todo +list-sub", - "todo +overdue", - "todo +remind", - "todo +todo-done", - "wiki +space-search" - ] - }, { "id": "agoal-out-of-surface", "reason": "The Agoal product remains executable for compatibility but is outside the currently reviewed open-source Agent command surface.", diff --git a/internal/cli/schema_command_registry.go b/internal/cli/schema_command_registry.go index 2f1f1bcf..1ba5f3e3 100644 --- a/internal/cli/schema_command_registry.go +++ b/internal/cli/schema_command_registry.go @@ -34,7 +34,7 @@ var embeddedSchemaCommandRegistrySchemaJSON []byte var ( commandRegistryProductIDPattern = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9_-]*$`) commandRegistryCanonicalPattern = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9_-]*\.[A-Za-z0-9][A-Za-z0-9_.-]*$`) - commandRegistryCLIPathToken = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9._:-]*$`) + commandRegistryCLIPathToken = regexp.MustCompile(`^(?:[A-Za-z0-9][A-Za-z0-9._:-]*|\+[A-Za-z0-9][A-Za-z0-9._:-]*)$`) ) type schemaCommandRegistrySnapshot struct { diff --git a/internal/cli/schema_command_registry.json b/internal/cli/schema_command_registry.json index 4dcd4646..be88ffcc 100644 --- a/internal/cli/schema_command_registry.json +++ b/internal/cli/schema_command_registry.json @@ -488,6 +488,122 @@ { "canonical_path": "aitable.workflow_update", "cli_path": "aitable workflow update" + }, + { + "canonical_path": "aitable.shortcut_base_list", + "cli_path": "aitable +base-list" + }, + { + "canonical_path": "aitable.shortcut_base_search", + "cli_path": "aitable +base-search" + }, + { + "canonical_path": "aitable.shortcut_base_get", + "cli_path": "aitable +base-get" + }, + { + "canonical_path": "aitable.shortcut_table_get", + "cli_path": "aitable +table-get" + }, + { + "canonical_path": "aitable.shortcut_field_get", + "cli_path": "aitable +field-get" + }, + { + "canonical_path": "aitable.shortcut_record_query", + "cli_path": "aitable +record-query" + }, + { + "canonical_path": "aitable.shortcut_record_query_empty", + "cli_path": "aitable +record-query-empty" + }, + { + "canonical_path": "aitable.shortcut_record_history_list", + "cli_path": "aitable +record-history-list" + }, + { + "canonical_path": "aitable.shortcut_record_share_url", + "cli_path": "aitable +record-share-url" + }, + { + "canonical_path": "aitable.shortcut_template_search", + "cli_path": "aitable +template-search" + }, + { + "canonical_path": "aitable.shortcut_view_get", + "cli_path": "aitable +view-get" + }, + { + "canonical_path": "aitable.shortcut_view_get_lock", + "cli_path": "aitable +view-get-lock" + }, + { + "canonical_path": "aitable.shortcut_view_get_frozen_cols", + "cli_path": "aitable +view-get-frozen-cols" + }, + { + "canonical_path": "aitable.shortcut_view_get_row_height", + "cli_path": "aitable +view-get-row-height" + }, + { + "canonical_path": "aitable.shortcut_form_list", + "cli_path": "aitable +form-list" + }, + { + "canonical_path": "aitable.shortcut_form_field_list", + "cli_path": "aitable +form-field-list" + }, + { + "canonical_path": "aitable.shortcut_form_share_get", + "cli_path": "aitable +form-share-get" + }, + { + "canonical_path": "aitable.shortcut_dashboard_config_example", + "cli_path": "aitable +dashboard-config-example" + }, + { + "canonical_path": "aitable.shortcut_dashboard_get", + "cli_path": "aitable +dashboard-get" + }, + { + "canonical_path": "aitable.shortcut_chart_widgets_example", + "cli_path": "aitable +chart-widgets-example" + }, + { + "canonical_path": "aitable.shortcut_chart_get", + "cli_path": "aitable +chart-get" + }, + { + "canonical_path": "aitable.shortcut_role_list", + "cli_path": "aitable +role-list" + }, + { + "canonical_path": "aitable.shortcut_section_list_empty", + "cli_path": "aitable +section-list-empty" + }, + { + "canonical_path": "aitable.shortcut_section_list_nodes", + "cli_path": "aitable +section-list-nodes" + }, + { + "canonical_path": "aitable.shortcut_find_record", + "cli_path": "aitable +find-record" + }, + { + "canonical_path": "aitable.shortcut_list_tables", + "cli_path": "aitable +list-tables" + }, + { + "canonical_path": "aitable.shortcut_record_share_links", + "cli_path": "aitable +record-share-links" + }, + { + "canonical_path": "aitable.shortcut_resolve_base", + "cli_path": "aitable +resolve-base" + }, + { + "canonical_path": "aitable.shortcut_resolve_table", + "cli_path": "aitable +resolve-table" } ] }, @@ -645,6 +761,82 @@ { "canonical_path": "attendance.vacation_update_type", "cli_path": "attendance vacation update-type" + }, + { + "canonical_path": "attendance.shortcut_check_result", + "cli_path": "attendance +check-result" + }, + { + "canonical_path": "attendance.shortcut_check_record", + "cli_path": "attendance +check-record" + }, + { + "canonical_path": "attendance.shortcut_list_approve", + "cli_path": "attendance +list-approve" + }, + { + "canonical_path": "attendance.shortcut_get_approve_template", + "cli_path": "attendance +get-approve-template" + }, + { + "canonical_path": "attendance.shortcut_get_schedule", + "cli_path": "attendance +get-schedule" + }, + { + "canonical_path": "attendance.shortcut_search_class", + "cli_path": "attendance +search-class" + }, + { + "canonical_path": "attendance.shortcut_get_adjustment_rule", + "cli_path": "attendance +get-adjustment-rule" + }, + { + "canonical_path": "attendance.shortcut_search_adjustment_rule", + "cli_path": "attendance +search-adjustment-rule" + }, + { + "canonical_path": "attendance.shortcut_get_overtime_rule", + "cli_path": "attendance +get-overtime-rule" + }, + { + "canonical_path": "attendance.shortcut_search_overtime_rule", + "cli_path": "attendance +search-overtime-rule" + }, + { + "canonical_path": "attendance.shortcut_search_group", + "cli_path": "attendance +search-group" + }, + { + "canonical_path": "attendance.shortcut_get_summary", + "cli_path": "attendance +get-summary" + }, + { + "canonical_path": "attendance.shortcut_get_self_setting", + "cli_path": "attendance +get-self-setting" + }, + { + "canonical_path": "attendance.shortcut_query_report_data", + "cli_path": "attendance +query-report-data" + }, + { + "canonical_path": "attendance.shortcut_list_leave_types", + "cli_path": "attendance +list-leave-types" + }, + { + "canonical_path": "attendance.shortcut_get_leave_records", + "cli_path": "attendance +get-leave-records" + }, + { + "canonical_path": "attendance.shortcut_get_checkin_record", + "cli_path": "attendance +get-checkin-record" + }, + { + "canonical_path": "attendance.shortcut_my_attendance", + "cli_path": "attendance +my-attendance" + }, + { + "canonical_path": "attendance.shortcut_this_month", + "cli_path": "attendance +this-month" } ] }, @@ -747,6 +939,86 @@ { "canonical_path": "calendar.query_available_meeting_room", "cli_path": "calendar room search" + }, + { + "canonical_path": "calendar.shortcut_agenda", + "cli_path": "calendar +agenda" + }, + { + "canonical_path": "calendar.shortcut_attendee_list", + "cli_path": "calendar +attendee-list" + }, + { + "canonical_path": "calendar.shortcut_room_search", + "cli_path": "calendar +room-search" + }, + { + "canonical_path": "calendar.shortcut_room_groups", + "cli_path": "calendar +room-groups" + }, + { + "canonical_path": "calendar.shortcut_freebusy", + "cli_path": "calendar +freebusy" + }, + { + "canonical_path": "calendar.shortcut_book_list", + "cli_path": "calendar +book-list" + }, + { + "canonical_path": "calendar.shortcut_book_search", + "cli_path": "calendar +book-search" + }, + { + "canonical_path": "calendar.shortcut_book", + "cli_path": "calendar +book" + }, + { + "canonical_path": "calendar.shortcut_cancel_event", + "cli_path": "calendar +cancel-event" + }, + { + "canonical_path": "calendar.shortcut_conflicts", + "cli_path": "calendar +conflicts" + }, + { + "canonical_path": "calendar.shortcut_free_slots", + "cli_path": "calendar +free-slots" + }, + { + "canonical_path": "calendar.shortcut_free", + "cli_path": "calendar +free" + }, + { + "canonical_path": "calendar.shortcut_invite", + "cli_path": "calendar +invite" + }, + { + "canonical_path": "calendar.shortcut_my_free", + "cli_path": "calendar +my-free" + }, + { + "canonical_path": "calendar.shortcut_next_event", + "cli_path": "calendar +next-event" + }, + { + "canonical_path": "calendar.shortcut_reschedule", + "cli_path": "calendar +reschedule" + }, + { + "canonical_path": "calendar.shortcut_suggest_time", + "cli_path": "calendar +suggest-time" + }, + { + "canonical_path": "calendar.shortcut_today", + "cli_path": "calendar +today" + }, + { + "canonical_path": "calendar.shortcut_tomorrow", + "cli_path": "calendar +tomorrow" + }, + { + "canonical_path": "calendar.shortcut_week", + "cli_path": "calendar +week" } ] }, @@ -1064,6 +1336,174 @@ { "canonical_path": "chat.upgrade_group_to_external", "cli_path": "chat group upgrade-to-external" + }, + { + "canonical_path": "chat.shortcut_bot_search", + "cli_path": "chat +bot-search" + }, + { + "canonical_path": "chat.shortcut_bot_find", + "cli_path": "chat +bot-find" + }, + { + "canonical_path": "chat.shortcut_conversation_info", + "cli_path": "chat +conversation-info" + }, + { + "canonical_path": "chat.shortcut_conversation_clear_all_red_point", + "cli_path": "chat +conversation-clear-all-red-point" + }, + { + "canonical_path": "chat.shortcut_conversation_list", + "cli_path": "chat +conversation-list" + }, + { + "canonical_path": "chat.shortcut_conversation_list_top", + "cli_path": "chat +conversation-list-top" + }, + { + "canonical_path": "chat.shortcut_category_list", + "cli_path": "chat +category-list" + }, + { + "canonical_path": "chat.shortcut_category_create", + "cli_path": "chat +category-create" + }, + { + "canonical_path": "chat.shortcut_category_delete", + "cli_path": "chat +category-delete" + }, + { + "canonical_path": "chat.shortcut_category_rename", + "cli_path": "chat +category-rename" + }, + { + "canonical_path": "chat.shortcut_chat_search", + "cli_path": "chat +chat-search" + }, + { + "canonical_path": "chat.shortcut_chat_invite_url", + "cli_path": "chat +chat-invite-url" + }, + { + "canonical_path": "chat.shortcut_chat_dismiss", + "cli_path": "chat +chat-dismiss" + }, + { + "canonical_path": "chat.shortcut_chat_set_history", + "cli_path": "chat +chat-set-history" + }, + { + "canonical_path": "chat.shortcut_chat_update_nick", + "cli_path": "chat +chat-update-nick" + }, + { + "canonical_path": "chat.shortcut_chat_update_alias", + "cli_path": "chat +chat-update-alias" + }, + { + "canonical_path": "chat.shortcut_chat_list_mine", + "cli_path": "chat +chat-list-mine" + }, + { + "canonical_path": "chat.shortcut_chat_list_all", + "cli_path": "chat +chat-list-all" + }, + { + "canonical_path": "chat.shortcut_chat_list_join_requests", + "cli_path": "chat +chat-list-join-requests" + }, + { + "canonical_path": "chat.shortcut_chat_bots", + "cli_path": "chat +chat-bots" + }, + { + "canonical_path": "chat.shortcut_chat_set_admin", + "cli_path": "chat +chat-set-admin" + }, + { + "canonical_path": "chat.shortcut_chat_mute", + "cli_path": "chat +chat-mute" + }, + { + "canonical_path": "chat.shortcut_chat_role_list", + "cli_path": "chat +chat-role-list" + }, + { + "canonical_path": "chat.shortcut_chat_role_add", + "cli_path": "chat +chat-role-add" + }, + { + "canonical_path": "chat.shortcut_chat_role_update", + "cli_path": "chat +chat-role-update" + }, + { + "canonical_path": "chat.shortcut_chat_role_set_user", + "cli_path": "chat +chat-role-set-user" + }, + { + "canonical_path": "chat.shortcut_chat_role_query_user", + "cli_path": "chat +chat-role-query-user" + }, + { + "canonical_path": "chat.shortcut_messages_send_by_webhook", + "cli_path": "chat +messages-send-by-webhook" + }, + { + "canonical_path": "chat.shortcut_messages_list_direct", + "cli_path": "chat +messages-list-direct" + }, + { + "canonical_path": "chat.shortcut_messages_list_unread_conversations", + "cli_path": "chat +messages-list-unread-conversations" + }, + { + "canonical_path": "chat.shortcut_messages_mget", + "cli_path": "chat +messages-mget" + }, + { + "canonical_path": "chat.shortcut_messages_query_send_status", + "cli_path": "chat +messages-query-send-status" + }, + { + "canonical_path": "chat.shortcut_messages_read_status", + "cli_path": "chat +messages-read-status" + }, + { + "canonical_path": "chat.shortcut_messages_update_card", + "cli_path": "chat +messages-update-card" + }, + { + "canonical_path": "chat.shortcut_messages_list_pin", + "cli_path": "chat +messages-list-pin" + }, + { + "canonical_path": "chat.shortcut_at_me", + "cli_path": "chat +at-me" + }, + { + "canonical_path": "chat.shortcut_broadcast", + "cli_path": "chat +broadcast" + }, + { + "canonical_path": "chat.shortcut_dm", + "cli_path": "chat +dm" + }, + { + "canonical_path": "chat.shortcut_group_members", + "cli_path": "chat +group-members" + }, + { + "canonical_path": "chat.shortcut_my_groups", + "cli_path": "chat +my-groups" + }, + { + "canonical_path": "chat.shortcut_send_to_group", + "cli_path": "chat +send-to-group" + }, + { + "canonical_path": "chat.shortcut_unread_chats", + "cli_path": "chat +unread-chats" } ] }, @@ -1149,6 +1589,62 @@ { "canonical_path": "contact.self_user_profile_update", "cli_path": "contact user update-self" + }, + { + "canonical_path": "contact.shortcut_list_followings", + "cli_path": "contact +list-followings" + }, + { + "canonical_path": "contact.shortcut_search_user", + "cli_path": "contact +search-user" + }, + { + "canonical_path": "contact.shortcut_search_mobile", + "cli_path": "contact +search-mobile" + }, + { + "canonical_path": "contact.shortcut_list_roles", + "cli_path": "contact +list-roles" + }, + { + "canonical_path": "contact.shortcut_list_role_members", + "cli_path": "contact +list-role-members" + }, + { + "canonical_path": "contact.shortcut_list_sub_depts", + "cli_path": "contact +list-sub-depts" + }, + { + "canonical_path": "contact.shortcut_list_dept_members", + "cli_path": "contact +list-dept-members" + }, + { + "canonical_path": "contact.shortcut_by_mobile", + "cli_path": "contact +by-mobile" + }, + { + "canonical_path": "contact.shortcut_dept_members", + "cli_path": "contact +dept-members" + }, + { + "canonical_path": "contact.shortcut_lookup", + "cli_path": "contact +lookup" + }, + { + "canonical_path": "contact.shortcut_org", + "cli_path": "contact +org" + }, + { + "canonical_path": "contact.shortcut_resolve_dept", + "cli_path": "contact +resolve-dept" + }, + { + "canonical_path": "contact.shortcut_team", + "cli_path": "contact +team" + }, + { + "canonical_path": "contact.shortcut_me", + "cli_path": "contact +me" } ] }, @@ -1293,6 +1789,87 @@ } ] }, + { + "id": "devapp", + "tools": [ + { + "canonical_path": "devapp.shortcut_list", + "cli_path": "devapp +list" + }, + { + "canonical_path": "devapp.shortcut_get", + "cli_path": "devapp +get" + }, + { + "canonical_path": "devapp.shortcut_create", + "cli_path": "devapp +create" + }, + { + "canonical_path": "devapp.shortcut_update", + "cli_path": "devapp +update" + }, + { + "canonical_path": "devapp.shortcut_delete", + "cli_path": "devapp +delete" + }, + { + "canonical_path": "devapp.shortcut_enable", + "cli_path": "devapp +enable" + }, + { + "canonical_path": "devapp.shortcut_disable", + "cli_path": "devapp +disable" + }, + { + "canonical_path": "devapp.shortcut_webapp_get", + "cli_path": "devapp +webapp-get" + }, + { + "canonical_path": "devapp.shortcut_webapp_config", + "cli_path": "devapp +webapp-config" + }, + { + "canonical_path": "devapp.shortcut_permission_list", + "cli_path": "devapp +permission-list" + }, + { + "canonical_path": "devapp.shortcut_member_list", + "cli_path": "devapp +member-list" + }, + { + "canonical_path": "devapp.shortcut_member_add", + "cli_path": "devapp +member-add" + }, + { + "canonical_path": "devapp.shortcut_member_remove", + "cli_path": "devapp +member-remove" + }, + { + "canonical_path": "devapp.shortcut_robot_get", + "cli_path": "devapp +robot-get" + }, + { + "canonical_path": "devapp.shortcut_event_list", + "cli_path": "devapp +event-list" + }, + { + "canonical_path": "devapp.shortcut_version_list", + "cli_path": "devapp +version-list" + }, + { + "canonical_path": "devapp.shortcut_version_get", + "cli_path": "devapp +version-get" + }, + { + "canonical_path": "devapp.shortcut_version_check_approval", + "cli_path": "devapp +version-check-approval" + }, + { + "canonical_path": "devapp.shortcut_version_status", + "cli_path": "devapp +version-status" + } + ] + }, { "id": "devdoc", "tools": [ @@ -1312,6 +1889,22 @@ { "canonical_path": "ding.send_ding_message", "cli_path": "ding message send" + }, + { + "canonical_path": "ding.shortcut_list", + "cli_path": "ding +list" + }, + { + "canonical_path": "ding.shortcut_receiver_status", + "cli_path": "ding +receiver-status" + }, + { + "canonical_path": "ding.shortcut_send_personal", + "cli_path": "ding +send-personal" + }, + { + "canonical_path": "ding.shortcut_recall_personal", + "cli_path": "ding +recall-personal" } ] }, @@ -1469,6 +2062,74 @@ { "canonical_path": "doc.version_save", "cli_path": "doc version save" + }, + { + "canonical_path": "doc.shortcut_search", + "cli_path": "doc +search" + }, + { + "canonical_path": "doc.shortcut_list", + "cli_path": "doc +list" + }, + { + "canonical_path": "doc.shortcut_copy", + "cli_path": "doc +copy" + }, + { + "canonical_path": "doc.shortcut_move", + "cli_path": "doc +move" + }, + { + "canonical_path": "doc.shortcut_comment_list", + "cli_path": "doc +comment-list" + }, + { + "canonical_path": "doc.shortcut_comment_create", + "cli_path": "doc +comment-create" + }, + { + "canonical_path": "doc.shortcut_comment_reply", + "cli_path": "doc +comment-reply" + }, + { + "canonical_path": "doc.shortcut_export_submit", + "cli_path": "doc +export-submit" + }, + { + "canonical_path": "doc.shortcut_export_get", + "cli_path": "doc +export-get" + }, + { + "canonical_path": "doc.shortcut_version_save", + "cli_path": "doc +version-save" + }, + { + "canonical_path": "doc.shortcut_version_list", + "cli_path": "doc +version-list" + }, + { + "canonical_path": "doc.shortcut_version_revert", + "cli_path": "doc +version-revert" + }, + { + "canonical_path": "doc.shortcut_template_list", + "cli_path": "doc +template-list" + }, + { + "canonical_path": "doc.shortcut_template_search", + "cli_path": "doc +template-search" + }, + { + "canonical_path": "doc.shortcut_doc_append", + "cli_path": "doc +doc-append" + }, + { + "canonical_path": "doc.shortcut_find_doc", + "cli_path": "doc +find-doc" + }, + { + "canonical_path": "doc.shortcut_share_doc", + "cli_path": "doc +share-doc" } ] }, @@ -1574,6 +2235,34 @@ { "canonical_path": "drive.get_upload_info", "cli_path": "drive upload-info" + }, + { + "canonical_path": "drive.shortcut_info", + "cli_path": "drive +info" + }, + { + "canonical_path": "drive.shortcut_search", + "cli_path": "drive +search" + }, + { + "canonical_path": "drive.shortcut_search_docs", + "cli_path": "drive +search-docs" + }, + { + "canonical_path": "drive.shortcut_copy", + "cli_path": "drive +copy" + }, + { + "canonical_path": "drive.shortcut_move", + "cli_path": "drive +move" + }, + { + "canonical_path": "drive.shortcut_recent", + "cli_path": "drive +recent" + }, + { + "canonical_path": "drive.shortcut_find_file", + "cli_path": "drive +find-file" } ] }, @@ -1786,6 +2475,46 @@ { "canonical_path": "mail.search_mail_users", "cli_path": "mail user search" + }, + { + "canonical_path": "mail.shortcut_thread_list", + "cli_path": "mail +thread-list" + }, + { + "canonical_path": "mail.shortcut_folder_list", + "cli_path": "mail +folder-list" + }, + { + "canonical_path": "mail.shortcut_tag_list", + "cli_path": "mail +tag-list" + }, + { + "canonical_path": "mail.shortcut_user_search", + "cli_path": "mail +user-search" + }, + { + "canonical_path": "mail.shortcut_template_list", + "cli_path": "mail +template-list" + }, + { + "canonical_path": "mail.shortcut_contact_list", + "cli_path": "mail +contact-list" + }, + { + "canonical_path": "mail.shortcut_find_mail_user", + "cli_path": "mail +find-mail-user" + }, + { + "canonical_path": "mail.shortcut_recent_mail", + "cli_path": "mail +recent-mail" + }, + { + "canonical_path": "mail.shortcut_search_mail", + "cli_path": "mail +search-mail" + }, + { + "canonical_path": "mail.shortcut_unread_mail", + "cli_path": "mail +unread-mail" } ] }, @@ -1945,6 +2674,30 @@ { "canonical_path": "minutes.create_upload_session", "cli_path": "minutes upload create" + }, + { + "canonical_path": "minutes.shortcut_list_mine", + "cli_path": "minutes +list-mine" + }, + { + "canonical_path": "minutes.shortcut_list_shared", + "cli_path": "minutes +list-shared" + }, + { + "canonical_path": "minutes.shortcut_list_all", + "cli_path": "minutes +list-all" + }, + { + "canonical_path": "minutes.shortcut_record_start", + "cli_path": "minutes +record-start" + }, + { + "canonical_path": "minutes.shortcut_detail", + "cli_path": "minutes +detail" + }, + { + "canonical_path": "minutes.shortcut_replace_batch", + "cli_path": "minutes +replace-batch" } ] }, @@ -2010,6 +2763,34 @@ { "canonical_path": "oa.list_pending_tasks", "cli_path": "oa approval tasks" + }, + { + "canonical_path": "oa.shortcut_list_pending", + "cli_path": "oa +list-pending" + }, + { + "canonical_path": "oa.shortcut_list_forms", + "cli_path": "oa +list-forms" + }, + { + "canonical_path": "oa.shortcut_search_forms", + "cli_path": "oa +search-forms" + }, + { + "canonical_path": "oa.shortcut_list_executed", + "cli_path": "oa +list-executed" + }, + { + "canonical_path": "oa.shortcut_list_submitted", + "cli_path": "oa +list-submitted" + }, + { + "canonical_path": "oa.shortcut_list_cc", + "cli_path": "oa +list-cc" + }, + { + "canonical_path": "oa.shortcut_my_initiated", + "cli_path": "oa +my-initiated" } ] }, @@ -2075,6 +2856,14 @@ { "canonical_path": "report.get_available_report_templates", "cli_path": "report template list" + }, + { + "canonical_path": "report.shortcut_inbox_list", + "cli_path": "report +inbox-list" + }, + { + "canonical_path": "report.shortcut_outbox_list", + "cli_path": "report +outbox-list" } ] }, @@ -2402,6 +3191,14 @@ { "canonical_path": "sheet.write_image", "cli_path": "sheet write-image" + }, + { + "canonical_path": "sheet.shortcut_list_sheets", + "cli_path": "sheet +list-sheets" + }, + { + "canonical_path": "sheet.shortcut_read", + "cli_path": "sheet +read" } ] }, @@ -2499,6 +3296,50 @@ { "canonical_path": "todo.update_todo_tag", "cli_path": "todo tag update" + }, + { + "canonical_path": "todo.shortcut_assign", + "cli_path": "todo +assign" + }, + { + "canonical_path": "todo.shortcut_assign_multi", + "cli_path": "todo +assign-multi" + }, + { + "canonical_path": "todo.shortcut_created_todos", + "cli_path": "todo +created-todos" + }, + { + "canonical_path": "todo.shortcut_overdue", + "cli_path": "todo +overdue" + }, + { + "canonical_path": "todo.shortcut_remind", + "cli_path": "todo +remind" + }, + { + "canonical_path": "todo.shortcut_todo_done", + "cli_path": "todo +todo-done" + }, + { + "canonical_path": "todo.shortcut_get_my_tasks", + "cli_path": "todo +get-my-tasks" + }, + { + "canonical_path": "todo.shortcut_list_sub", + "cli_path": "todo +list-sub" + }, + { + "canonical_path": "todo.shortcut_get", + "cli_path": "todo +get" + }, + { + "canonical_path": "todo.shortcut_list_attachment", + "cli_path": "todo +list-attachment" + }, + { + "canonical_path": "todo.shortcut_list_comment", + "cli_path": "todo +list-comment" } ] }, @@ -2564,6 +3405,10 @@ { "canonical_path": "wiki.search_wikiSpaces", "cli_path": "wiki space search" + }, + { + "canonical_path": "wiki.shortcut_space_search", + "cli_path": "wiki +space-search" } ] } diff --git a/internal/cli/schema_command_registry.schema.json b/internal/cli/schema_command_registry.schema.json index aabf2bd4..2899a6fa 100644 --- a/internal/cli/schema_command_registry.schema.json +++ b/internal/cli/schema_command_registry.schema.json @@ -36,8 +36,8 @@ }, "cliPath": { "type": "string", - "pattern": "^(?!dws(?:\\s|$))(?!.*(?:^|\\s)--)(?!.*[*?\\[\\]])[A-Za-z0-9][A-Za-z0-9._:-]*(?: [A-Za-z0-9][A-Za-z0-9._:-]*)*$", - "description": "Exact Cobra command path without the leading 'dws', flags, wildcard characters, or surrounding/repeated whitespace." + "pattern": "^(?!dws(?:\\s|$))(?!.*(?:^|\\s)--)(?!.*[*?\\[\\]])(?:[A-Za-z0-9][A-Za-z0-9._:-]*|\\+[A-Za-z0-9][A-Za-z0-9._:-]*)(?: (?:[A-Za-z0-9][A-Za-z0-9._:-]*|\\+[A-Za-z0-9][A-Za-z0-9._:-]*))*$", + "description": "Exact Cobra command path without the leading 'dws', flags, wildcard characters, or surrounding/repeated whitespace. A token may use the reviewed '+' shortcut prefix." }, "product": { "type": "object", diff --git a/internal/cli/schema_command_registry_contract_test.go b/internal/cli/schema_command_registry_contract_test.go index 772d05b1..5830ba2c 100644 --- a/internal/cli/schema_command_registry_contract_test.go +++ b/internal/cli/schema_command_registry_contract_test.go @@ -94,6 +94,14 @@ func TestDecodeCommandRegistryEnforcesReviewedSourceConstraints(t *testing.T) { if got := registry.ByCanonical["sample.run"].Visibility; got != SchemaVisibilityPublic { t.Fatalf("default visibility = %q, want public", got) } + + shortcut, err := decodeCommandRegistry([]byte(wrap(`[{"id":"sample","tools":[{"canonical_path":"sample.shortcut_run","cli_path":"sample +run"}]}]`))) + if err != nil { + t.Fatalf("decode shortcut registry path: %v", err) + } + if got := shortcut.ByCanonical["sample.shortcut_run"].PrimaryCLIPath; got != "sample +run" { + t.Fatalf("shortcut primary path = %q, want sample +run", got) + } } func TestCommandRegistryHashCoversEveryStableCommandField(t *testing.T) { diff --git a/internal/cli/schema_hints/index.json b/internal/cli/schema_hints/index.json index afc1516e..37b04a52 100644 --- a/internal/cli/schema_hints/index.json +++ b/internal/cli/schema_hints/index.json @@ -16,6 +16,7 @@ "chat": "metadata/chat.json", "contact": "metadata/contact.json", "dev": "metadata/dev.json", + "devapp": "metadata/devapp.json", "devdoc": "metadata/devdoc.json", "ding": "metadata/ding.json", "doc": "metadata/doc.json", @@ -43,6 +44,7 @@ "chat": "selection/chat.json", "contact": "selection/contact.json", "dev": "selection/dev.json", + "devapp": "selection/devapp.json", "devdoc": "selection/devdoc.json", "ding": "selection/ding.json", "doc": "selection/doc.json", diff --git a/internal/cli/schema_hints/metadata/aitable.json b/internal/cli/schema_hints/metadata/aitable.json index fc8c8364..7bf29664 100644 --- a/internal/cli/schema_hints/metadata/aitable.json +++ b/internal/cli/schema_hints/metadata/aitable.json @@ -1056,6 +1056,383 @@ "review_reason": "The command maps --base-id, --workflow-id and a decoded complete workflow-dsl/v1 --dsl object to aitable/update_workflow. This is full replacement rather than a partial patch; locale remains optional.", "cli_path": "aitable workflow update", "runtime_gate": "none" + }, + "aitable.shortcut_base_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +base-list", + "runtime_gate": "none" + }, + "aitable.shortcut_base_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +base-search", + "runtime_gate": "none" + }, + "aitable.shortcut_base_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +base-get", + "runtime_gate": "none" + }, + "aitable.shortcut_table_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +table-get", + "runtime_gate": "none" + }, + "aitable.shortcut_field_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +field-get", + "runtime_gate": "none" + }, + "aitable.shortcut_record_query": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +record-query", + "runtime_gate": "none" + }, + "aitable.shortcut_record_query_empty": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +record-query-empty", + "runtime_gate": "none" + }, + "aitable.shortcut_record_history_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +record-history-list", + "runtime_gate": "none" + }, + "aitable.shortcut_record_share_url": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +record-share-url", + "runtime_gate": "none" + }, + "aitable.shortcut_template_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +template-search", + "runtime_gate": "none" + }, + "aitable.shortcut_view_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +view-get", + "runtime_gate": "none" + }, + "aitable.shortcut_view_get_lock": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +view-get-lock", + "runtime_gate": "none" + }, + "aitable.shortcut_view_get_frozen_cols": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +view-get-frozen-cols", + "runtime_gate": "none" + }, + "aitable.shortcut_view_get_row_height": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +view-get-row-height", + "runtime_gate": "none" + }, + "aitable.shortcut_form_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +form-list", + "runtime_gate": "none" + }, + "aitable.shortcut_form_field_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +form-field-list", + "runtime_gate": "none" + }, + "aitable.shortcut_form_share_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +form-share-get", + "runtime_gate": "none" + }, + "aitable.shortcut_dashboard_config_example": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +dashboard-config-example", + "runtime_gate": "none" + }, + "aitable.shortcut_dashboard_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +dashboard-get", + "runtime_gate": "none" + }, + "aitable.shortcut_chart_widgets_example": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +chart-widgets-example", + "runtime_gate": "none" + }, + "aitable.shortcut_chart_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +chart-get", + "runtime_gate": "none" + }, + "aitable.shortcut_role_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +role-list", + "runtime_gate": "none" + }, + "aitable.shortcut_section_list_empty": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +section-list-empty", + "runtime_gate": "none" + }, + "aitable.shortcut_section_list_nodes": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +section-list-nodes", + "runtime_gate": "none" + }, + "aitable.shortcut_find_record": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +find-record", + "runtime_gate": "none" + }, + "aitable.shortcut_list_tables": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +list-tables", + "runtime_gate": "none" + }, + "aitable.shortcut_record_share_links": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +record-share-links", + "runtime_gate": "none" + }, + "aitable.shortcut_resolve_base": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +resolve-base", + "runtime_gate": "none" + }, + "aitable.shortcut_resolve_table": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "aitable +resolve-table", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/attendance.json b/internal/cli/schema_hints/metadata/attendance.json index f2c35ce8..21bfd7aa 100644 --- a/internal/cli/schema_hints/metadata/attendance.json +++ b/internal/cli/schema_hints/metadata/attendance.json @@ -428,6 +428,253 @@ "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "runtime_gate": "typed_yes" + }, + "attendance.shortcut_check_result": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +check-result", + "runtime_gate": "none" + }, + "attendance.shortcut_check_record": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +check-record", + "runtime_gate": "none" + }, + "attendance.shortcut_list_approve": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +list-approve", + "runtime_gate": "none" + }, + "attendance.shortcut_get_approve_template": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-approve-template", + "runtime_gate": "none" + }, + "attendance.shortcut_get_schedule": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-schedule", + "runtime_gate": "none" + }, + "attendance.shortcut_search_class": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +search-class", + "runtime_gate": "none" + }, + "attendance.shortcut_get_adjustment_rule": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-adjustment-rule", + "runtime_gate": "none" + }, + "attendance.shortcut_search_adjustment_rule": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +search-adjustment-rule", + "runtime_gate": "none" + }, + "attendance.shortcut_get_overtime_rule": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-overtime-rule", + "runtime_gate": "none" + }, + "attendance.shortcut_search_overtime_rule": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +search-overtime-rule", + "runtime_gate": "none" + }, + "attendance.shortcut_search_group": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +search-group", + "runtime_gate": "none" + }, + "attendance.shortcut_get_summary": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-summary", + "runtime_gate": "none" + }, + "attendance.shortcut_get_self_setting": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-self-setting", + "runtime_gate": "none" + }, + "attendance.shortcut_query_report_data": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +query-report-data", + "runtime_gate": "none" + }, + "attendance.shortcut_list_leave_types": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +list-leave-types", + "runtime_gate": "none" + }, + "attendance.shortcut_get_leave_records": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-leave-records", + "runtime_gate": "none" + }, + "attendance.shortcut_get_checkin_record": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +get-checkin-record", + "runtime_gate": "none" + }, + "attendance.shortcut_my_attendance": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +my-attendance", + "runtime_gate": "none" + }, + "attendance.shortcut_this_month": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "attendance +this-month", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/calendar.json b/internal/cli/schema_hints/metadata/calendar.json index 59e7daf4..4be3e386 100644 --- a/internal/cli/schema_hints/metadata/calendar.json +++ b/internal/cli/schema_hints/metadata/calendar.json @@ -119,6 +119,266 @@ "interface_mode": "mcp", "availability": "available", "reviewed": true + }, + "calendar.shortcut_agenda": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +agenda", + "runtime_gate": "none" + }, + "calendar.shortcut_attendee_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +attendee-list", + "runtime_gate": "none" + }, + "calendar.shortcut_room_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +room-search", + "runtime_gate": "none" + }, + "calendar.shortcut_room_groups": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +room-groups", + "runtime_gate": "none" + }, + "calendar.shortcut_freebusy": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +freebusy", + "runtime_gate": "none" + }, + "calendar.shortcut_book_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +book-list", + "runtime_gate": "none" + }, + "calendar.shortcut_book_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +book-search", + "runtime_gate": "none" + }, + "calendar.shortcut_book": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +book", + "runtime_gate": "typed_yes" + }, + "calendar.shortcut_cancel_event": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +cancel-event", + "runtime_gate": "typed_yes" + }, + "calendar.shortcut_conflicts": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +conflicts", + "runtime_gate": "none" + }, + "calendar.shortcut_free_slots": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +free-slots", + "runtime_gate": "none" + }, + "calendar.shortcut_free": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +free", + "runtime_gate": "none" + }, + "calendar.shortcut_invite": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +invite", + "runtime_gate": "typed_yes" + }, + "calendar.shortcut_my_free": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +my-free", + "runtime_gate": "none" + }, + "calendar.shortcut_next_event": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +next-event", + "runtime_gate": "none" + }, + "calendar.shortcut_reschedule": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +reschedule", + "runtime_gate": "typed_yes" + }, + "calendar.shortcut_suggest_time": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +suggest-time", + "runtime_gate": "none" + }, + "calendar.shortcut_today": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +today", + "runtime_gate": "none" + }, + "calendar.shortcut_tomorrow": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +tomorrow", + "runtime_gate": "none" + }, + "calendar.shortcut_week": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "calendar +week", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/chat.json b/internal/cli/schema_hints/metadata/chat.json index cf7db0d5..5a48ac43 100644 --- a/internal/cli/schema_hints/metadata/chat.json +++ b/internal/cli/schema_hints/metadata/chat.json @@ -800,6 +800,552 @@ "review_reason": "The reviewed handler validates the target group and optional string-valued extension object, permits caller-authoritative dry-run, and requires explicit --yes before the irreversible upgrade.", "cli_path": "chat group upgrade-to-external", "runtime_gate": "confirm_dangerous" + }, + "chat.shortcut_bot_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +bot-search", + "runtime_gate": "none" + }, + "chat.shortcut_bot_find": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +bot-find", + "runtime_gate": "none" + }, + "chat.shortcut_conversation_info": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +conversation-info", + "runtime_gate": "none" + }, + "chat.shortcut_conversation_clear_all_red_point": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +conversation-clear-all-red-point", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_conversation_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +conversation-list", + "runtime_gate": "none" + }, + "chat.shortcut_conversation_list_top": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +conversation-list-top", + "runtime_gate": "none" + }, + "chat.shortcut_category_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +category-list", + "runtime_gate": "none" + }, + "chat.shortcut_category_create": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +category-create", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_category_delete": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +category-delete", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_category_rename": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +category-rename", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-search", + "runtime_gate": "none" + }, + "chat.shortcut_chat_invite_url": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-invite-url", + "runtime_gate": "none" + }, + "chat.shortcut_chat_dismiss": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-dismiss", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_set_history": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-set-history", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_update_nick": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-update-nick", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_update_alias": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-update-alias", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_list_mine": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-list-mine", + "runtime_gate": "none" + }, + "chat.shortcut_chat_list_all": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-list-all", + "runtime_gate": "none" + }, + "chat.shortcut_chat_list_join_requests": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-list-join-requests", + "runtime_gate": "none" + }, + "chat.shortcut_chat_bots": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-bots", + "runtime_gate": "none" + }, + "chat.shortcut_chat_set_admin": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-set-admin", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_mute": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-mute", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_role_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-role-list", + "runtime_gate": "none" + }, + "chat.shortcut_chat_role_add": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-role-add", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_role_update": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-role-update", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_role_set_user": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-role-set-user", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_chat_role_query_user": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +chat-role-query-user", + "runtime_gate": "none" + }, + "chat.shortcut_messages_send_by_webhook": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-send-by-webhook", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_messages_list_direct": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-list-direct", + "runtime_gate": "none" + }, + "chat.shortcut_messages_list_unread_conversations": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-list-unread-conversations", + "runtime_gate": "none" + }, + "chat.shortcut_messages_mget": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-mget", + "runtime_gate": "none" + }, + "chat.shortcut_messages_query_send_status": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-query-send-status", + "runtime_gate": "none" + }, + "chat.shortcut_messages_read_status": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-read-status", + "runtime_gate": "none" + }, + "chat.shortcut_messages_update_card": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-update-card", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_messages_list_pin": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +messages-list-pin", + "runtime_gate": "none" + }, + "chat.shortcut_at_me": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +at-me", + "runtime_gate": "none" + }, + "chat.shortcut_broadcast": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +broadcast", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_dm": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +dm", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_group_members": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +group-members", + "runtime_gate": "none" + }, + "chat.shortcut_my_groups": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +my-groups", + "runtime_gate": "none" + }, + "chat.shortcut_send_to_group": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +send-to-group", + "runtime_gate": "typed_yes" + }, + "chat.shortcut_unread_chats": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "chat +unread-chats", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/contact.json b/internal/cli/schema_hints/metadata/contact.json index 46150834..d866ffc7 100644 --- a/internal/cli/schema_hints/metadata/contact.json +++ b/internal/cli/schema_hints/metadata/contact.json @@ -388,6 +388,188 @@ "review_reason": "The reviewed handler requires at least one of nickname or avatar file ID, confirms, then invokes self_user_profile_update for the current user.", "cli_path": "contact user update-self", "runtime_gate": "confirm_dangerous" + }, + "contact.shortcut_list_followings": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +list-followings", + "runtime_gate": "none" + }, + "contact.shortcut_search_user": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +search-user", + "runtime_gate": "none" + }, + "contact.shortcut_search_mobile": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +search-mobile", + "runtime_gate": "none" + }, + "contact.shortcut_list_roles": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +list-roles", + "runtime_gate": "none" + }, + "contact.shortcut_list_role_members": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +list-role-members", + "runtime_gate": "none" + }, + "contact.shortcut_list_sub_depts": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +list-sub-depts", + "runtime_gate": "none" + }, + "contact.shortcut_list_dept_members": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +list-dept-members", + "runtime_gate": "none" + }, + "contact.shortcut_by_mobile": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +by-mobile", + "runtime_gate": "none" + }, + "contact.shortcut_dept_members": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +dept-members", + "runtime_gate": "none" + }, + "contact.shortcut_lookup": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +lookup", + "runtime_gate": "none" + }, + "contact.shortcut_org": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +org", + "runtime_gate": "none" + }, + "contact.shortcut_resolve_dept": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +resolve-dept", + "runtime_gate": "none" + }, + "contact.shortcut_team": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +team", + "runtime_gate": "none" + }, + "contact.shortcut_me": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "contact +me", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/devapp.json b/internal/cli/schema_hints/metadata/devapp.json new file mode 100644 index 00000000..2075b8ae --- /dev/null +++ b/internal/cli/schema_hints/metadata/devapp.json @@ -0,0 +1,259 @@ +{ + "version": 1, + "source": { + "kind": "explicit", + "name": "dws-tool-metadata/devapp", + "repository": "DingTalk-Real-AI/dingtalk-workspace-cli", + "channel": "open-source", + "reviewed": true + }, + "tools": { + "devapp.shortcut_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +list", + "runtime_gate": "none" + }, + "devapp.shortcut_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +get", + "runtime_gate": "none" + }, + "devapp.shortcut_create": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +create", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_update": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +update", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_delete": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +delete", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_enable": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +enable", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_disable": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +disable", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_webapp_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +webapp-get", + "runtime_gate": "none" + }, + "devapp.shortcut_webapp_config": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +webapp-config", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_permission_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +permission-list", + "runtime_gate": "none" + }, + "devapp.shortcut_member_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +member-list", + "runtime_gate": "none" + }, + "devapp.shortcut_member_add": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +member-add", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_member_remove": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +member-remove", + "runtime_gate": "typed_yes" + }, + "devapp.shortcut_robot_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +robot-get", + "runtime_gate": "none" + }, + "devapp.shortcut_event_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +event-list", + "runtime_gate": "none" + }, + "devapp.shortcut_version_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +version-list", + "runtime_gate": "none" + }, + "devapp.shortcut_version_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +version-get", + "runtime_gate": "none" + }, + "devapp.shortcut_version_check_approval": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +version-check-approval", + "runtime_gate": "none" + }, + "devapp.shortcut_version_status": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "devapp +version-status", + "runtime_gate": "none" + } + } +} diff --git a/internal/cli/schema_hints/metadata/ding.json b/internal/cli/schema_hints/metadata/ding.json index 44c72896..800d40d5 100644 --- a/internal/cli/schema_hints/metadata/ding.json +++ b/internal/cli/schema_hints/metadata/ding.json @@ -21,6 +21,58 @@ "interface_mode": "mcp", "availability": "available", "reviewed": true + }, + "ding.shortcut_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "ding +list", + "runtime_gate": "none" + }, + "ding.shortcut_receiver_status": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "ding +receiver-status", + "runtime_gate": "none" + }, + "ding.shortcut_send_personal": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "ding +send-personal", + "runtime_gate": "typed_yes" + }, + "ding.shortcut_recall_personal": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "ding +recall-personal", + "runtime_gate": "typed_yes" } } } diff --git a/internal/cli/schema_hints/metadata/doc.json b/internal/cli/schema_hints/metadata/doc.json index 9abe85f3..e9212b3f 100644 --- a/internal/cli/schema_hints/metadata/doc.json +++ b/internal/cli/schema_hints/metadata/doc.json @@ -301,8 +301,7 @@ }, "review_reason": "Preserve the reviewed user-mention conversion and normalize repeated or comma-separated group conversation IDs into mentionedOpenConversationIds.", "cli_path": "doc comment update", - "runtime_gate": "none", - "confirmation": "not_required" + "runtime_gate": "none" }, "doc.update_document": { "effect": "write", @@ -367,6 +366,227 @@ "interface_reason": "Reviewed unpinned remote adapter: this executable CLI wrapper calls a remote helper that is absent from the pinned MCP metadata snapshot; no single pinned semantically equivalent interface_ref can represent the command.", "reviewed": true, "review_reason": "migrated to reviewed metadata block" + }, + "doc.shortcut_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +search", + "runtime_gate": "none" + }, + "doc.shortcut_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +list", + "runtime_gate": "none" + }, + "doc.shortcut_copy": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +copy", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_move": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +move", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_comment_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +comment-list", + "runtime_gate": "none" + }, + "doc.shortcut_comment_create": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +comment-create", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_comment_reply": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +comment-reply", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_export_submit": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +export-submit", + "runtime_gate": "none" + }, + "doc.shortcut_export_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +export-get", + "runtime_gate": "none" + }, + "doc.shortcut_version_save": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +version-save", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_version_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +version-list", + "runtime_gate": "none" + }, + "doc.shortcut_version_revert": { + "effect": "destructive", + "risk": "high", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +version-revert", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_template_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +template-list", + "runtime_gate": "none" + }, + "doc.shortcut_template_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +template-search", + "runtime_gate": "none" + }, + "doc.shortcut_doc_append": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +doc-append", + "runtime_gate": "typed_yes" + }, + "doc.shortcut_find_doc": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +find-doc", + "runtime_gate": "none" + }, + "doc.shortcut_share_doc": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "doc +share-doc", + "runtime_gate": "typed_yes" } } } diff --git a/internal/cli/schema_hints/metadata/drive.json b/internal/cli/schema_hints/metadata/drive.json index f159578b..3f9fb103 100644 --- a/internal/cli/schema_hints/metadata/drive.json +++ b/internal/cli/schema_hints/metadata/drive.json @@ -228,6 +228,97 @@ "review_reason": "The reviewed helper preserves the stable command-level Schema contract for ordinary uploads; --node switches to overwrite mode and the runtime still requires explicit confirmation unless --yes is supplied.", "cli_path": "drive upload", "runtime_gate": "none" + }, + "drive.shortcut_info": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +info", + "runtime_gate": "none" + }, + "drive.shortcut_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +search", + "runtime_gate": "none" + }, + "drive.shortcut_search_docs": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +search-docs", + "runtime_gate": "none" + }, + "drive.shortcut_copy": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +copy", + "runtime_gate": "typed_yes" + }, + "drive.shortcut_move": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +move", + "runtime_gate": "typed_yes" + }, + "drive.shortcut_recent": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +recent", + "runtime_gate": "none" + }, + "drive.shortcut_find_file": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "drive +find-file", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/mail.json b/internal/cli/schema_hints/metadata/mail.json index 7a369603..0c173b7b 100644 --- a/internal/cli/schema_hints/metadata/mail.json +++ b/internal/cli/schema_hints/metadata/mail.json @@ -218,6 +218,136 @@ "cli_path": "mail template update", "runtime_gate": "none", "confirmation": "not_required" + }, + "mail.shortcut_thread_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +thread-list", + "runtime_gate": "none" + }, + "mail.shortcut_folder_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +folder-list", + "runtime_gate": "none" + }, + "mail.shortcut_tag_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +tag-list", + "runtime_gate": "none" + }, + "mail.shortcut_user_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +user-search", + "runtime_gate": "none" + }, + "mail.shortcut_template_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +template-list", + "runtime_gate": "none" + }, + "mail.shortcut_contact_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +contact-list", + "runtime_gate": "none" + }, + "mail.shortcut_find_mail_user": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +find-mail-user", + "runtime_gate": "none" + }, + "mail.shortcut_recent_mail": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +recent-mail", + "runtime_gate": "none" + }, + "mail.shortcut_search_mail": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +search-mail", + "runtime_gate": "none" + }, + "mail.shortcut_unread_mail": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "mail +unread-mail", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/minutes.json b/internal/cli/schema_hints/metadata/minutes.json index 29d93dbd..93a1f101 100644 --- a/internal/cli/schema_hints/metadata/minutes.json +++ b/internal/cli/schema_hints/metadata/minutes.json @@ -194,6 +194,89 @@ "interface_mode": "mcp", "availability": "available", "reviewed": true + }, + "minutes.shortcut_list_mine": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "minutes +list-mine", + "runtime_gate": "none" + }, + "minutes.shortcut_list_shared": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "minutes +list-shared", + "runtime_gate": "none" + }, + "minutes.shortcut_list_all": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "minutes +list-all", + "runtime_gate": "none" + }, + "minutes.shortcut_record_start": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "minutes +record-start", + "runtime_gate": "typed_yes" + }, + "minutes.shortcut_detail": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "minutes +detail", + "runtime_gate": "none" + }, + "minutes.shortcut_replace_batch": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "parameters": { + "pair": { + "description": "替换规则,格式 \"原文=>替换\",可重复传多组(必填);每组原文不能为空且不能重复" + } + }, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate, composite interface, and the custom --pair format/uniqueness validation without inventing a direct MCP identity.", + "cli_path": "minutes +replace-batch", + "runtime_gate": "typed_yes" } } } diff --git a/internal/cli/schema_hints/metadata/oa.json b/internal/cli/schema_hints/metadata/oa.json index e779521c..01c74b56 100644 --- a/internal/cli/schema_hints/metadata/oa.json +++ b/internal/cli/schema_hints/metadata/oa.json @@ -90,6 +90,97 @@ "availability": "available", "reviewed": true, "runtime_gate": "confirm_delete" + }, + "oa.shortcut_list_pending": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +list-pending", + "runtime_gate": "none" + }, + "oa.shortcut_list_forms": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +list-forms", + "runtime_gate": "none" + }, + "oa.shortcut_search_forms": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +search-forms", + "runtime_gate": "none" + }, + "oa.shortcut_list_executed": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +list-executed", + "runtime_gate": "none" + }, + "oa.shortcut_list_submitted": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +list-submitted", + "runtime_gate": "none" + }, + "oa.shortcut_list_cc": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +list-cc", + "runtime_gate": "none" + }, + "oa.shortcut_my_initiated": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "oa +my-initiated", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/report.json b/internal/cli/schema_hints/metadata/report.json index c50660c6..e6444bb0 100644 --- a/internal/cli/schema_hints/metadata/report.json +++ b/internal/cli/schema_hints/metadata/report.json @@ -51,6 +51,32 @@ "interface_mode": "mcp", "availability": "available", "reviewed": true + }, + "report.shortcut_inbox_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "report +inbox-list", + "runtime_gate": "none" + }, + "report.shortcut_outbox_list": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "report +outbox-list", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/sheet.json b/internal/cli/schema_hints/metadata/sheet.json index 77277c75..13ded011 100644 --- a/internal/cli/schema_hints/metadata/sheet.json +++ b/internal/cli/schema_hints/metadata/sheet.json @@ -708,6 +708,32 @@ "interface_mode": "mcp", "availability": "available", "reviewed": true + }, + "sheet.shortcut_list_sheets": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "sheet +list-sheets", + "runtime_gate": "none" + }, + "sheet.shortcut_read": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "sheet +read", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/todo.json b/internal/cli/schema_hints/metadata/todo.json index 9c219e63..8b6a090a 100644 --- a/internal/cli/schema_hints/metadata/todo.json +++ b/internal/cli/schema_hints/metadata/todo.json @@ -233,6 +233,149 @@ "review_reason": "The reviewed handler requires a non-null JSON array of tag update records and invokes update_todo_tag without a runtime confirmation gate.", "cli_path": "todo tag update", "runtime_gate": "none" + }, + "todo.shortcut_assign": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +assign", + "runtime_gate": "typed_yes" + }, + "todo.shortcut_assign_multi": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +assign-multi", + "runtime_gate": "typed_yes" + }, + "todo.shortcut_created_todos": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +created-todos", + "runtime_gate": "none" + }, + "todo.shortcut_overdue": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +overdue", + "runtime_gate": "none" + }, + "todo.shortcut_remind": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +remind", + "runtime_gate": "typed_yes" + }, + "todo.shortcut_todo_done": { + "effect": "write", + "risk": "medium", + "confirmation": "user_required", + "idempotency": "unknown", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +todo-done", + "runtime_gate": "typed_yes" + }, + "todo.shortcut_get_my_tasks": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +get-my-tasks", + "runtime_gate": "none" + }, + "todo.shortcut_list_sub": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +list-sub", + "runtime_gate": "none" + }, + "todo.shortcut_get": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +get", + "runtime_gate": "none" + }, + "todo.shortcut_list_attachment": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +list-attachment", + "runtime_gate": "none" + }, + "todo.shortcut_list_comment": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "todo +list-comment", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/metadata/wiki.json b/internal/cli/schema_hints/metadata/wiki.json index 3826aa7f..2409c0ae 100644 --- a/internal/cli/schema_hints/metadata/wiki.json +++ b/internal/cli/schema_hints/metadata/wiki.json @@ -119,6 +119,19 @@ "interface_mode": "mcp", "availability": "available", "reviewed": true + }, + "wiki.shortcut_space_search": { + "effect": "read", + "risk": "low", + "confirmation": "not_required", + "idempotency": "idempotent", + "interface_mode": "composite", + "availability": "available", + "interface_reason": "Reviewed built-in shortcut adapter: the executable CLI owns validation, optional multi-step orchestration, output projection, and confirmation; the complete command contract is not represented by one pinned MCP interface_ref.", + "reviewed": true, + "review_reason": "Reviewed against the built-in Shortcut registry and mounted Cobra command: publishes the executable risk gate and composite interface without inventing a direct MCP identity.", + "cli_path": "wiki +space-search", + "runtime_gate": "none" } } } diff --git a/internal/cli/schema_hints/runtime-surface-completeness.json b/internal/cli/schema_hints/runtime-surface-completeness.json index 8ca9d45b..4147a3eb 100644 --- a/internal/cli/schema_hints/runtime-surface-completeness.json +++ b/internal/cli/schema_hints/runtime-surface-completeness.json @@ -7,7 +7,7 @@ "channel": "open-source" }, "coverage": { - "source_tools": 603, + "source_tools": 813, "matched_tools": 71 }, "tools": { diff --git a/internal/cli/schema_hints/selection/aitable.json b/internal/cli/schema_hints/selection/aitable.json index 400acf5b..ef1f0ae8 100644 --- a/internal/cli/schema_hints/selection/aitable.json +++ b/internal/cli/schema_hints/selection/aitable.json @@ -2328,6 +2328,561 @@ "cobra-help:dws aitable workflow update --help", "skills/mono/references/products/aitable/aitable-workflow.md" ] + }, + "aitable.shortcut_base_list": { + "agent_summary": "获取当前用户可访问的 AI 表格 Base 列表(最近访问,支持游标分页)", + "use_when": [ + "当你不知道具体 baseId、想先浏览自己最近用过或可访问的 AI 表格清单以便定位目标时使用;支持游标分页,返回 Base 列表及其 baseId。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +base-list", + "dws aitable +base-list --limit 5 --cursor NEXT" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_base_list", + "cobra-help:dws aitable +base-list", + "ShortcutRegistry:aitable +base-list" + ] + }, + "aitable.shortcut_base_search": { + "agent_summary": "按名称关键词搜索 AI 表格 Base", + "use_when": [ + "当你知道某个 AI 表格的名字或部分关键词、想直接定位到它并拿到 baseId 时使用;输入名称关键词,返回匹配的 Base 列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +base-search --query \"项目管理\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_base_search", + "cobra-help:dws aitable +base-search", + "ShortcutRegistry:aitable +base-search" + ] + }, + "aitable.shortcut_base_get": { + "agent_summary": "获取指定 Base 的目录信息(tables / dashboards summary)", + "use_when": [ + "当你已有 baseId、需要了解这个表格里有哪些数据表和仪表盘(拿到 tableId/dashboardId)以便进一步操作时使用;返回 Base 的目录结构概要。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +base-get --base-id BASE_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_base_get", + "cobra-help:dws aitable +base-get", + "ShortcutRegistry:aitable +base-get" + ] + }, + "aitable.shortcut_table_get": { + "agent_summary": "批量获取指定数据表的表级信息、字段目录与视图目录", + "use_when": [ + "当你已进入某个 Base、需要了解其中某些数据表有哪些字段(拿 fieldId)、有哪些视图(拿 viewId)以便读写数据时使用;批量返回表信息、字段目录和视图目录。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +table-get --base-id BASE_ID", + "dws aitable +table-get --base-id B --table-ids tbl1,tbl2" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_table_get", + "cobra-help:dws aitable +table-get", + "ShortcutRegistry:aitable +table-get" + ] + }, + "aitable.shortcut_field_get": { + "agent_summary": "批量获取字段详情(含类型相关完整配置)", + "use_when": [ + "当你需要查看字段的完整类型配置(如单选选项、关联表设置、AI 配置)以便正确写入数据或改配置时使用;批量返回字段详情。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +field-get --base-id B --table-id T" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_field_get", + "cobra-help:dws aitable +field-get", + "ShortcutRegistry:aitable +field-get" + ] + }, + "aitable.shortcut_record_query": { + "agent_summary": "查询表格记录(按 ID 取 / 条件筛选 / 关键词 / 分页)", + "use_when": [ + "当你要读取表格里的行数据——按 recordId 精确取、按结构化条件筛选、按关键词全文搜索或分页遍历时使用;返回匹配记录及其单元格值。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +record-query --base-id B --table-id T --query \"关键词\" --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_record_query", + "cobra-help:dws aitable +record-query", + "ShortcutRegistry:aitable +record-query" + ] + }, + "aitable.shortcut_record_query_empty": { + "agent_summary": "扫描并过滤出完全没填用户字段的空行", + "use_when": [ + "当你想清理表格、需要先找出那些所有用户字段都为空的空行时使用;扫描并返回空行列表,支持分页预算。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +record-query-empty --base-id B --table-id T" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_record_query_empty", + "cobra-help:dws aitable +record-query-empty", + "ShortcutRegistry:aitable +record-query-empty" + ] + }, + "aitable.shortcut_record_history_list": { + "agent_summary": "按 recordId 查询单条记录的变更历史", + "use_when": [ + "当你要追溯某条记录曾被谁在何时改过哪些字段时使用;按 recordId 分页返回该行的变更历史。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +record-history-list --base-id B --table-id T --record-id R" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_record_history_list", + "cobra-help:dws aitable +record-history-list", + "ShortcutRegistry:aitable +record-history-list" + ] + }, + "aitable.shortcut_record_share_url": { + "agent_summary": "按 recordId 批量获取记录分享链接,单次最多 20 条", + "use_when": [ + "当你要把某几条记录以链接形式分享给他人(可带视图上下文)时使用;按 recordId 批量返回分享链接,单次最多 20 条。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +record-share-url --base-id B --table-id T --record-ids rec1,rec2" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_record_share_url", + "cobra-help:dws aitable +record-share-url", + "ShortcutRegistry:aitable +record-share-url" + ] + }, + "aitable.shortcut_template_search": { + "agent_summary": "按名称关键词搜索 AI 表格模板", + "use_when": [ + "当你要新建表格并想套用现成模板、需要先按关键词找模板(不传关键词则返回热门)时使用;返回模板列表及其模板 ID。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +template-search --query \"项目管理\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_template_search", + "cobra-help:dws aitable +template-search", + "ShortcutRegistry:aitable +template-search" + ] + }, + "aitable.shortcut_view_get": { + "agent_summary": "获取视图完整信息(列顺序、筛选、排序、分组等)", + "use_when": [ + "当你要了解某个视图当前的列顺序、筛选、排序、分组等完整配置以便复用或修改时使用;批量返回视图详情。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +view-get --base-id B --table-id T" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get", + "cobra-help:dws aitable +view-get", + "ShortcutRegistry:aitable +view-get" + ] + }, + "aitable.shortcut_view_get_lock": { + "agent_summary": "获取视图锁定状态", + "use_when": [ + "当你想确认某视图是否已被锁定(以防他人误改其配置)时使用;返回该视图的锁定状态。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +view-get-lock --base-id B --table-id T --view-id V" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_lock", + "cobra-help:dws aitable +view-get-lock", + "ShortcutRegistry:aitable +view-get-lock" + ] + }, + "aitable.shortcut_view_get_frozen_cols": { + "agent_summary": "获取视图当前冻结的左侧列数", + "use_when": [ + "当你想知道某视图当前冻结了左侧几列时使用;返回冻结列数。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +view-get-frozen-cols --base-id B --table-id T --view-id V" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_frozen_cols", + "cobra-help:dws aitable +view-get-frozen-cols", + "ShortcutRegistry:aitable +view-get-frozen-cols" + ] + }, + "aitable.shortcut_view_get_row_height": { + "agent_summary": "获取视图单元格行高(像素)", + "use_when": [ + "当你想知道某视图当前的行高档位时使用;返回单元格行高的像素值。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +view-get-row-height --base-id B --table-id T --view-id V" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_view_get_row_height", + "cobra-help:dws aitable +view-get-row-height", + "ShortcutRegistry:aitable +view-get-row-height" + ] + }, + "aitable.shortcut_form_list": { + "agent_summary": "列出指定数据表下的所有表单视图", + "use_when": [ + "当你要查看某数据表下已有哪些收集表单时使用;返回该表的全部表单视图列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +form-list --base-id B --table-id T" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_form_list", + "cobra-help:dws aitable +form-list", + "ShortcutRegistry:aitable +form-list" + ] + }, + "aitable.shortcut_form_field_list": { + "agent_summary": "列出表单视图当前可见的字段及其配置", + "use_when": [ + "当你要查看某表单当前放出了哪些字段供填写及其是否必填等配置时使用;返回表单可见字段列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +form-field-list --base-id B --table-id T --view-id V" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_form_field_list", + "cobra-help:dws aitable +form-field-list", + "ShortcutRegistry:aitable +form-field-list" + ] + }, + "aitable.shortcut_form_share_get": { + "agent_summary": "读取视图当前的分享表单配置", + "use_when": [ + "当你要查看某视图的表单分享是否已开启及其分享配置时使用;返回当前的分享表单配置。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +form-share-get --base-id B --table-id T --view-id V" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_form_share_get", + "cobra-help:dws aitable +form-share-get", + "ShortcutRegistry:aitable +form-share-get" + ] + }, + "aitable.shortcut_dashboard_config_example": { + "agent_summary": "获取 dashboard config 的结构示例", + "use_when": [ + "当你准备创建或更新仪表盘、需要先了解 dashboard config 的字段结构长什么样时使用;返回一份配置结构示例供参考。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +dashboard-config-example" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_dashboard_config_example", + "cobra-help:dws aitable +dashboard-config-example", + "ShortcutRegistry:aitable +dashboard-config-example" + ] + }, + "aitable.shortcut_dashboard_get": { + "agent_summary": "获取指定 dashboard 的详细信息(含 charts summary)", + "use_when": [ + "当你要查看某仪表盘的配置详情及它包含哪些图表(拿 chartId)时使用;返回 dashboard 信息与 charts 概要。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +dashboard-get --base-id B --dashboard-id D" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_dashboard_get", + "cobra-help:dws aitable +dashboard-get", + "ShortcutRegistry:aitable +dashboard-get" + ] + }, + "aitable.shortcut_chart_widgets_example": { + "agent_summary": "获取所有图表类型的 widget config 示例", + "use_when": [ + "当你准备创建或修改图表、需要先参考各类图表 widget config 的示例结构时使用;返回所有图表类型的配置示例。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +chart-widgets-example" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_chart_widgets_example", + "cobra-help:dws aitable +chart-widgets-example", + "ShortcutRegistry:aitable +chart-widgets-example" + ] + }, + "aitable.shortcut_chart_get": { + "agent_summary": "获取指定 chart 的详细信息", + "use_when": [ + "当你要查看某个图表的配置详情(统计维度、样式等)时使用;返回指定 chart 的详细信息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +chart-get --base-id B --dashboard-id D --chart-id C" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_chart_get", + "cobra-help:dws aitable +chart-get", + "ShortcutRegistry:aitable +chart-get" + ] + }, + "aitable.shortcut_role_list": { + "agent_summary": "列出指定 Base 下的全部角色", + "use_when": [ + "当你要查看某 Base 下配置了哪些角色(拿 roleId)时使用;返回全部角色列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +role-list --base-id B" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_role_list", + "cobra-help:dws aitable +role-list", + "ShortcutRegistry:aitable +role-list" + ] + }, + "aitable.shortcut_section_list_empty": { + "agent_summary": "列出指定 Base 下所有没有子节点的空文件夹", + "use_when": [ + "当你想清理 Base、需要先找出所有没有任何子节点的空文件夹时使用;返回空文件夹列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +section-list-empty --base-id B" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_section_list_empty", + "cobra-help:dws aitable +section-list-empty", + "ShortcutRegistry:aitable +section-list-empty" + ] + }, + "aitable.shortcut_section_list_nodes": { + "agent_summary": "列出指定 Base 当前版本下的全部 nsheet 节点", + "use_when": [ + "当你要总览某 Base 当前版本下的全部节点(表、仪表盘、文件夹等)目录结构时使用;返回所有 nsheet 节点。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +section-list-nodes --base-id B" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_section_list_nodes", + "cobra-help:dws aitable +section-list-nodes", + "ShortcutRegistry:aitable +section-list-nodes" + ] + }, + "aitable.shortcut_find_record": { + "agent_summary": "在指定多维表里按关键词查记录(只读)", + "use_when": [ + "当你已经知道某个多维表的 baseId 和 tableId、想按一个关键词快速找出匹配的行记录,却不想手写结构化过滤条件时使用;内部直接调用 query_records,把 --query 作为全文关键词(keyword)在该表里检索并打印匹配记录。不传 --query 时则返回该表的前若干条记录。这是只读操作,不会修改任何数据。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +find-record --base B --table T", + "dws aitable +find-record --base B --table T --query 张三" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_find_record", + "cobra-help:dws aitable +find-record", + "ShortcutRegistry:aitable +find-record" + ] + }, + "aitable.shortcut_list_tables": { + "agent_summary": "列出某个多维表(base)里的所有数据表(只读,投影 tableId/tableName)", + "use_when": [ + "当你已经知道某个多维表(base)的 baseId、想一步看清这个 base 下都有哪些数据表(table)、拿到它们的 tableId 和 tableName 以便后续查记录或改结构,却不想手动翻 base get 的完整目录时使用;内部直接调用 get_tables,只传 baseId(不带 tableIds,因此返回该 base 下的全部数据表),再在本地把每张表投影成 tableId、tableName 两个关键字段打印出来。这是纯只读操作,只做列举与本地投影,不会创建、修改或删除任何表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +list-tables --base B" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_list_tables", + "cobra-help:dws aitable +list-tables", + "ShortcutRegistry:aitable +list-tables" + ] + }, + "aitable.shortcut_record_share_links": { + "agent_summary": "批量(可 >20 条)获取多维表记录分享链接:去重+分片+合并", + "use_when": [ + "当你要一次性拿到很多条多维表记录的分享链接、数量可能超过底层工具单次 20 条上限时使用;内部先对 --record-ids 去重(保持顺序),再按每批 ≤20 条切片,逐批调用 get_record_share_url(在 aitable-helper 服务上),最后把各批返回的 {recordId, shareUrl} 合并成一个列表;某一批失败会记录错误但不影响其余批。这是只读操作,只生成/获取分享链接、不修改记录。可选 --view-id 生成带视图上下文的链接。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +record-share-links --base B --table T --record-ids rec1,rec2,rec3", + "dws aitable +record-share-links --base B --table T --record-ids rec1 --view-id viw_VIP" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_record_share_links", + "cobra-help:dws aitable +record-share-links", + "ShortcutRegistry:aitable +record-share-links" + ] + }, + "aitable.shortcut_resolve_base": { + "agent_summary": "按名称搜索多维表 Base 并解析出唯一 baseId(只读)", + "use_when": [ + "当你只知道某个多维表 Base 的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 baseId 时使用;内部按 --name 关键词调用 search_bases 搜索 Base,再在本地投影出每个候选的 baseId 和 name。如果只命中一个 Base 就直接返回它的 baseId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何 Base。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +resolve-base --name 项目管理" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_resolve_base", + "cobra-help:dws aitable +resolve-base", + "ShortcutRegistry:aitable +resolve-base" + ] + }, + "aitable.shortcut_resolve_table": { + "agent_summary": "在某个多维表 Base 内按名称解析出唯一的数据表 tableId(只读)", + "use_when": [ + "当你已经知道某个多维表 Base 的 baseId、又只记得里面某张数据表(table)的名称或名称关键词、想把它解析成可直接用于后续工具的 tableId 时使用;内部先用 get_tables(只传 baseId)列出该 Base 下的全部数据表,再在本地把每张表投影成 tableId、name,并按 --name 关键词做大小写不敏感的包含匹配来筛选候选。如果只命中一张表就直接返回它的 tableId;如果命中多张则列出全部候选让你消歧,绝不替你瞎猜;如果一张都没命中则提示未找到。这是纯只读操作,只做列举、本地匹配与投影,不会创建、修改或删除任何数据表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws aitable +resolve-table --base B --name 任务" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#aitable.shortcut_resolve_table", + "cobra-help:dws aitable +resolve-table", + "ShortcutRegistry:aitable +resolve-table" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/attendance.json b/internal/cli/schema_hints/selection/attendance.json index 6bcff9a8..1629a850 100644 --- a/internal/cli/schema_hints/selection/attendance.json +++ b/internal/cli/schema_hints/selection/attendance.json @@ -886,6 +886,367 @@ "skills/mono/references/products/attendance-vacation.md", "live-dws-schema:attendance.vacation_update_type" ] + }, + "attendance.shortcut_check_result": { + "agent_summary": "查询用户打卡结果(迟到/早退/缺卡等)", + "use_when": [ + "当你需要批量统计一批员工在某段时间的打卡结果(正常/迟到/早退/缺卡等判定结论)时使用,例如做月度考勤汇总或异常人员排查;输入多个 userId(最多 100 人)和不超过 1 个月的日期区间,返回每人每天的打卡结果状态,支持分页。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +check-result --users userId1,userId2 --start 2026-04-01 --end 2026-04-30 --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_check_result", + "cobra-help:dws attendance +check-result", + "ShortcutRegistry:attendance +check-result" + ] + }, + "attendance.shortcut_check_record": { + "agent_summary": "查询用户打卡流水(打卡时间/地点/定位方式)", + "use_when": [ + "当你要查看员工每一次实际打卡的原始记录(具体打卡时刻、打卡地点、定位/Wifi/蓝牙等方式)而不是判定结论时使用,例如核实某人是否在指定地点打卡;输入 userId 列表和不超过 1 个月的日期区间,返回逐条打卡流水。与 +check-result 的区别是这里返回明细流水而非迟到早退结论。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +check-record --users userId1 --start 2026-04-01 --end 2026-04-30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_check_record", + "cobra-help:dws attendance +check-record", + "ShortcutRegistry:attendance +check-record" + ] + }, + "attendance.shortcut_list_approve": { + "agent_summary": "查询用户考勤审批单(补卡/加班/请假/出差外出)", + "use_when": [ + "当你想查看某些员工已提交的考勤类审批单(加班、请假、出差外出、补卡)时使用,例如核对某人这段时间请了几次假或有没有补卡审批;输入 userId 列表、审批类型(overtime/加班、leave/请假、trip/出差外出、patch/补卡)和日期区间,返回匹配的审批单记录。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +list-approve --users userId1 --types overtime,leave --start 2026-04-01 --end 2026-04-30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_list_approve", + "cobra-help:dws attendance +list-approve", + "ShortcutRegistry:attendance +list-approve" + ] + }, + "attendance.shortcut_get_approve_template": { + "agent_summary": "查询补卡/请假/加班/外出/出差审批提交链接", + "use_when": [ + "当用户想自己发起一条考勤审批(补卡、请假、加班、外出、出差)、需要拿到对应审批表单的提交入口链接时使用;输入审批类型(如 leave/请假),返回可直接打开填写并提交的审批链接。本命令只返回链接、不代替用户提交审批。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-approve-template --type leave" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_approve_template", + "cobra-help:dws attendance +get-approve-template", + "ShortcutRegistry:attendance +get-approve-template" + ] + }, + "attendance.shortcut_get_schedule": { + "agent_summary": "获取指定用户一段时间内的排班记录", + "use_when": [ + "当你要查看排班制考勤组下员工在某段时间的排班记录(含排班 id、班次、是否休息)时使用,尤其是需要拿到排班 id 用于后续 BOSS 改签打卡(+boss-check)的场景;输入 userId 列表和起止时间,返回逐日排班明细。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-schedule --users user001,user002 --start 2026-04-01 --end 2026-04-30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_schedule", + "cobra-help:dws attendance +get-schedule", + "ShortcutRegistry:attendance +get-schedule" + ] + }, + "attendance.shortcut_search_class": { + "agent_summary": "查询当前用户可管理的班次详情列表", + "use_when": [ + "当你要浏览或按名称查找当前用户能管理的班次、以便拿到班次 ID 用于建组、排班或改班次时使用;可选按班次名关键字模糊搜索、按 ALL/我负责的过滤并分页,返回班次列表及详情。要看某个具体班次的完整配置用 +get-class。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +search-class --query \"早班\" --filter-type MINE_OWN" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_search_class", + "cobra-help:dws attendance +search-class", + "ShortcutRegistry:attendance +search-class" + ] + }, + "attendance.shortcut_get_adjustment_rule": { + "agent_summary": "根据补卡规则主键 ID 查询补卡规则详情", + "use_when": [ + "当你已知某条补卡规则的主键 ID、想查看它的具体规则内容(每月可补卡次数、时限、适用范围等)时使用;输入 adjustmentId,返回该补卡规则的完整详情。不知道 ID 时先用 +search-adjustment-rule 列出。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-adjustment-rule --adjustment-id 12345" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_adjustment_rule", + "cobra-help:dws attendance +get-adjustment-rule", + "ShortcutRegistry:attendance +get-adjustment-rule" + ] + }, + "attendance.shortcut_search_adjustment_rule": { + "agent_summary": "查询当前用户可管理的补卡规则列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的补卡规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回补卡规则列表。要看某条规则的完整内容用 +get-adjustment-rule。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +search-adjustment-rule --query \"标准\" --page 1 --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_search_adjustment_rule", + "cobra-help:dws attendance +search-adjustment-rule", + "ShortcutRegistry:attendance +search-adjustment-rule" + ] + }, + "attendance.shortcut_get_overtime_rule": { + "agent_summary": "根据加班规则主键 ID 查询加班规则详情", + "use_when": [ + "当你已知某条加班规则的主键 ID、想查看它的具体内容(工作日/休息日/节假日加班计算方式、适用范围等)时使用;输入 overtimeId,返回该加班规则的完整详情。不知道 ID 时先用 +search-overtime-rule 列出。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-overtime-rule --overtime-id 12345" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_overtime_rule", + "cobra-help:dws attendance +get-overtime-rule", + "ShortcutRegistry:attendance +get-overtime-rule" + ] + }, + "attendance.shortcut_search_overtime_rule": { + "agent_summary": "查询当前用户可管理的加班规则列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的加班规则、以便拿到规则 ID 做进一步查看时使用;可选按规则名关键字模糊搜索并分页,返回加班规则列表。要看某条规则的完整内容用 +get-overtime-rule。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +search-overtime-rule --query \"节假日\" --page 1 --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_search_overtime_rule", + "cobra-help:dws attendance +search-overtime-rule", + "ShortcutRegistry:attendance +search-overtime-rule" + ] + }, + "attendance.shortcut_search_group": { + "agent_summary": "查询当前用户可管理的考勤组列表", + "use_when": [ + "当你要浏览或按名称查找当前用户可管理的考勤组、以便拿到考勤组 ID 用于查看详情、改成员或改配置时使用;可选按名称关键字、考勤组类型(固定班制/排班制/自由工时)过滤,并可选带出定位/Wifi/蓝牙信息,分页返回考勤组简要列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +search-group --query \"研发\" --type FIXED --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_search_group", + "cobra-help:dws attendance +search-group", + "ShortcutRegistry:attendance +search-group" + ] + }, + "attendance.shortcut_get_summary": { + "agent_summary": "查询某个人的考勤统计摘要(周/月)", + "use_when": [ + "当你想快速了解某个人一周或一月的考勤汇总(出勤天数、迟到早退次数、加班、请假时长等统计口径)而不是逐天明细时使用;输入 userId、所在周期内的任意日期和统计类型(week/month),返回该周期的考勤统计摘要。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-summary --user USER_ID --date 2026-03-12 --stats-type week" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_summary", + "cobra-help:dws attendance +get-summary", + "ShortcutRegistry:attendance +get-summary" + ] + }, + "attendance.shortcut_get_self_setting": { + "agent_summary": "查询个人规则设置(打卡提醒/极速打卡/缺卡提醒等)", + "use_when": [ + "当你想查看某个用户在指定场景下的个人考勤规则开关配置(如打卡提醒、极速打卡、缺卡提醒、考勤结果通知等是否开启)时使用;输入设置场景 settingScene 和用户 userId,返回该用户对应场景的个人设置。查企业全局设置用 +get-global-setting。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-self-setting --setting-scene checkRemind --user USER_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_self_setting", + "cobra-help:dws attendance +get-self-setting", + "ShortcutRegistry:attendance +get-self-setting" + ] + }, + "attendance.shortcut_query_report_data": { + "agent_summary": "根据字段查询考勤报表数据(仅管理员)", + "use_when": [ + "当你要按指定考勤字段导出/查询一批员工在某时间段的报表数值(如各人的出勤天数、迟到次数、加班时长)时使用,常用于做考勤汇总或核算;输入 userId 列表(最多 20 人)、字段 ID 列表(来自 +list-report-columns)和不超过 32 天的时间区间,返回对应字段的数据。仅管理员可用。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +query-report-data --users userId1,userId2 --columns 1001,1002 --start \"2026-03-01 00:00:00\" --end \"2026-03-31 23:59:59\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_query_report_data", + "cobra-help:dws attendance +query-report-data", + "ShortcutRegistry:attendance +query-report-data" + ] + }, + "attendance.shortcut_list_leave_types": { + "agent_summary": "查询当前用户可用的假期规则列表", + "use_when": [ + "当你想知道企业有哪些假期类型(年假、事假、病假等)及其对应的假期编码 code、单位、是否带薪时使用,通常是查余额或改假期规则前先拿到 leaveCode;无需参数,返回当前用户可用的假期规则列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +list-leave-types" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_list_leave_types", + "cobra-help:dws attendance +list-leave-types", + "ShortcutRegistry:attendance +list-leave-types" + ] + }, + "attendance.shortcut_get_leave_records": { + "agent_summary": "查询指定员工的假期余额变更记录", + "use_when": [ + "当你想追溯某个员工假期额度的变动流水(何时发放、扣减、因请假消耗多少)以核对余额来龙去脉时使用;输入单个 userId、日期区间,可选假期 code(不传查所有假期),返回该员工在该时间段的余额变更记录。只想看当前余额用 +get-leave-balance。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-leave-records --user USER_ID --leave-code a1b2c3d4-e5f6-7890-abcd-ef1234567890 --start 2026-04-01 --end 2026-04-22" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_leave_records", + "cobra-help:dws attendance +get-leave-records", + "ShortcutRegistry:attendance +get-leave-records" + ] + }, + "attendance.shortcut_get_checkin_record": { + "agent_summary": "查询指定员工一段时间内的签到记录", + "use_when": [ + "当你要查看员工的外勤/移动办公签到记录(signin/checkin,区别于考勤打卡)时使用,例如核实业务员的拜访签到轨迹;需提供操作者企业 ID 与员工 ID、目标员工 ID 列表(最多 100 人)以及不超过 7 天的时间区间,返回这些人的签到明细。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +get-checkin-record --operator-corp-id dingXXX --operator-staff-id op001 --staff-ids user001,user002 --start \"2026-04-01 00:00:00\" --end \"2026-04-07 00:00:00\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_get_checkin_record", + "cobra-help:dws attendance +get-checkin-record", + "ShortcutRegistry:attendance +get-checkin-record" + ] + }, + "attendance.shortcut_my_attendance": { + "agent_summary": "查我今天的考勤打卡记录(打卡流水,自动解析当前用户)", + "use_when": [ + "当你想快速看自己今天的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写今天的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出今天 00:00 到次日 00:00 的时间窗,最后查询你今天的打卡流水记录。只读操作,不会修改任何考勤数据;今天若还没有任何打卡则返回空结果。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +my-attendance" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_my_attendance", + "cobra-help:dws attendance +my-attendance", + "ShortcutRegistry:attendance +my-attendance" + ] + }, + "attendance.shortcut_this_month": { + "agent_summary": "查我本月的考勤打卡记录(打卡流水,自动解析当前用户)", + "use_when": [ + "当你想快速看自己本月的打卡流水(几点上下班打卡、打卡地址/定位方式)、又不想先查自己的 userId 再手动填写本月的起止时间时使用;内部先取当前登录用户的 userId,再按本地时区算出本月 1 号 00:00 到下月 1 号 00:00 的时间窗,最后查询你本月的打卡流水记录。只读操作,不会修改任何考勤数据;本月若还没有任何打卡则返回空结果。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws attendance +this-month" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#attendance.shortcut_this_month", + "cobra-help:dws attendance +this-month", + "ShortcutRegistry:attendance +this-month" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/calendar.json b/internal/cli/schema_hints/selection/calendar.json index 36be7b51..7df40983 100644 --- a/internal/cli/schema_hints/selection/calendar.json +++ b/internal/cli/schema_hints/selection/calendar.json @@ -437,6 +437,393 @@ "skills/mono/references/products/calendar.md", "live-dws-schema:calendar.update_calendar_event" ] + }, + "calendar.shortcut_agenda": { + "agent_summary": "查询日程列表(不传时间默认查询今天)", + "use_when": [ + "当你想了解某人(默认自己)在某段时间内的日程安排、看看今天/本周有哪些会时使用;可传 --start/--end 圈定时间范围、--calendar-id 指定日历,返回该区间内的日程列表(含日程 ID,可配合 +get 看详情)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +agenda", + "dws calendar +agenda --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-31T23:59:59+08:00\" --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_agenda", + "cobra-help:dws calendar +agenda", + "ShortcutRegistry:calendar +agenda" + ] + }, + "calendar.shortcut_attendee_list": { + "agent_summary": "查看日程参会人", + "use_when": [ + "当你想知道某个日程都有谁参加、各人的出席响应状态时使用;输入 --event 日程 ID,返回参会人列表(userId 及其接受/拒绝等状态)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +attendee-list --event EVENT_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_attendee_list", + "cobra-help:dws calendar +attendee-list", + "ShortcutRegistry:calendar +attendee-list" + ] + }, + "calendar.shortcut_room_search": { + "agent_summary": "按名称模糊搜索会议室(不检查可用性)", + "use_when": [ + "当你只知道会议室名字、想拿到它的 roomId 以便后续预定时使用;输入 --room-name 名称关键词(建议只填核心专名,去掉“会议室”等后缀),返回名称匹配的会议室列表。它只按名字找、不判断该时段是否空闲,查可用性请用 +room-find。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +room-search --room-name 永澄亭" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_room_search", + "cobra-help:dws calendar +room-search", + "ShortcutRegistry:calendar +room-search" + ] + }, + "calendar.shortcut_room_groups": { + "agent_summary": "会议室分组列表", + "use_when": [ + "当你想按楼层/园区等分组浏览会议室、或需要拿到 groupId 以便在 +room-find 里按分组过滤时使用;返回会议室分组列表,支持 --limit/--page 分页。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +room-groups" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_room_groups", + "cobra-help:dws calendar +room-groups", + "ShortcutRegistry:calendar +room-groups" + ] + }, + "calendar.shortcut_freebusy": { + "agent_summary": "查询用户 / 会议室闲忙状态(--users 与 --rooms 至少其一)", + "use_when": [ + "当你要在约会前确认某些人或会议室在指定时间段是否有空、避免冲突时使用;传入 --start/--end 时间段并至少给出 --users 或 --rooms 其一,返回各对象在该区间的忙/闲时段。只看忙闲结果、不看具体日程内容,需要系统给出建议时段可用 +suggestion。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +freebusy --users userId1,userId2 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_freebusy", + "cobra-help:dws calendar +freebusy", + "ShortcutRegistry:calendar +freebusy" + ] + }, + "calendar.shortcut_book_list": { + "agent_summary": "查询用户的日历本列表", + "use_when": [ + "当你想知道自己有哪些日历本(主日历、项目日历、订阅日历等)、或需要拿到某个日历的 calendarId 以便在 +agenda/+create 中指定时使用;无需参数,返回全部日历本列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +book-list" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_book_list", + "cobra-help:dws calendar +book-list", + "ShortcutRegistry:calendar +book-list" + ] + }, + "calendar.shortcut_book_search": { + "agent_summary": "按名称模糊搜索日历本", + "use_when": [ + "当你只记得日历本名字的一部分、想据此找到对应的 calendarId 时使用;输入 --query 名称关键词,返回名称匹配的日历本列表,便于后续在其它命令里指定 --calendar-id。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +book-search --query \"项目\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_book_search", + "cobra-help:dws calendar +book-search", + "ShortcutRegistry:calendar +book-search" + ] + }, + "calendar.shortcut_book": { + "agent_summary": "创建日程,并可按姓名邀请参会人(自动解析 userId,失败自动回滚删除日程)", + "use_when": [ + "当你想快速排一个会/日程、并顺手把几位同事按姓名拉进来时使用;内部先建日程拿到 eventId,再把每个姓名解析成唯一 userId 批量加为参会人。如果加参会人失败,会自动删除刚建好的日程回滚,避免留下一个没人的空日程。会真实创建日程并发出参会邀请。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +book --title \"周会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\"", + "dws calendar +book --title \"Q1 复盘会\" --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T15:00:00+08:00\" --with 张三,李四" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_book", + "cobra-help:dws calendar +book", + "ShortcutRegistry:calendar +book" + ] + }, + "calendar.shortcut_cancel_event": { + "agent_summary": "取消(删除)一个已有日程(删除前先确认它真实存在)", + "use_when": [ + "当你想取消/删除一个已经存在的日程时使用;内部先用 eventId 拉一次日程详情确认它真实存在并回显标题,再执行删除,避免因 eventId 写错而误删别的日程。如果 eventId 查不到会直接报错,不会盲目删除。这是高危写操作,会真实删除该日程,框架会二次确认。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +cancel-event --event EVENT_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_cancel_event", + "cobra-help:dws calendar +cancel-event", + "ShortcutRegistry:calendar +cancel-event" + ] + }, + "calendar.shortcut_conflicts": { + "agent_summary": "检测我某天日程的时间冲突(重叠/双重预订,默认今天)", + "use_when": [ + "当你想快速知道『我今天(或某天)的日程有没有时间冲突、撞车的会议』时使用;内部自动算出目标日期的时间范围(默认今天,可用 --in-days 指定几天后),列出当天全部日程,再在本地两两比对开始/结束时间,找出所有时间段重叠的日程对并报告。只读操作,不修改任何日程;没有冲突时明确告诉你「无冲突」。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +conflicts", + "dws calendar +conflicts --in-days 1" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_conflicts", + "cobra-help:dws calendar +conflicts", + "ShortcutRegistry:calendar +conflicts" + ] + }, + "calendar.shortcut_free_slots": { + "agent_summary": "找我某天工作时段内的空闲时间段(默认今天 09:00-18:00)", + "use_when": [ + "当你想知道『我今天(或某天)还有哪些时间是空的、可以安排会议/事情』时使用;内部列出目标日期(默认今天,--in-days 指定几天后)的全部日程,合并忙碌时段,再在工作时间范围内(默认 09:00-18:00,可用 --from/--to 指定起止小时)算出所有空闲窗口并给出每段的起止与时长。只读操作,不修改任何日程;用于快速定位可预约的空档。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +free-slots", + "dws calendar +free-slots --in-days 1 --from 9 --to 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_free_slots", + "cobra-help:dws calendar +free-slots", + "ShortcutRegistry:calendar +free-slots" + ] + }, + "calendar.shortcut_free": { + "agent_summary": "按姓名查询某人在指定时间段内的忙闲状态(自动解析 userId)", + "use_when": [ + "当你只知道对方姓名、想知道 TA 在某段时间内是空闲还是被日程占用(比如约会前先看看有没有空)而不想先手动查 userId 时使用;内部先按姓名搜通讯录解析出唯一 userId,姓名匹配到多人时会列出候选让你区分,再按时间范围查询忙闲。只读,不产生任何日程变更。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +free --who 张三 --start \"2026-03-10T14:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_free", + "cobra-help:dws calendar +free", + "ShortcutRegistry:calendar +free" + ] + }, + "calendar.shortcut_invite": { + "agent_summary": "按姓名把参会人加入已有日程(自动解析 userId 后批量添加)", + "use_when": [ + "当你已经有一个日程(知道 eventId),想按姓名把几位同事拉进来当参会人时使用;内部先把 --with 里每个姓名解析成唯一 userId,再一次性把他们全部加到 --event 指定的日程里。会真实修改日程并发出参会邀请。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +invite --event EVENT_ID --with 张三", + "dws calendar +invite --event EVENT_ID --with 张三,李四" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_invite", + "cobra-help:dws calendar +invite", + "ShortcutRegistry:calendar +invite" + ] + }, + "calendar.shortcut_my_free": { + "agent_summary": "查我自己在某时间段的忙闲(默认今天,无需输入姓名)", + "use_when": [ + "当你(或 AI agent)想知道『我自己什么时候有空/忙』、用于安排会议或回复邀约时使用;不用像 +free 那样传别人的姓名——内部自动解析当前用户的 userId,再查其忙闲时段。默认查今天(本地时区 00:00 到次日 00:00),也可用 --start/--end 指定 ISO8601 时间范围。只读操作,只查忙闲、不创建或修改任何日程;返回按时间排列的忙碌时段,空则表示这段时间全空。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +my-free", + "dws calendar +my-free --start 2026-07-10T09:00:00+08:00 --end 2026-07-10T18:00:00+08:00" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_my_free", + "cobra-help:dws calendar +my-free", + "ShortcutRegistry:calendar +my-free" + ] + }, + "calendar.shortcut_next_event": { + "agent_summary": "查看接下来最近的一个日程(默认扫描未来 7 天)", + "use_when": [ + "当你只想知道『我下一个日程是什么、什么时候开始』、而不想翻一整份日程列表时使用;内部以当前时间为起点、往后 7 天为范围,拉取主日历下的日程,按开始时间升序挑出最近的那一个并打印摘要(标题、开始/结束时间、地点)。若这 7 天内没有任何日程,会明确提示『近 7 天无日程』。只读,不做任何修改。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +next-event" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_next_event", + "cobra-help:dws calendar +next-event", + "ShortcutRegistry:calendar +next-event" + ] + }, + "calendar.shortcut_reschedule": { + "agent_summary": "改一个已有日程的时间(只动开始/结束时间,其他字段不变)", + "use_when": [ + "当你想把一个已经存在的日程改到新的时间段、又不想动标题/描述/参会人等其他内容时使用;内部先用 eventId 拉一次日程详情确认它真实存在,再只更新开始和结束时间。如果 eventId 查不到会直接报错,不会误改别的日程。会真实修改该日程的时间。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +reschedule --event EVENT_ID --start \"2026-03-10T15:00:00+08:00\" --end \"2026-03-10T16:00:00+08:00\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_reschedule", + "cobra-help:dws calendar +reschedule", + "ShortcutRegistry:calendar +reschedule" + ] + }, + "calendar.shortcut_suggest_time": { + "agent_summary": "按姓名解析多位参与者,推荐大家都有空的可开会时间段(自动解析 userId)", + "use_when": [ + "当你想为几个人凑一个大家都空闲的开会时间、但只知道他们的姓名而不想逐个手动查 userId 时使用;内部会把 --with 里的姓名逐个搜通讯录解析成唯一 userId(任何一个没匹配到或匹配到多人都会明确报出来,绝不瞎猜),再基于所有参与者的忙闲,在给定时间范围内推荐若干可用时段。只读,不创建任何日程。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +suggest-time --with 张三,李四 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\"", + "dws calendar +suggest-time --with 张三,李四,王五 --start \"2026-03-10T09:00:00+08:00\" --end \"2026-03-10T18:00:00+08:00\" --duration 30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_suggest_time", + "cobra-help:dws calendar +suggest-time", + "ShortcutRegistry:calendar +suggest-time" + ] + }, + "calendar.shortcut_today": { + "agent_summary": "列出我今天的日程(自动计算今天的起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我今天有哪些日程/会议安排』时使用;内部用本地时区自动把时间范围算成今天 00:00 到次日 00:00,转成毫秒时间戳,查询主日历(primary)下今天的全部日程。只读,不会创建或修改任何日程。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +today" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_today", + "cobra-help:dws calendar +today", + "ShortcutRegistry:calendar +today" + ] + }, + "calendar.shortcut_tomorrow": { + "agent_summary": "列出我明天的日程(自动计算明天的起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我明天有哪些日程/会议安排』、提前准备时使用;内部用本地时区自动把时间范围算成明天 00:00 到后天 00:00,转成毫秒时间戳,查询主日历(primary)下明天的全部日程,并投影出标题、开始时间、结束时间、地点、eventId。只读,不会创建或修改任何日程。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +tomorrow" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_tomorrow", + "cobra-help:dws calendar +tomorrow", + "ShortcutRegistry:calendar +tomorrow" + ] + }, + "calendar.shortcut_week": { + "agent_summary": "列出我本周的日程(自动按周一为周首计算本周起止时间,无需手动填时间范围)", + "use_when": [ + "当你想快速看看『我本周有哪些日程/会议安排』时使用;内部用本地时区、以周一为一周开始,自动把时间范围算成本周一 00:00 到下周一 00:00,转成毫秒时间戳,查询主日历(primary)下本周的全部日程,并投影出标题、开始时间、结束时间、eventId。只读,不会创建或修改任何日程。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws calendar +week" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#calendar.shortcut_week", + "cobra-help:dws calendar +week", + "ShortcutRegistry:calendar +week" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/chat.json b/internal/cli/schema_hints/selection/chat.json index 63c78765..33ac09f5 100644 --- a/internal/cli/schema_hints/selection/chat.json +++ b/internal/cli/schema_hints/selection/chat.json @@ -1595,6 +1595,807 @@ "Wukong-parity:3306c3307", "live-dws-schema:chat.upgrade_group_to_external#FAILED" ] + }, + "chat.shortcut_bot_search": { + "agent_summary": "搜索当前用户自己创建的机器人", + "use_when": [ + "当你要管理或复用自己创建的机器人(比如查到其 robotCode 以便让它进群或发消息)时使用;按机器人名称模糊搜索,只返回当前用户名下创建的机器人列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +bot-search --page 1 --name \"日报\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_bot_search", + "cobra-help:dws chat +bot-search", + "ShortcutRegistry:chat +bot-search" + ] + }, + "chat.shortcut_bot_find": { + "agent_summary": "搜索全部可用机器人(含他人/官方,返回 openDingTalkId 可发单聊)", + "use_when": [ + "当你想找到平台上任意可用机器人(含他人创建或官方助手,例如某个日报/审批机器人)以便与其发起单聊时使用;输入关键词,返回含 openDingTalkId 的机器人列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +bot-find --query \"日报\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_bot_find", + "cobra-help:dws chat +bot-find", + "ShortcutRegistry:chat +bot-find" + ] + }, + "chat.shortcut_conversation_info": { + "agent_summary": "获取会话信息(群聊传 --group,单聊传 --open-dingtalk-id)", + "use_when": [ + "当你已有群 openConversationId 或单聊对方 openDingTalkId、需要查看该会话的名称/类型/成员数等基础信息时使用;只读,群聊传 --group、单聊传 --open-dingtalk-id 二选一。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +conversation-info --group " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_info", + "cobra-help:dws chat +conversation-info", + "ShortcutRegistry:chat +conversation-info" + ] + }, + "chat.shortcut_conversation_clear_all_red_point": { + "agent_summary": "清除所有会话红点(全部已读)", + "use_when": [ + "当你想一键把全部会话标记为已读、清空所有红点时使用;会实际清除当前用户所有会话的红点,无需任何参数。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +conversation-clear-all-red-point" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_clear_all_red_point", + "cobra-help:dws chat +conversation-clear-all-red-point", + "ShortcutRegistry:chat +conversation-clear-all-red-point" + ] + }, + "chat.shortcut_conversation_list": { + "agent_summary": "分页获取当前用户的全部会话列表(单聊+群聊)", + "use_when": [ + "当你想遍历当前用户的所有会话(单聊+群聊)做统计、清理或批量处理时使用;只读分页返回,可用 --exclude-muted 排除已免打扰会话。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +conversation-list --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_list", + "cobra-help:dws chat +conversation-list", + "ShortcutRegistry:chat +conversation-list" + ] + }, + "chat.shortcut_conversation_list_top": { + "agent_summary": "拉取置顶会话列表", + "use_when": [ + "当你只想查看被置顶的那些会话时使用;只读分页返回置顶会话列表,可用 --exclude-muted 排除已免打扰会话。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +conversation-list-top --limit 1000" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_conversation_list_top", + "cobra-help:dws chat +conversation-list-top", + "ShortcutRegistry:chat +conversation-list-top" + ] + }, + "chat.shortcut_category_list": { + "agent_summary": "获取用户自定义会话分组", + "use_when": [ + "当你想查看当前用户自建了哪些会话分组(如'工作群''项目群')时使用;只读返回分组列表及其 categoryId,供后续按分组拉会话或增删。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +category-list" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_category_list", + "cobra-help:dws chat +category-list", + "ShortcutRegistry:chat +category-list" + ] + }, + "chat.shortcut_category_create": { + "agent_summary": "创建用户自定义会话分组", + "use_when": [ + "当你想新建一个会话分组来归类会话时使用;会实际创建分组并返回其 ID,需传分组名称 --title。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +category-create --title \"工作群\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_category_create", + "cobra-help:dws chat +category-create", + "ShortcutRegistry:chat +category-create" + ] + }, + "chat.shortcut_category_delete": { + "agent_summary": "删除用户自定义会话分组", + "use_when": [ + "当你想删除某个自定义会话分组时使用;会实际删除分组(不影响其中会话本身),不可逆,需传 categoryId。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +category-delete --category-id <分组ID>" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_category_delete", + "cobra-help:dws chat +category-delete", + "ShortcutRegistry:chat +category-delete" + ] + }, + "chat.shortcut_category_rename": { + "agent_summary": "更新用户自定义会话分组的名称", + "use_when": [ + "当你想重命名已有的自定义会话分组时使用;会实际更新分组名称,需传 categoryId 和新名称 --title。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +category-rename --category-id <分组ID> --title \"新名称\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_category_rename", + "cobra-help:dws chat +category-rename", + "ShortcutRegistry:chat +category-rename" + ] + }, + "chat.shortcut_chat_search": { + "agent_summary": "按关键词搜索群聊", + "use_when": [ + "当你只记得群名称关键词、需要拿到群 openConversationId 以便发消息或管理该群时使用;按群名模糊搜索,只读分页返回匹配的群列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-search --query \"项目冲刺\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_search", + "cobra-help:dws chat +chat-search", + "ShortcutRegistry:chat +chat-search" + ] + }, + "chat.shortcut_chat_invite_url": { + "agent_summary": "获取群邀请链接", + "use_when": [ + "当你想拿到一条群邀请链接分享给别人加群时使用;只读生成链接,需传群 openConversationId,可用 --expires-seconds 设置有效期(0 表示永久)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-invite-url --group " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_invite_url", + "cobra-help:dws chat +chat-invite-url", + "ShortcutRegistry:chat +chat-invite-url" + ] + }, + "chat.shortcut_chat_dismiss": { + "agent_summary": "解散群聊(不可逆,需群主权限)", + "use_when": [ + "当你要彻底解散一个群时使用;会实际销毁群聊,不可逆且需群主权限,仅需传群 openConversationId,操作前务必确认。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-dismiss --group " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_dismiss", + "cobra-help:dws chat +chat-dismiss", + "ShortcutRegistry:chat +chat-dismiss" + ] + }, + "chat.shortcut_chat_set_history": { + "agent_summary": "设置新成员入群可查看历史消息范围", + "use_when": [ + "当你想控制新成员入群后能看到多少历史消息时使用;会实际修改群配置,需传群 openConversationId 和范围(FORBIDDEN 不可见 / RECENT_100 最近100条 / ALL 全部)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-set-history --group --option RECENT_100" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_set_history", + "cobra-help:dws chat +chat-set-history", + "ShortcutRegistry:chat +chat-set-history" + ] + }, + "chat.shortcut_chat_update_nick": { + "agent_summary": "设置当前用户在群内的群昵称", + "use_when": [ + "当你想设置当前用户在某个群里显示的群昵称时使用;会实际更新本人在该群的昵称,需传群 openConversationId 和昵称。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-update-nick --group --nick \"我的群昵称\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_update_nick", + "cobra-help:dws chat +chat-update-nick", + "ShortcutRegistry:chat +chat-update-nick" + ] + }, + "chat.shortcut_chat_update_alias": { + "agent_summary": "设置群备注(仅自己可见)", + "use_when": [ + "当你想给某个群设置仅自己可见的备注名以便区分同名群时使用;会实际保存本人对该群的备注,需传群 openConversationId 和备注标题。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-update-alias --group --alias-title \"项目A群\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_update_alias", + "cobra-help:dws chat +chat-update-alias", + "ShortcutRegistry:chat +chat-update-alias" + ] + }, + "chat.shortcut_chat_list_mine": { + "agent_summary": "拉取我创建/管理的群", + "use_when": [ + "当你想查看自己作为群主或管理员在管理哪些群时使用;只读分页返回,可用 --role OWNER/ADMIN 按角色过滤。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-list-mine --role OWNER" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_mine", + "cobra-help:dws chat +chat-list-mine", + "ShortcutRegistry:chat +chat-list-mine" + ] + }, + "chat.shortcut_chat_list_all": { + "agent_summary": "分页拉取我加入的所有群列表", + "use_when": [ + "当你想遍历当前用户加入的所有群做统计或批量操作时使用;只读分页返回全部已加入的群列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-list-all --limit 50" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_all", + "cobra-help:dws chat +chat-list-all", + "ShortcutRegistry:chat +chat-list-all" + ] + }, + "chat.shortcut_chat_list_join_requests": { + "agent_summary": "分页拉取入群验证记录", + "use_when": [ + "当你作为群主/管理员想查看待处理的入群申请时使用;只读分页返回入群验证记录(含 recordId、申请人与邀请人 ID),供后续用 chat-audit-join 审批。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-list-join-requests --limit 30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_list_join_requests", + "cobra-help:dws chat +chat-list-join-requests", + "ShortcutRegistry:chat +chat-list-join-requests" + ] + }, + "chat.shortcut_chat_bots": { + "agent_summary": "查看群内所有机器人", + "use_when": [ + "当你想查看某个群里已添加了哪些机器人时使用;需传群 openConversationId,只读返回群内机器人列表(含 openBotId,供后续移除)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-bots --group " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_bots", + "cobra-help:dws chat +chat-bots", + "ShortcutRegistry:chat +chat-bots" + ] + }, + "chat.shortcut_chat_set_admin": { + "agent_summary": "设置 / 取消群管理员", + "use_when": [ + "当你想把某些成员设为或取消群管理员时使用;会实际变更成员角色,需传群 openConversationId 和成员 userId/openDingTalkId 列表,加 --off 取消管理员。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-set-admin --group --users userId1,userId2" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_set_admin", + "cobra-help:dws chat +chat-set-admin", + "ShortcutRegistry:chat +chat-set-admin" + ] + }, + "chat.shortcut_chat_mute": { + "agent_summary": "全员禁言 / 取消全员禁言", + "use_when": [ + "当你想对整个群开启或取消全员禁言时使用;会实际切换群的全员禁言状态,需传群 openConversationId,加 --off 取消禁言。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-mute --group " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_mute", + "cobra-help:dws chat +chat-mute", + "ShortcutRegistry:chat +chat-mute" + ] + }, + "chat.shortcut_chat_role_list": { + "agent_summary": "拉取会话的群身份列表", + "use_when": [ + "当你想查看某群自定义的群身份(如'班长''值日')都有哪些时使用;需传群 openConversationId,只读返回群身份列表及 openRoleId。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-role-list --group " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_list", + "cobra-help:dws chat +chat-role-list", + "ShortcutRegistry:chat +chat-role-list" + ] + }, + "chat.shortcut_chat_role_add": { + "agent_summary": "添加群身份", + "use_when": [ + "当你想在群里新增一个自定义群身份/头衔时使用;会实际创建群身份,需传群 openConversationId 和身份名称。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-role-add --group --name \"管理员\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_add", + "cobra-help:dws chat +chat-role-add", + "ShortcutRegistry:chat +chat-role-add" + ] + }, + "chat.shortcut_chat_role_update": { + "agent_summary": "更新群身份名称", + "use_when": [ + "当你想重命名已有的群身份时使用;会实际更新身份名称,需传群 openConversationId、身份 openRoleId 和新名称。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-role-update --group --role-id --name \"新名称\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_update", + "cobra-help:dws chat +chat-role-update", + "ShortcutRegistry:chat +chat-role-update" + ] + }, + "chat.shortcut_chat_role_set_user": { + "agent_summary": "设置用户的群身份(覆盖该用户的全部群身份)", + "use_when": [ + "当你想为某成员整体设定其在群内的身份时使用;会实际改写该用户的群身份集合(覆盖其原有全部身份),需传群、用户和 openRoleId 列表(传空则清除全部)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-role-set-user --group --user --role-ids roleId1,roleId2" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_set_user", + "cobra-help:dws chat +chat-role-set-user", + "ShortcutRegistry:chat +chat-role-set-user" + ] + }, + "chat.shortcut_chat_role_query_user": { + "agent_summary": "查询群成员的群身份", + "use_when": [ + "当你想查看某个群成员当前拥有哪些群身份时使用;只读,需传群 openConversationId 和用户 userId 或 openDingTalkId。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +chat-role-query-user --group --user " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_chat_role_query_user", + "cobra-help:dws chat +chat-role-query-user", + "ShortcutRegistry:chat +chat-role-query-user" + ] + }, + "chat.shortcut_messages_send_by_webhook": { + "agent_summary": "自定义机器人 Webhook 发送群消息", + "use_when": [ + "当你只有自定义机器人的 Webhook token、想往其所在群推送消息时使用;会实际通过 Webhook 发群消息,需传 token、标题、正文,可 @手机号/userId 或 @所有人。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-send-by-webhook --token --title \"告警\" --text \"CPU 超 90%\" --at-all" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_send_by_webhook", + "cobra-help:dws chat +messages-send-by-webhook", + "ShortcutRegistry:chat +messages-send-by-webhook" + ] + }, + "chat.shortcut_messages_list_direct": { + "agent_summary": "拉取单聊会话消息", + "use_when": [ + "当你想按时间拉取与某人单聊的历史消息时使用;只读,需传对方 userId 或 openDingTalkId 及起始时间,--forward 控制翻页方向。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-list-direct --user --time \"2025-03-01 00:00:00\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_direct", + "cobra-help:dws chat +messages-list-direct", + "ShortcutRegistry:chat +messages-list-direct" + ] + }, + "chat.shortcut_messages_list_unread_conversations": { + "agent_summary": "获取有未读消息的会话列表", + "use_when": [ + "当你想快速定位哪些会话还有未读消息时使用;只读返回有未读的会话列表,可用 --exclude-muted 排除已免打扰会话。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-list-unread-conversations --count 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_unread_conversations", + "cobra-help:dws chat +messages-list-unread-conversations", + "ShortcutRegistry:chat +messages-list-unread-conversations" + ] + }, + "chat.shortcut_messages_mget": { + "agent_summary": "根据消息 ID 批量查询消息(最多 50 条)", + "use_when": [ + "当你已有一批消息 openMsgId、需要批量取回它们的详细内容时使用;只读,一次最多查询 50 条。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-mget --msg-ids msgId1,msgId2" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_mget", + "cobra-help:dws chat +messages-mget", + "ShortcutRegistry:chat +messages-mget" + ] + }, + "chat.shortcut_messages_query_send_status": { + "agent_summary": "查询消息发送状态", + "use_when": [ + "当你发消息后拿到 openTaskId、想确认这条消息是否发送成功时使用;只读返回发送状态,需传 --open-task-id。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-query-send-status --open-task-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_query_send_status", + "cobra-help:dws chat +messages-query-send-status", + "ShortcutRegistry:chat +messages-query-send-status" + ] + }, + "chat.shortcut_messages_read_status": { + "agent_summary": "查询消息的已读/未读状态", + "use_when": [ + "当你想知道自己发出的某条消息有哪些人已读/未读时使用;只读,需传会话 openConversationId 和该消息 openMessageId,可指定目标成员列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-read-status --conversation-id --message-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_read_status", + "cobra-help:dws chat +messages-read-status", + "ShortcutRegistry:chat +messages-read-status" + ] + }, + "chat.shortcut_messages_update_card": { + "agent_summary": "流式更新卡片内容(最后一次 --flow-status 应为 3)", + "use_when": [ + "当你要向已发送的流式卡片持续追加/更新内容时使用;会实际更新卡片,需传 send-card 返回的 bizId、新内容及 flowStatus(最后一次应为 3 表示完成)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-update-card --biz-id --content \"内容\" --flow-status 3" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_update_card", + "cobra-help:dws chat +messages-update-card", + "ShortcutRegistry:chat +messages-update-card" + ] + }, + "chat.shortcut_messages_list_pin": { + "agent_summary": "拉取会话中钉住的消息列表", + "use_when": [ + "当你想查看某会话里当前钉住的消息有哪些时使用;只读分页返回,需传会话 openConversationId。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +messages-list-pin --open-conversation-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_messages_list_pin", + "cobra-help:dws chat +messages-list-pin", + "ShortcutRegistry:chat +messages-list-pin" + ] + }, + "chat.shortcut_at_me": { + "agent_summary": "查最近 @我 的消息(自动算时间窗,投影发送人/时间/内容/会话)", + "use_when": [ + "当你想快速看回最近谁在群里或单聊里 @了你、但不想手动把起止时间换算成毫秒、也不想记 list-mentions 的一堆参数时使用;内部按本地时区算出「最近 N 天」(默认 7 天,可用 --days 调整回溯天数)的时间窗,搜索这段时间内 @我 的消息,再在本地把每条消息投影成发送人、时间、内容、所在会话四个关键字段。这是纯只读操作,只做搜索与本地投影,不会发送、撤回或标记任何消息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +at-me", + "dws chat +at-me --days 3" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_at_me", + "cobra-help:dws chat +at-me", + "ShortcutRegistry:chat +at-me" + ] + }, + "chat.shortcut_broadcast": { + "agent_summary": "按姓名逐一给多个人群发同一条单聊消息(自动解析 userId、逐个发送)", + "use_when": [ + "当你想把同一条通知一次性单聊发给多位同事、但只知道他们的姓名不想逐个查 userId 时使用;内部把姓名列表逐个解析成唯一用户后,用 openDingTalkId 对每个人单独发一条单聊消息,并汇总成功/失败人数。某个姓名匹配不到人或匹配到多人时,会跳过该人并在结尾报出,不影响其他人收到消息。会真实发出多条消息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +broadcast --to \"张三,李四,王五\" --text \"今晚 8 点上线,请留意\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_broadcast", + "cobra-help:dws chat +broadcast", + "ShortcutRegistry:chat +broadcast" + ] + }, + "chat.shortcut_dm": { + "agent_summary": "按姓名直接给某人发单聊消息(自动解析 userId)", + "use_when": [ + "当你只知道对方姓名、想直接发一条单聊消息而不想先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,并用其 openDingTalkId 发送,姓名匹配到多人时会列出候选让你区分。会真实发出消息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +dm --to 张三 --text \"周报发我一下\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_dm", + "cobra-help:dws chat +dm", + "ShortcutRegistry:chat +dm" + ] + }, + "chat.shortcut_group_members": { + "agent_summary": "按群名列出群成员(自动搜群解析 openConversationId)", + "use_when": [ + "当你只知道群的名字、想看看这个群里有哪些成员,而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId,再拉取该群的成员列表。群名匹配到多个群时会列出候选让你区分、绝不自行假定。只读,不改动任何数据。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +group-members --group 项目冲刺" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_group_members", + "cobra-help:dws chat +group-members", + "ShortcutRegistry:chat +group-members" + ] + }, + "chat.shortcut_my_groups": { + "agent_summary": "列出我加入的群,可按类型过滤并投影关键字段", + "use_when": [ + "当你想快速看一眼自己都加入了哪些群、以及每个群的会话ID、名称、群主和人数,而不想翻分页或盯着原始返回时使用;内部分页拉取你加入的群列表,把每个群防御式地投影成 会话id / 名称 / 群主 / 人数 / 类型 等关键字段,输出成干净的结果。可选 --type 在本地按群类型过滤(底层接口本身不带类型参数,故为客户端过滤)。这是只读操作,不会改动任何群或成员关系。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +my-groups", + "dws chat +my-groups --type group" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_my_groups", + "cobra-help:dws chat +my-groups", + "ShortcutRegistry:chat +my-groups" + ] + }, + "chat.shortcut_send_to_group": { + "agent_summary": "按群名直接给群发消息(自动搜群解析 openConversationId)", + "use_when": [ + "当你只知道群的名字、想直接往这个群里发一条消息而不想先手动查群 ID 时使用;内部先按群名搜索群聊解析出唯一 openConversationId 再发送,群名匹配到多个群时会列出候选让你区分、绝不自行假定。会真实发出群消息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +send-to-group --group 项目冲刺 --text \"今天 5 点前提交进度\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_send_to_group", + "cobra-help:dws chat +send-to-group", + "ShortcutRegistry:chat +send-to-group" + ] + }, + "chat.shortcut_unread_chats": { + "agent_summary": "列出我有未读消息的会话(投影会话名/未读数/会话ID)", + "use_when": [ + "当你想快速看清自己当前有哪些会话还有未读消息、方便逐个处理时使用;内部调用未读会话列表接口,可用 --count 控制返回的会话条数(不传则用服务端默认值),用 --exclude-muted 排除你已设置免打扰的会话;再在本地把每个会话投影成会话名、未读数和会话 ID 三个关键字段。这是纯只读操作,只做列表与本地投影,不会把任何会话标记为已读或未读;若没有未读会话则返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws chat +unread-chats", + "dws chat +unread-chats --count 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#chat.shortcut_unread_chats", + "cobra-help:dws chat +unread-chats", + "ShortcutRegistry:chat +unread-chats" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/contact.json b/internal/cli/schema_hints/selection/contact.json index 533e8f61..6d364e9a 100644 --- a/internal/cli/schema_hints/selection/contact.json +++ b/internal/cli/schema_hints/selection/contact.json @@ -431,6 +431,272 @@ "Wukong-parity:3306c3307", "live-dws-schema:contact.self_user_profile_update#FAILED" ] + }, + "contact.shortcut_list_followings": { + "agent_summary": "获取当前用户的特别关注列表", + "use_when": [ + "当你想查看本人在通讯录里「特别关注」的联系人名单(例如常打交道的同事、上级)时使用;无需输入,返回关注对象的用户列表,可用于快速定位这些人的 userId 再发消息或排日程。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +list-followings" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_list_followings", + "cobra-help:dws contact +list-followings", + "ShortcutRegistry:contact +list-followings" + ] + }, + "contact.shortcut_search_user": { + "agent_summary": "按关键词搜索通讯录用户", + "use_when": [ + "当你只知道某人的姓名、花名或部分名字,需要把它解析成 userId 及部门等信息以便后续发消息、排日程或指派任务时使用;输入搜索关键词(--query),返回匹配的用户列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +search-user --query \"张三\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_search_user", + "cobra-help:dws contact +search-user", + "ShortcutRegistry:contact +search-user" + ] + }, + "contact.shortcut_search_mobile": { + "agent_summary": "按手机号搜索通讯录用户", + "use_when": [ + "当你手里只有某人的手机号、需要反查出对应的通讯录用户和 userId 时使用;输入手机号(--mobile),返回该手机号所属的用户信息,适合从电话或名片信息定位到具体员工。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +search-mobile --mobile 13800138000" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_search_mobile", + "cobra-help:dws contact +search-mobile", + "ShortcutRegistry:contact +search-mobile" + ] + }, + "contact.shortcut_list_roles": { + "agent_summary": "获取企业所有角色(标签)列表", + "use_when": [ + "当你想总览企业里都有哪些角色/员工标签(如「管理员」「财务」「销售」)及其角色 ID 时使用;无需输入,返回全量角色列表,常用于按角色圈定人群前先摸清有哪些角色可选。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +list-roles" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_list_roles", + "cobra-help:dws contact +list-roles", + "ShortcutRegistry:contact +list-roles" + ] + }, + "contact.shortcut_list_role_members": { + "agent_summary": "查询角色下的成员列表", + "use_when": [ + "当你已知某个角色 ID、想列出该角色(标签)下的全部成员以便群发通知或统计人群时使用;输入角色 ID(--id),返回该角色下的用户列表,通常先用 +search-role 拿到角色 ID 再调用。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +list-role-members --id 12345" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_list_role_members", + "cobra-help:dws contact +list-role-members", + "ShortcutRegistry:contact +list-role-members" + ] + }, + "contact.shortcut_list_sub_depts": { + "agent_summary": "查看指定部门的子部门", + "use_when": [ + "当你想逐层浏览组织架构、查看某个部门下一级的子部门时使用;输入父部门 ID(--dept,根部门为 1),返回其直属子部门列表,可用于自顶向下遍历部门树。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +list-sub-depts --dept 1" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_list_sub_depts", + "cobra-help:dws contact +list-sub-depts", + "ShortcutRegistry:contact +list-sub-depts" + ] + }, + "contact.shortcut_list_dept_members": { + "agent_summary": "查看部门成员(仅本部门,不含下级)", + "use_when": [ + "当你想列出一个或多个部门本级的员工(不含下级子部门)以便群发通知、统计或指派任务时使用;输入部门 ID 列表(--depts,逗号分隔),返回这些部门下的成员,如需含下级需自行遍历子部门。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +list-dept-members --depts 12345,67890" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_list_dept_members", + "cobra-help:dws contact +list-dept-members", + "ShortcutRegistry:contact +list-dept-members" + ] + }, + "contact.shortcut_by_mobile": { + "agent_summary": "按手机号查询某人的完整资料(自动解析 userId 后取详情)", + "use_when": [ + "当你只知道对方手机号、想一步拿到其完整资料(部门、职位、联系方式、是否管理员等)而不想先按手机号搜出 userId 再单独查详情时使用;内部先用手机号在通讯录里查出对应的 userId,若没有人绑定该手机号会明确报错,再用该 userId 取完整详情。这是纯只读操作,不会修改任何数据。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +by-mobile --mobile 13800138000" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_by_mobile", + "cobra-help:dws contact +by-mobile", + "ShortcutRegistry:contact +by-mobile" + ] + }, + "contact.shortcut_dept_members": { + "agent_summary": "按部门名列出部门成员(自动解析 deptId)", + "use_when": [ + "当你只知道某个部门的名称、想知道该部门里都有哪些成员时使用;内部先按部门名搜索出唯一的 deptId(匹配到 0 个或多个时不猜测,而是列出候选部门名与 deptId 让你选),再打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +dept-members --dept 技术部" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_dept_members", + "cobra-help:dws contact +dept-members", + "ShortcutRegistry:contact +dept-members" + ] + }, + "contact.shortcut_lookup": { + "agent_summary": "按姓名查询某人的完整资料(自动解析 userId 后取详情)", + "use_when": [ + "当你只知道对方姓名、想一步拿到其完整资料(部门、职位、联系方式等)而不想先搜 userId 再查详情时使用;内部先按姓名搜通讯录解析出唯一 userId,再取详情,姓名匹配到多人时会列出候选让你区分。只读操作。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +lookup --name 张三" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_lookup", + "cobra-help:dws contact +lookup", + "ShortcutRegistry:contact +lookup" + ] + }, + "contact.shortcut_org": { + "agent_summary": "按姓名查某人所在部门的详情(自动解析 userId 与 deptId)", + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门(部门ID、名称、人数)时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的详情。只读,不做任何修改。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +org --name 张三" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_org", + "cobra-help:dws contact +org", + "ShortcutRegistry:contact +org" + ] + }, + "contact.shortcut_resolve_dept": { + "agent_summary": "按名称搜索部门并解析出唯一 deptId(只读)", + "use_when": [ + "当你只知道某个部门的名称(或名称里的关键词)、想把它解析成可直接用于后续工具的 deptId 时使用;内部按 --name 关键词调用 search_dept_by_keyword 搜索部门,再在本地投影出每个候选的 deptId 和 name。如果只命中一个部门就直接返回它的 deptId;如果命中多个则列出全部候选让你消歧,绝不替你瞎猜;如果一个都没命中则提示未找到。这是纯只读操作,只做搜索与本地投影,不会修改任何部门,也不会列出部门成员。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +resolve-dept --name 技术部" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_resolve_dept", + "cobra-help:dws contact +resolve-dept", + "ShortcutRegistry:contact +resolve-dept" + ] + }, + "contact.shortcut_team": { + "agent_summary": "按姓名列出某人所在部门的成员(自动解析 userId 与 deptId)", + "use_when": [ + "当你只知道某位同事的姓名、想知道 TA 所在部门里都有哪些成员时使用;内部先按姓名解析出唯一 userId,再取 TA 的组织信息拿到主部门 deptId,最后打印该部门的直接成员列表(仅本部门,不递归下级部门)。只读,不做任何修改。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +team --name 张三" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_team", + "cobra-help:dws contact +team", + "ShortcutRegistry:contact +team" + ] + }, + "contact.shortcut_me": { + "agent_summary": "查看我自己的通讯录资料(姓名/userId/手机/部门/组织,干净投影)", + "use_when": [ + "当你(或 AI agent)需要知道「我是谁」——我自己的 userId、姓名、所在部门、组织、手机号,用于后续按名解析他人前先确定自己身份、或填充发起人信息时使用;内部调用零参数的 get_current_user_profile(永远是「我」,无需传姓名),再把冗长的原始资料投影成 {name,userId,mobile,dept,org,email} 几个关键字段。这是纯只读操作,不修改任何资料。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws contact +me" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#contact.shortcut_me", + "cobra-help:dws contact +me", + "ShortcutRegistry:contact +me" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/devapp.json b/internal/cli/schema_hints/selection/devapp.json new file mode 100644 index 00000000..ebbcd3e3 --- /dev/null +++ b/internal/cli/schema_hints/selection/devapp.json @@ -0,0 +1,391 @@ +{ + "version": 1, + "source": { + "kind": "explicit", + "name": "dws-agent-selection/devapp", + "repository": "DingTalk-Real-AI/dingtalk-workspace-cli", + "channel": "open-source", + "reviewed": true + }, + "tools": { + "devapp.shortcut_list": { + "agent_summary": "查询开放平台企业内部应用列表", + "use_when": [ + "当你要在开发者后台盘点或定位某个企业内部应用(例如按应用名、appKey、创建人或机器人名搜索,拿到其 unifiedAppId 以便后续查看详情、配置或发布)时使用;支持关键词过滤、排序和分页,返回应用列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +list" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_list", + "cobra-help:dws devapp +list", + "ShortcutRegistry:devapp +list" + ] + }, + "devapp.shortcut_get": { + "agent_summary": "查询开放平台企业内部应用详情", + "use_when": [ + "当你已知某应用的 unifiedAppId、需要查看它的完整配置信息(如名称、描述、图标、能力开关等)以便核对现状或作为修改前的依据时使用;输入 unifiedAppId,返回单个应用的详情。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +get --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_get", + "cobra-help:dws devapp +get", + "ShortcutRegistry:devapp +get" + ] + }, + "devapp.shortcut_create": { + "agent_summary": "创建开放平台企业内部应用", + "use_when": [ + "当你要在开放平台从零新建一个企业内部应用(H5/机器人等的载体)时使用;传入应用名称、可选描述与图标 mediaId,会实际创建出一个新应用并返回其 unifiedAppId 供后续配置。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +create --name " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_create", + "cobra-help:dws devapp +create", + "ShortcutRegistry:devapp +create" + ] + }, + "devapp.shortcut_update": { + "agent_summary": "修改开放平台企业内部应用基础信息", + "use_when": [ + "当你要改动一个已存在应用的基础信息(更名、改描述或换图标)时使用;指定 unifiedAppId 及要更新的字段,会实际写回并覆盖对应的应用基础资料。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +update --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_update", + "cobra-help:dws devapp +update", + "ShortcutRegistry:devapp +update" + ] + }, + "devapp.shortcut_delete": { + "agent_summary": "删除开放平台企业内部应用(不可逆)", + "use_when": [ + "当你确认要彻底废弃某个企业内部应用时使用;传入 unifiedAppId 会真实且不可逆地删除该应用及其配置,执行前务必确认无误。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +delete --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_delete", + "cobra-help:dws devapp +delete", + "ShortcutRegistry:devapp +delete" + ] + }, + "devapp.shortcut_enable": { + "agent_summary": "启用开放平台企业内部应用", + "use_when": [ + "当某个应用处于停用状态、你要让它重新生效可用时使用;传入 unifiedAppId 会实际将应用状态切换为启用。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +enable --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_enable", + "cobra-help:dws devapp +enable", + "ShortcutRegistry:devapp +enable" + ] + }, + "devapp.shortcut_disable": { + "agent_summary": "停用开放平台企业内部应用", + "use_when": [ + "当你要临时下线某个应用、让它对用户不可用又不删除时使用;传入 unifiedAppId 会实际将应用状态切换为停用,可日后再启用恢复。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +disable --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_disable", + "cobra-help:dws devapp +disable", + "ShortcutRegistry:devapp +disable" + ] + }, + "devapp.shortcut_webapp_get": { + "agent_summary": "查询网页应用配置", + "use_when": [ + "当你要查看某应用的网页(H5)能力现状,如移动端/PC 首页地址、管理后台地址等,以便核对或作为改配置前的参考时使用;输入 unifiedAppId,返回当前网页应用配置。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +webapp-get --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_webapp_get", + "cobra-help:dws devapp +webapp-get", + "ShortcutRegistry:devapp +webapp-get" + ] + }, + "devapp.shortcut_webapp_config": { + "agent_summary": "配置网页应用能力", + "use_when": [ + "当你要为应用开通或调整网页(H5)入口,如设置移动端/PC 端首页 URL、管理后台地址或页面类型时使用;指定 unifiedAppId 及相应地址,会实际写入该应用的网页应用配置。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +webapp-config --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_webapp_config", + "cobra-help:dws devapp +webapp-config", + "ShortcutRegistry:devapp +webapp-config" + ] + }, + "devapp.shortcut_permission_list": { + "agent_summary": "查询开放平台应用权限列表", + "use_when": [ + "当你要查看某应用已申请/可申请的 API 权限点及其授权状态(用于排查接口报权限错、或确认某 scopeValue 是否已开通)时使用;可按关键词、scopeValue、授权状态等过滤,返回权限点列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +permission-list --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_permission_list", + "cobra-help:dws devapp +permission-list", + "ShortcutRegistry:devapp +permission-list" + ] + }, + "devapp.shortcut_member_list": { + "agent_summary": "查询开放平台应用成员", + "use_when": [ + "当你要查看某应用有哪些成员及其角色(如谁是开发者/管理员),用于核对协作人员或权限归属时使用;输入 unifiedAppId,返回成员列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +member-list --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_member_list", + "cobra-help:dws devapp +member-list", + "ShortcutRegistry:devapp +member-list" + ] + }, + "devapp.shortcut_member_add": { + "agent_summary": "添加开放平台应用成员", + "use_when": [ + "当你要给某应用增加协作人员(如把某人加为开发者)时使用;传入 unifiedAppId、userId 列表和成员类型(如 DEVELOPER),会实际把这些人加入应用成员并赋予对应角色。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +member-add --unified-app-id --user-ids --member-type " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_member_add", + "cobra-help:dws devapp +member-add", + "ShortcutRegistry:devapp +member-add" + ] + }, + "devapp.shortcut_member_remove": { + "agent_summary": "移除开放平台应用成员", + "use_when": [ + "当某人离职或不再参与、你要取消其对应用的访问/协作权限时使用;传入 unifiedAppId、userId 列表和成员类型,会实际把这些人从应用成员中移除。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +member-remove --unified-app-id --user-ids --member-type " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_member_remove", + "cobra-help:dws devapp +member-remove", + "ShortcutRegistry:devapp +member-remove" + ] + }, + "devapp.shortcut_robot_get": { + "agent_summary": "查询现有应用的机器人配置", + "use_when": [ + "当你要查看某应用已有的机器人配置(名称、回调地址、模式 HTTPS/STREAM/AISKILL、技能等)以核对现状或作为改配置前的依据时使用;输入 unifiedAppId,返回当前机器人配置。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +robot-get --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_robot_get", + "cobra-help:dws devapp +robot-get", + "ShortcutRegistry:devapp +robot-get" + ] + }, + "devapp.shortcut_event_list": { + "agent_summary": "查询应用已订阅的事件列表", + "use_when": [ + "当你要确认某应用当前订阅了哪些事件回调(用于排查漏收事件、或退订前先查事件码)时使用;输入 unifiedAppId,可按事件码/名称关键词过滤并分页,返回已订阅事件列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +event-list --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_event_list", + "cobra-help:dws devapp +event-list", + "ShortcutRegistry:devapp +event-list" + ] + }, + "devapp.shortcut_version_list": { + "agent_summary": "分页查询应用版本列表", + "use_when": [ + "当你要查看某应用的历史版本(找某个 versionId、看各版本发布状态或回顾迭代记录)时使用;输入 unifiedAppId 并分页,返回版本列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +version-list --unified-app-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_version_list", + "cobra-help:dws devapp +version-list", + "ShortcutRegistry:devapp +version-list" + ] + }, + "devapp.shortcut_version_get": { + "agent_summary": "查询指定版本详情", + "use_when": [ + "当你已知某个 versionId、要查看该版本的具体内容(版本号、描述、包含的配置等)以核对发布内容时使用;输入 unifiedAppId 和 versionId,返回单个版本的详情。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +version-get --unified-app-id --version-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_version_get", + "cobra-help:dws devapp +version-get", + "ShortcutRegistry:devapp +version-get" + ] + }, + "devapp.shortcut_version_check_approval": { + "agent_summary": "预检版本发布是否需要审批(不实际发布)", + "use_when": [ + "当你在正式发布某版本前想先确认它是否会触发审批、是否含高敏权限等发布前置要求时使用;传入 unifiedAppId 和 versionId,仅做预检返回审批要求,不会真正发布。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +version-check-approval --unified-app-id --version-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_version_check_approval", + "cobra-help:dws devapp +version-check-approval", + "ShortcutRegistry:devapp +version-check-approval" + ] + }, + "devapp.shortcut_version_status": { + "agent_summary": "查询版本发布/审批状态", + "use_when": [ + "当你已提交发布、想跟进某版本当前处于什么阶段(审批中、已发布、被驳回等)时使用;输入 unifiedAppId 和 versionId,返回该版本的发布/审批状态。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws devapp +version-status --unified-app-id --version-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#devapp.shortcut_version_status", + "cobra-help:dws devapp +version-status", + "ShortcutRegistry:devapp +version-status" + ] + } + }, + "products": { + "devapp": { + "agent_summary": "管理钉钉开放平台企业内部应用、成员、权限、机器人、事件与版本", + "use_when": [ + "请求涉及企业内部应用的查询、创建、配置、成员权限、机器人、事件订阅或版本管理" + ], + "avoid_when": [ + "开放平台接口文档搜索使用 devdoc;普通钉钉业务数据使用对应产品命令" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the public devapp Shortcut surface; product routing does not alter command identity, parameters, or runtime safety.", + "source_refs": [ + "internal/cli/schema_command_registry.json", + "internal/shortcut/devapp", + "CommandRegistry:product=devapp" + ] + } + } +} diff --git a/internal/cli/schema_hints/selection/ding.json b/internal/cli/schema_hints/selection/ding.json index ee246350..b4600e9d 100644 --- a/internal/cli/schema_hints/selection/ding.json +++ b/internal/cli/schema_hints/selection/ding.json @@ -58,6 +58,82 @@ "skills/mono/references/products/ding.md", "live-dws-schema:ding.send_ding_message" ] + }, + "ding.shortcut_list": { + "agent_summary": "查询 DING 消息列表", + "use_when": [ + "当你想查看当前身份收到或发出的 DING 消息、回顾有哪些强提醒或获取某条 DING 的 openDingId 以便后续查已读或撤回时使用;可选按类型过滤并用 cursor 翻页,只读不产生副作用。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws ding +list" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#ding.shortcut_list", + "cobra-help:dws ding +list", + "ShortcutRegistry:ding +list" + ] + }, + "ding.shortcut_receiver_status": { + "agent_summary": "查询 DING 消息接收人已读状态", + "use_when": [ + "当你发出一条 DING 后想确认每位接收人是否已读、追踪谁还没看到以便催办时使用;需提供该 DING 的 openDingId,返回各接收人的已读/未读状态,只读操作。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws ding +receiver-status --ding-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#ding.shortcut_receiver_status", + "cobra-help:dws ding +receiver-status", + "ShortcutRegistry:ding +receiver-status" + ] + }, + "ding.shortcut_send_personal": { + "agent_summary": "以本人身份发送 DING 给指定人", + "use_when": [ + "当你想以自己(而非机器人)的身份直接给某些同事发 DING 强提醒,让对方看到是本人发起时使用;需提供接收人的 openDingTalkId 列表和内容,可选提醒方式与幂等 uuid,会真实向这些人发出 DING。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws ding +send-personal --users --content " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#ding.shortcut_send_personal", + "cobra-help:dws ding +send-personal", + "ShortcutRegistry:ding +send-personal" + ] + }, + "ding.shortcut_recall_personal": { + "agent_summary": "撤回本人发起的 DING", + "use_when": [ + "当你以本人身份发出的某条 DING 发错人或内容有误、想收回时使用(对应 send-personal/send-by-message 发出的 DING);需提供该 DING 的 openDingId,会真实撤回它,接收人将不再看到该提醒。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws ding +recall-personal --id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#ding.shortcut_recall_personal", + "cobra-help:dws ding +recall-personal", + "ShortcutRegistry:ding +recall-personal" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/doc.json b/internal/cli/schema_hints/selection/doc.json index 9133545c..345b2413 100644 --- a/internal/cli/schema_hints/selection/doc.json +++ b/internal/cli/schema_hints/selection/doc.json @@ -896,6 +896,334 @@ "structured-hint:internal/cli/schema_hints/products/doc.json", "live-mcp:dws schema doc.save_doc_version" ] + }, + "doc.shortcut_search": { + "agent_summary": "按关键词搜索有权限的文档 (不传则返回最近访问)", + "use_when": [ + "当你只记得文档的标题或主题词、需要先定位到某篇钉钉文档拿到它的 nodeId/URL 以便后续阅读或编辑时使用;可按关键词、扩展名、创建/访问时间、创建者等条件过滤,不传关键词则返回最近访问的文档,返回匹配的文档列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +search --query \"会议纪要\"", + "dws doc +search --extensions pdf,docx" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_search", + "cobra-help:dws doc +search", + "ShortcutRegistry:doc +search" + ] + }, + "doc.shortcut_list": { + "agent_summary": "列出文件夹或知识库下的直接子节点", + "use_when": [ + "当你已知某个文档文件夹或知识库的 ID、想浏览它下面直接包含的文档与子文件夹(不递归深层)以便逐层导航时使用;输入 folder 或 workspace,返回该层级的子节点列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +list --folder DOC_FOLDER_NODE_ID", + "dws doc +list --workspace WS_ID --limit 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_list", + "cobra-help:dws doc +list", + "ShortcutRegistry:doc +list" + ] + }, + "doc.shortcut_copy": { + "agent_summary": "复制文档/文件到指定文件夹或知识库", + "use_when": [ + "当你想保留原件、在另一个文件夹或知识库里生成一份文档/文件副本(例如以某篇文档为模板另存)时使用;输入源 node 与目标 folder/workspace,会实际创建一个副本。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +copy --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_copy", + "cobra-help:dws doc +copy", + "ShortcutRegistry:doc +copy" + ] + }, + "doc.shortcut_move": { + "agent_summary": "移动文档/文件到指定文件夹或知识库", + "use_when": [ + "当你要整理文档归属、把某篇文档/文件从当前位置挪到另一个文件夹或知识库(原位置不再保留)时使用;输入 node 与目标 folder/workspace,会实际改变文件的存放位置。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +move --node DOC_ID --folder TARGET_FOLDER_NODE_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_move", + "cobra-help:dws doc +move", + "ShortcutRegistry:doc +move" + ] + }, + "doc.shortcut_comment_list": { + "agent_summary": "查询文档评论列表", + "use_when": [ + "当你想查看某篇文档上已有的评论、了解有哪些反馈或待处理意见(可按全文/划词、已解决/未解决过滤)时使用;输入 node,返回评论列表及其 commentKey 以便后续回复。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +comment-list --node DOC_ID", + "dws doc +comment-list --node DOC_ID --type inline --resolve-status unresolved" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_comment_list", + "cobra-help:dws doc +comment-list", + "ShortcutRegistry:doc +comment-list" + ] + }, + "doc.shortcut_comment_create": { + "agent_summary": "在文档上创建一条评论", + "use_when": [ + "当你想对整篇文档留一条全文评论、给出反馈或 @ 相关同事时使用;输入 node 与评论 content(可带 mention),会实际在文档上发布一条新评论。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +comment-create --node DOC_ID --content \"这里需要修改\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_comment_create", + "cobra-help:dws doc +comment-create", + "ShortcutRegistry:doc +comment-create" + ] + }, + "doc.shortcut_comment_reply": { + "agent_summary": "回复文档中的一条评论", + "use_when": [ + "当你要针对某条已有评论进行回复、参与讨论或用表情贴图回应时使用;先从评论列表拿到 comment-key,再输入 node、comment-key 与 content(--emoji 则作为表情回复),会实际发布一条回复。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +comment-reply --node DOC_ID --comment-key COMMENT_KEY --content \"同意\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_comment_reply", + "cobra-help:dws doc +comment-reply", + "ShortcutRegistry:doc +comment-reply" + ] + }, + "doc.shortcut_export_submit": { + "agent_summary": "提交在线文档导出任务 (docx/markdown/pdf),返回 jobId", + "use_when": [ + "当你想把在线文档导出成 docx/markdown/pdf 文件(例如离线保存或外发)时使用;这是异步任务的第一步,输入 node 与 export-format 提交导出,返回 jobId,随后用 +export-get 轮询结果。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +export-submit --node DOC_ID --export-format markdown" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_export_submit", + "cobra-help:dws doc +export-submit", + "ShortcutRegistry:doc +export-submit" + ] + }, + "doc.shortcut_export_get": { + "agent_summary": "根据 jobId 查询文档导出任务结果", + "use_when": [ + "当你已用 +export-submit 提交了导出任务、想查询它是否完成并拿到导出文件的下载链接时使用;输入上一步返回的 job-id,返回任务状态与结果。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +export-get --job-id JOB_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_export_get", + "cobra-help:dws doc +export-get", + "ShortcutRegistry:doc +export-get" + ] + }, + "doc.shortcut_version_save": { + "agent_summary": "手动保存文档版本快照", + "use_when": [ + "当你在做重大改动前后、想手动打一个可回滚的版本存档点时使用;输入 node,会实际为该文档保存一个当前内容的历史版本快照。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +version-save --node DOC_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_version_save", + "cobra-help:dws doc +version-save", + "ShortcutRegistry:doc +version-save" + ] + }, + "doc.shortcut_version_list": { + "agent_summary": "查看文档历史版本列表", + "use_when": [ + "当你想查看某篇文档有哪些历史版本、以便挑一个版本号用于回滚时使用;输入 node,返回历史版本列表及其版本号。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +version-list --node DOC_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_version_list", + "cobra-help:dws doc +version-list", + "ShortcutRegistry:doc +version-list" + ] + }, + "doc.shortcut_version_revert": { + "agent_summary": "回滚文档到指定历史版本", + "use_when": [ + "当文档被误改、你想把它整体恢复到某个历史版本时使用;先用 +version-list 找到目标版本号,再输入 node 与 version,会实际把文档内容覆盖回该版本,属于高风险写操作,需谨慎确认。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +version-revert --node DOC_ID --version 3" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_version_revert", + "cobra-help:dws doc +version-revert", + "ShortcutRegistry:doc +version-revert" + ] + }, + "doc.shortcut_template_list": { + "agent_summary": "获取文档模板列表", + "use_when": [ + "当你想基于模板新建文档、需要先浏览可用的模板(自己的 MY 或公共 PUBLIC)并拿到 templateId 时使用;返回模板列表,随后可配合 +template-apply 套用。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +template-list --source PUBLIC" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_template_list", + "cobra-help:dws doc +template-list", + "ShortcutRegistry:doc +template-list" + ] + }, + "doc.shortcut_template_search": { + "agent_summary": "根据关键词搜索文档模板", + "use_when": [ + "当模板较多、你想按关键词(如“周报”“合同”)快速找到合适的模板并拿到 templateId 时使用;输入 query,返回匹配的模板列表,随后可配合 +template-apply 套用。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +template-search --query \"周报\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_template_search", + "cobra-help:dws doc +template-search", + "ShortcutRegistry:doc +template-search" + ] + }, + "doc.shortcut_doc_append": { + "agent_summary": "在文档末尾追加一段文本(安全追加,不改动原有内容)", + "use_when": [ + "当你只想往一篇钉钉文档的最后面补一段文字、又不想动原有内容时使用;内部用文档更新的“追加(append)”模式,把你给的文本安全地拼到文档末尾,不需要你先去查文档块列表、算末尾位置或手工拼块结构。会真实写入文档内容。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +doc-append --doc DOC_ID --text \"补充说明:本方案已评审通过。\"", + "dws doc +doc-append --doc \"https://alidocs.dingtalk.com/i/nodes/\" --text \"追加一行备注\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_doc_append", + "cobra-help:dws doc +doc-append", + "ShortcutRegistry:doc +doc-append" + ] + }, + "doc.shortcut_find_doc": { + "agent_summary": "按关键词搜索云文档并投影关键字段(只读)", + "use_when": [ + "当你只记得云文档标题或内容里的某个关键词,想快速按关键词找到匹配的文档、拿到它的标题、URL、类型和 token 以便后续查看或编辑,却不想拿到一大坨原始字段时使用;内部调用云文档的 search_documents 工具,把 --query 作为搜索关键词(keyword),可选地用 --limit 限制返回条数(pageSize),再在本地把每条命中结果精简为「标题、URL、类型、token」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、修改或删除任何文档;未命中时提示「没搜到文档」。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +find-doc --query 季度汇报", + "dws doc +find-doc --query 合同 --limit 10" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_find_doc", + "cobra-help:dws doc +find-doc", + "ShortcutRegistry:doc +find-doc" + ] + }, + "doc.shortcut_share_doc": { + "agent_summary": "按姓名把文档链接私信发给某人(自动解析 userId)", + "use_when": [ + "当你手上已经有一个文档链接、想直接私信发给某个人而不必先查 userId 时使用;内部先按姓名搜通讯录解析出唯一用户,再用 openDingTalkId 把链接拼成一条 Markdown 消息发出去,姓名匹配到多人时会列出候选让你区分。只发链接、不读取或改动文档本身,会真实发出消息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws doc +share-doc --to 张三 --url https://docs.dingtalk.com/xxx --note \"帮忙过一下\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#doc.shortcut_share_doc", + "cobra-help:dws doc +share-doc", + "ShortcutRegistry:doc +share-doc" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/drive.json b/internal/cli/schema_hints/selection/drive.json index 843066dc..9b65af9e 100644 --- a/internal/cli/schema_hints/selection/drive.json +++ b/internal/cli/schema_hints/selection/drive.json @@ -621,6 +621,142 @@ "structured-hint:internal/cli/schema_hints/products/drive.json", "live-mcp:none (Cobra+Skill; composite/unpinned)" ] + }, + "drive.shortcut_info": { + "agent_summary": "获取钉盘文件/文件夹元数据", + "use_when": [ + "当你已经知道某个节点的 dentryUuid、想查看它的详细信息(名称、大小、类型、创建/修改时间、所属空间等)而不是仅列表概览时使用;输入 node(节点 ID),返回该单个文件或文件夹的完整元数据。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +info --node " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_info", + "cobra-help:dws drive +info", + "ShortcutRegistry:drive +info" + ] + }, + "drive.shortcut_search": { + "agent_summary": "搜索钉盘文件", + "use_when": [ + "当你只记得文件名或内容关键词、不知道它在哪个目录时用它全局检索钉盘文件;输入 query,可按文件类型、扩展名、创建者、创建/修改时间范围过滤,返回匹配文件及其 ID,便于再做下载或整理。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +search --query \"季度汇报\"", + "dws drive +search --query \"合同\" --target file --extensions pdf,docx" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_search", + "cobra-help:dws drive +search", + "ShortcutRegistry:drive +search" + ] + }, + "drive.shortcut_search_docs": { + "agent_summary": "搜索文档空间文档", + "use_when": [ + "当你只记得文档标题或关键词、想在文档空间/知识库中检索在线文档(区别于 +search 检索钉盘文件)时使用;输入 query 关键词,返回匹配的文档及其节点信息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +search-docs --query \"季度汇报\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_search_docs", + "cobra-help:dws drive +search-docs", + "ShortcutRegistry:drive +search-docs" + ] + }, + "drive.shortcut_copy": { + "agent_summary": "复制文件/文档到指定位置", + "use_when": [ + "当你想保留原件、把某个文件/文档拷贝一份到指定文件夹或知识库时使用;输入源节点 node 及目标 folder/workspace,会实际生成一个副本,原文件位置不变。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +copy --node --folder " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_copy", + "cobra-help:dws drive +copy", + "ShortcutRegistry:drive +copy" + ] + }, + "drive.shortcut_move": { + "agent_summary": "移动文件/文档到指定位置", + "use_when": [ + "当你要把某个文件/文档从当前位置转移到另一个文件夹或知识库(整理归档、调整目录结构)时使用;输入源节点 node 及目标 folder/workspace,会实际改变文件所在位置,原位置不再保留该文件。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +move --node --folder " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_move", + "cobra-help:dws drive +move", + "ShortcutRegistry:drive +move" + ] + }, + "drive.shortcut_recent": { + "agent_summary": "获取最近访问/编辑的文档列表", + "use_when": [ + "当你想快速找回「我最近看过/改过的那个文档」而不记得它放在哪时使用;可按操作类型(最近访问/最近编辑)和创建人(全部/我创建/他人创建)过滤,返回近期文档列表及其节点信息。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +recent", + "dws drive +recent --operate-type 1 --creator-type 1" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_recent", + "cobra-help:dws drive +recent", + "ShortcutRegistry:drive +recent" + ] + }, + "drive.shortcut_find_file": { + "agent_summary": "按名称关键词搜索钉盘文件并投影关键字段(只读)", + "use_when": [ + "当你只记得钉盘文件的名字(或其中一部分),想快速按文件名关键词找到它、拿到它的 dentryId 以便后续下载/查看,却不想手动翻目录或写复杂过滤条件时使用;内部调用钉盘的 search_files 工具,把 --query 作为文件名关键词(keyword) 并限定搜索范围为钉盘文件(searchTarget=file),再在本地把每条命中结果精简为「文件名、类型、dentryId、大小」四个字段后打印。这是纯只读操作,只做搜索与本地投影,不会创建、移动或删除任何文件;未命中时返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws drive +find-file --query 季度汇报", + "dws drive +find-file --query 合同" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#drive.shortcut_find_file", + "cobra-help:dws drive +find-file", + "ShortcutRegistry:drive +find-file" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/mail.json b/internal/cli/schema_hints/selection/mail.json index 44c89df1..4da926f7 100644 --- a/internal/cli/schema_hints/selection/mail.json +++ b/internal/cli/schema_hints/selection/mail.json @@ -638,6 +638,201 @@ "skills/mono/SKILL.md", "skills/mono/references/products/mail.md" ] + }, + "mail.shortcut_thread_list": { + "agent_summary": "列出指定邮箱文件夹下的邮件会话(thread)", + "use_when": [ + "当你想按会话(同一往来主题的邮件串)而非单封邮件来浏览某个文件夹时使用;传入邮箱和文件夹 ID,可按时间范围和升降序筛选,返回会话列表及其 conversationId,供 +thread 查看详情。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +thread-list --email user@company.com --folder 104 --limit 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_thread_list", + "cobra-help:dws mail +thread-list", + "ShortcutRegistry:mail +thread-list" + ] + }, + "mail.shortcut_folder_list": { + "agent_summary": "列出顶层文件夹或指定父文件夹下的子文件夹", + "use_when": [ + "当你需要了解某个邮箱有哪些文件夹、或要取得文件夹 ID 以便移动邮件、按文件夹列信/建规则时使用;传入邮箱(可选父文件夹 ID 查子级),返回文件夹列表及其 ID。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +folder-list --email user@company.com" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_folder_list", + "cobra-help:dws mail +folder-list", + "ShortcutRegistry:mail +folder-list" + ] + }, + "mail.shortcut_tag_list": { + "agent_summary": "列出指定邮箱下的所有邮件标签", + "use_when": [ + "当你要查看邮箱里有哪些标签、或需要取得标签 ID 以便给邮件/会话加标签时使用;传入邮箱地址,返回全部邮件标签及其 ID。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +tag-list --email user@company.com" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_tag_list", + "cobra-help:dws mail +tag-list", + "ShortcutRegistry:mail +tag-list" + ] + }, + "mail.shortcut_user_search": { + "agent_summary": "按关键词或工号搜索邮箱用户(仅企业邮箱)", + "use_when": [ + "当你只知道同事的姓名或工号、需要查出其企业邮箱地址以便发信或添加联系人时使用;提供关键词或工号(至少其一),返回匹配的企业邮箱用户列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +user-search --keyword \"张三\"", + "dws mail +user-search --email user@company.com --employee-no \"E123456\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_user_search", + "cobra-help:dws mail +user-search", + "ShortcutRegistry:mail +user-search" + ] + }, + "mail.shortcut_template_list": { + "agent_summary": "列出指定邮箱的所有邮件模板", + "use_when": [ + "当你想查看某个邮箱下已有哪些邮件模板、或需要取得模板 ID 以便查看详情或更新时使用;传入邮箱和每页数量,返回模板列表,支持分页。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +template-list --email user@company.com --limit 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_template_list", + "cobra-help:dws mail +template-list", + "ShortcutRegistry:mail +template-list" + ] + }, + "mail.shortcut_contact_list": { + "agent_summary": "列出指定邮箱的所有邮件联系人", + "use_when": [ + "当你想查看某邮箱通讯录里有哪些联系人、或需要取得联系人 ID 以便更新或删除时使用;传入邮箱和每页数量,返回联系人列表,支持分页。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +contact-list --email user@company.com --limit 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_contact_list", + "cobra-help:dws mail +contact-list", + "ShortcutRegistry:mail +contact-list" + ] + }, + "mail.shortcut_find_mail_user": { + "agent_summary": "按关键词搜索邮箱联系人并投影列表(姓名/昵称/邮箱/工号等)", + "use_when": [ + "当你只知道某人的姓名、花名或邮箱片段,想在企业邮箱通讯录里按关键词把匹配的邮箱用户找出来、并只看一份精简清单(姓名、昵称、邮箱地址、工号、职位、工作地)而不想拿到一大坨原始字段时使用;内部按 --query 关键词调用邮箱用户搜索,再在本地把每个匹配用户投影成整洁记录打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改任何数据;注意仅企业邮箱可用(个人邮箱如 xxx@dingtalk.com 会因无权限报错);若没有命中则提示「没搜到邮箱联系人」。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +find-mail-user --query \"张三\"", + "dws mail +find-mail-user --query alice --limit 10" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_find_mail_user", + "cobra-help:dws mail +find-mail-user", + "ShortcutRegistry:mail +find-mail-user" + ] + }, + "mail.shortcut_recent_mail": { + "agent_summary": "列出收件箱近期邮件会话并投影列表(主题/发件人/时间/threadId)", + "use_when": [ + "当你想快速看一眼自己邮箱里近期的邮件会话(收件箱线程/conversation),只需要一份精简清单(主题、发件人、最后修改时间、会话 threadId)、而不想翻完整正文或原始字段时使用;内部先确定要看的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再解析要看的文件夹——你可以用 --folder 指定文件夹 ID,不指定时自动定位收件箱——然后列出该文件夹下的近期会话,最后在本地把每条会话投影成 {subject, from, date, threadId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做列举与本地投影,不会修改、发送或删除任何邮件;若最近没有邮件则提示「最近没有邮件」。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +recent-mail", + "dws mail +recent-mail --limit 30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_recent_mail", + "cobra-help:dws mail +recent-mail", + "ShortcutRegistry:mail +recent-mail" + ] + }, + "mail.shortcut_search_mail": { + "agent_summary": "按 KQL 关键词搜索邮件并投影列表(主题/发件人/时间/messageId)", + "use_when": [ + "当你想按关键词(KQL 表达式,如 subject:周报、from:alice、hasAttachments:true、folderId:2 等)快速搜自己的邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要搜的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再执行邮件搜索,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会修改、发送或删除任何邮件;若没有命中则返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +search-mail --query \"subject:周报\"", + "dws mail +search-mail --query \"from:alice AND date>2025-06-01T00:00:00Z\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_search_mail", + "cobra-help:dws mail +search-mail", + "ShortcutRegistry:mail +search-mail" + ] + }, + "mail.shortcut_unread_mail": { + "agent_summary": "列出未读邮件并投影列表(主题/发件人/时间/messageId)", + "use_when": [ + "当你想快速看自己邮箱里有哪些未读邮件、并只看一份精简清单(主题、发件人、时间、邮件 messageId)而不想翻完整正文时使用;内部先确定要查的邮箱地址——你可以用 --email 指定,不指定时自动取你绑定的第一个邮箱——再用 KQL 过滤条件 isRead:false 搜索未读邮件,最后在本地把每封邮件投影成 {subject, from, date, messageId} 打印出来,可配合 --format/--jq/--fields。这是纯只读操作,只做搜索与本地投影,不会把邮件标记为已读,也不会修改、发送或删除任何邮件;若没有未读邮件则返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws mail +unread-mail", + "dws mail +unread-mail --email user@company.com" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#mail.shortcut_unread_mail", + "cobra-help:dws mail +unread-mail", + "ShortcutRegistry:mail +unread-mail" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/minutes.json b/internal/cli/schema_hints/selection/minutes.json index 7bbf155a..6ac2655b 100644 --- a/internal/cli/schema_hints/selection/minutes.json +++ b/internal/cli/schema_hints/selection/minutes.json @@ -688,6 +688,122 @@ "skills/mono/references/best_practices/07-minutes.md", "live-dws-schema:minutes.update_minutes_title" ] + }, + "minutes.shortcut_list_mine": { + "agent_summary": "查询我创建的听记列表", + "use_when": [ + "当你想找回自己发起或录制的某次听记(会议纪要),却只记得大概的标题关键字时使用;可按关键字筛选并分页,返回自己创建的听记列表及其 taskUuid,便于后续查看摘要、转写或待办。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws minutes +list-mine --query \"周会\" --limit 10" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#minutes.shortcut_list_mine", + "cobra-help:dws minutes +list-mine", + "ShortcutRegistry:minutes +list-mine" + ] + }, + "minutes.shortcut_list_shared": { + "agent_summary": "查询他人共享给我的听记列表", + "use_when": [ + "当你要找同事分享给你的会议听记、想快速定位别人共享过来的纪要时使用;可按关键字筛选并分页,返回他人共享给你的听记列表及 taskUuid。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws minutes +list-shared --limit 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#minutes.shortcut_list_shared", + "cobra-help:dws minutes +list-shared", + "ShortcutRegistry:minutes +list-shared" + ] + }, + "minutes.shortcut_list_all": { + "agent_summary": "查询我有权限访问的所有听记列表", + "use_when": [ + "当你不确定某条听记是自己创建还是别人共享、想在所有可访问的听记中一次性检索时使用;合并「我创建的」和「共享给我的」,按关键字筛选并分页返回全部有权限的听记及 taskUuid。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws minutes +list-all --query \"周会\" --limit 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#minutes.shortcut_list_all", + "cobra-help:dws minutes +list-all", + "ShortcutRegistry:minutes +list-all" + ] + }, + "minutes.shortcut_record_start": { + "agent_summary": "发起听记(开始录音)", + "use_when": [ + "当你要开始一场实时会议/通话的 AI 听记、立刻启动录音并生成一条新听记任务时使用;可选传入 AI 助理会话 ID,会真实发起录音,返回新建听记的 taskUuid 供后续暂停/恢复/结束。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws minutes +record-start --session-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#minutes.shortcut_record_start", + "cobra-help:dws minutes +record-start", + "ShortcutRegistry:minutes +record-start" + ] + }, + "minutes.shortcut_detail": { + "agent_summary": "一条命令聚合取一条妙记(听记)的多项产物(基础信息/摘要/关键词/逐字稿/待办)", + "use_when": [ + "当你已经有某条听记的 taskUuid,想在一次操作里同时拿到它的基础信息、AI 摘要、关键词、逐字稿和待办,而不想分别敲 4~5 个子命令再自己拼时使用;内部按 --artifacts 选择要拉的产物(默认全部:basic/summary/keywords/transcript/todos),逐个调用对应的原子工具并聚合成一个结果,某一项失败不会中断整体(会以错误字符串记录在该项下)。这是纯只读操作,不会修改听记;--direction 仅影响逐字稿排序(0=正序默认,1=倒序)。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws minutes +detail --id ", + "dws minutes +detail --id --artifacts summary,todos" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#minutes.shortcut_detail", + "cobra-help:dws minutes +detail", + "ShortcutRegistry:minutes +detail" + ] + }, + "minutes.shortcut_replace_batch": { + "agent_summary": "对一条妙记(听记)批量执行多组文字替换(原文=>替换)", + "use_when": [ + "当你要在同一条听记里一次性纠正多个词(如把多个错识别的人名/术语统一替换),而底层工具一次只能替换一组时使用;内部按多个 --pair \"原文=>替换\" 逐组调用替换工具,先在本地校验去重(同一个「原文」不能出现两次,避免两条规则互相打架),再逐组应用并聚合每组的成功/失败结果,某一组失败不会中断其余组。这是写操作,会实际修改听记文字内容,请确认 taskUuid 与替换规则无误。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws minutes +replace-batch --id --pair \"张三=>张三丰\"", + "dws minutes +replace-batch --id --pair \"Q2=>第二季度\" --pair \"PM=>产品经理\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#minutes.shortcut_replace_batch", + "cobra-help:dws minutes +replace-batch", + "ShortcutRegistry:minutes +replace-batch" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/oa.json b/internal/cli/schema_hints/selection/oa.json index a915e843..77b03835 100644 --- a/internal/cli/schema_hints/selection/oa.json +++ b/internal/cli/schema_hints/selection/oa.json @@ -359,6 +359,140 @@ "structured-hint:internal/cli/schema_hints/imported/wukong.json#oa.revoke_processInstance", "live-dws-schema:oa.revoke_processInstance" ] + }, + "oa.shortcut_list_pending": { + "agent_summary": "查询待我处理的审批(时间范围为 epoch 毫秒)", + "use_when": [ + "当你想知道自己当前有哪些审批还没处理、需要清理审批待办或按时间段/关键字盘点待审批单时使用;传入起止时间(epoch 毫秒,可选关键字与分页),返回待我审批的实例列表,是后续 +get 查详情、+approve/+reject 处理的入口。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +list-pending --start 1741536000000 --end 1741622399000 --query 报销" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_list_pending", + "cobra-help:dws oa +list-pending", + "ShortcutRegistry:oa +list-pending" + ] + }, + "oa.shortcut_list_forms": { + "agent_summary": "获取当前用户可见的审批表单列表", + "use_when": [ + "当你想浏览自己有权限发起哪些审批模板、或需要为 +list-initiated 等操作枚举 processCode 时使用;无需关键字,按游标分页返回当前用户可见的全部审批表单,适合不确定表单名称时先整体看一遍。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +list-forms --cursor 0 --limit 100" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_list_forms", + "cobra-help:dws oa +list-forms", + "ShortcutRegistry:oa +list-forms" + ] + }, + "oa.shortcut_search_forms": { + "agent_summary": "按关键字模糊搜索当前用户可见的审批表单", + "use_when": [ + "当你已知想找的审批大致名称(如「报销」「请假」)、想快速定位对应表单及其 processCode 时使用,比 +list-forms 全量列举更高效;传入关键字,返回名称或 processCode 匹配的表单,供后续 +list-initiated 按模板查询。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +search-forms --query 报销" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_search_forms", + "cobra-help:dws oa +search-forms", + "ShortcutRegistry:oa +search-forms" + ] + }, + "oa.shortcut_list_executed": { + "agent_summary": "获取当前用户已经处理过的审批单列表", + "use_when": [ + "当你想回顾自己历史上审批过(已同意/拒绝等)的单子、做复盘或查找某条已办审批时使用,区别于 +list-pending 的待办;按页码/关键字分页返回我已处理的审批单。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +list-executed --limit 20 --page 1 --query 报销" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_list_executed", + "cobra-help:dws oa +list-executed", + "ShortcutRegistry:oa +list-executed" + ] + }, + "oa.shortcut_list_submitted": { + "agent_summary": "获取当前用户已发起的审批单列表", + "use_when": [ + "当你想查看自己提交发起的审批单及其审批进度(如某笔报销/请假审到哪一步)时使用;按页码/关键字分页返回我发起的审批单,可据此决定是否 +revoke 撤销或催办。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +list-submitted --limit 20 --page 1 --query 报销" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_list_submitted", + "cobra-help:dws oa +list-submitted", + "ShortcutRegistry:oa +list-submitted" + ] + }, + "oa.shortcut_list_cc": { + "agent_summary": "获取抄送当前用户的审批单列表", + "use_when": [ + "当你想查看抄送给自己、需要知悉但无需审批的单子时使用;按页码/关键字分页返回抄送我的审批单列表,适合了解与自己相关但不用自己动手处理的审批动态。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +list-cc --limit 20 --page 1 --query 报销" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_list_cc", + "cobra-help:dws oa +list-cc", + "ShortcutRegistry:oa +list-cc" + ] + }, + "oa.shortcut_my_initiated": { + "agent_summary": "列出我发起(提交)的审批单据", + "use_when": [ + "当你想快速看清自己发起(提交)过哪些 OA 审批单据、方便跟进它们的进展时使用;内部直接拉取当前用户已发起的审批实例列表(等价于 dws oa approval list-submitted),再在本地把每条单据投影成标题、单号(businessId)、状态和审批实例 ID(processInstanceId) 四个关键字段。可用 --query 按关键字过滤、--page/--limit 翻页(默认第 1 页、每页 20 条)。这是纯只读操作,只做列表与本地投影,不会同意、拒绝、撤销或修改任何审批单据;若没有发起过审批则返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws oa +my-initiated", + "dws oa +my-initiated --query 报销" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#oa.shortcut_my_initiated", + "cobra-help:dws oa +my-initiated", + "ShortcutRegistry:oa +my-initiated" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/report.json b/internal/cli/schema_hints/selection/report.json index 4ba609d8..1b5a509f 100644 --- a/internal/cli/schema_hints/selection/report.json +++ b/internal/cli/schema_hints/selection/report.json @@ -172,6 +172,45 @@ "structured-hint:internal/cli/schema_hints/imported/wukong.json#report.get_template_details_by_name", "live-dws-schema:report.get_template_details_by_name" ] + }, + "report.shortcut_inbox_list": { + "agent_summary": "列出我收到的日报(按时间范围分页)", + "use_when": [ + "当你要查看下属或同事发给自己的日报周报、想在某个时间段内浏览或审阅收到的汇报时使用;输入起止时间(ISO-8601),可按发送人 staffId 过滤,分页返回收到的日报列表及其 reportId,供后续 +entry-get 读正文。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws report +inbox-list --start \"2026-03-10T00:00:00+08:00\" --end \"2026-03-10T23:59:59+08:00\" --cursor 0 --size 20" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#report.shortcut_inbox_list", + "cobra-help:dws report +inbox-list", + "ShortcutRegistry:report +inbox-list" + ] + }, + "report.shortcut_outbox_list": { + "agent_summary": "列出我发出的日报(可选时间/模版名过滤)", + "use_when": [ + "当你要回顾自己写过、提交过的日报周报,比如确认某天是否已交、找回历史汇报内容或统计提交情况时使用;可按创建/修改时间范围和模版名过滤,分页返回自己发出的日报列表及 reportId,供后续 +entry-get 查看正文。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws report +outbox-list --cursor 0 --size 20", + "dws report +outbox-list --cursor 0 --size 20 --template-name \"日报\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#report.shortcut_outbox_list", + "cobra-help:dws report +outbox-list", + "ShortcutRegistry:report +outbox-list" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/sheet.json b/internal/cli/schema_hints/selection/sheet.json index 2db91c19..1c063a6e 100644 --- a/internal/cli/schema_hints/selection/sheet.json +++ b/internal/cli/schema_hints/selection/sheet.json @@ -1591,6 +1591,44 @@ "skills/mono/references/products/sheet.md", "dws-schema-live:sheet.write_image" ] + }, + "sheet.shortcut_list_sheets": { + "agent_summary": "获取表格文档中全部工作表列表", + "use_when": [ + "当你拿到一个表格文档、想先了解它里面有哪些工作表(sheet)以及各自的 sheetId 时使用,通常作为读写具体数据前的第一步;传入表格文档 ID 或 URL,返回工作表清单。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws sheet +list-sheets --node NODE_ID" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#sheet.shortcut_list_sheets", + "cobra-help:dws sheet +list-sheets", + "ShortcutRegistry:sheet +list-sheets" + ] + }, + "sheet.shortcut_read": { + "agent_summary": "读取工作表指定范围的结构化单元格数据", + "use_when": [ + "当你需要按单元格逐格获取数据(含类型、公式或格式化值等结构化信息)以便程序处理时使用;传入表格与可选范围(A1 表示法,不传则全部),可指定取格式化值/原始值/公式,返回结构化单元格数组。若只想要纯文本可改用 +csv-get。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws sheet +read --node NODE_ID --sheet-id SHEET_ID --range \"A1:D10\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#sheet.shortcut_read", + "cobra-help:dws sheet +read", + "ShortcutRegistry:sheet +read" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/todo.json b/internal/cli/schema_hints/selection/todo.json index 4e8b005d..a01ea70c 100644 --- a/internal/cli/schema_hints/selection/todo.json +++ b/internal/cli/schema_hints/selection/todo.json @@ -525,6 +525,215 @@ "Wukong-parity:3306c3307", "live-dws-schema:todo.update_todo_tag#FAILED" ] + }, + "todo.shortcut_assign": { + "agent_summary": "按姓名给某人创建并指派一条待办(自动解析 userId)", + "use_when": [ + "当你想把一件事指派给某位同事、但只知道对方姓名不想先查 userId 时使用;内部先按姓名解析出唯一 userId,再创建待办并把 TA 设为执行人。会真实创建待办。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +assign --to 张三 --task \"整理周报\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_assign", + "cobra-help:dws todo +assign", + "ShortcutRegistry:todo +assign" + ] + }, + "todo.shortcut_assign_multi": { + "agent_summary": "把一条待办按姓名一次性指派给多个人(自动把每个姓名解析成 userId)", + "use_when": [ + "当你想把同一条待办同时指派给好几个同事、但手上只有他们的姓名而不是 userId 时使用;内部会把 --to 里的每个姓名逐个解析成唯一 userId,只要有任何一个姓名查不到或者重名有歧义,就把这些问题一次性汇总报错、并且完全不创建待办(不会建出只指派了一半人的残缺待办)。全部姓名都解析成功后,才用这些 userId 一次性创建这条待办并指派给所有人。会真实创建一条新的待办。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +assign-multi --to \"张三,李四\" --task \"周五前提交排期\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_assign_multi", + "cobra-help:dws todo +assign-multi", + "ShortcutRegistry:todo +assign-multi" + ] + }, + "todo.shortcut_created_todos": { + "agent_summary": "列出我创建的待办(我作为创建人 creator 发起的待办,而非分配给我执行的)", + "use_when": [ + "当你想快速看清『哪些待办是我自己创建/发起的』,而不是别人指派给我执行的待办时使用;内部拉取你当前组织下角色为创建人(creator)的待办列表(roleTypes=[\"creator\"],creator 是待办列表支持的角色枚举之一),再在本地把每条待办投影成标题(subject)、任务 ID(taskId) 和截止时间(dueTime) 打印出来。这是纯只读操作,只做列表与投影,不会创建或修改任何待办;若没有你创建的待办则返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +created-todos" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_created_todos", + "cobra-help:dws todo +created-todos", + "ShortcutRegistry:todo +created-todos" + ] + }, + "todo.shortcut_overdue": { + "agent_summary": "列出我已过期未完成的待办", + "use_when": [ + "当你想快速看清自己有哪些待办已经过了截止时间却还没做完、方便优先处理时使用;内部先拉取你当前组织下作为执行人(executor)的待办列表,再在本地按「有截止时间(dueTime) 且早于当前时刻 且尚未完成」的条件筛选,最后只打印这些逾期待办的标题(subject)、截止时间(dueTime) 和任务 ID(taskId)。这是纯只读操作,只做列表与本地过滤,不会修改或完成任何待办;若没有逾期待办则返回空列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +overdue" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_overdue", + "cobra-help:dws todo +overdue", + "ShortcutRegistry:todo +overdue" + ] + }, + "todo.shortcut_remind": { + "agent_summary": "给自己创建一条带截止/提醒时间的待办", + "use_when": [ + "当你想给自己记一件事、并(可选)设一个截止/提醒时间,又不想先查自己的 userId 时使用;内部先解析当前登录用户的 userId,再显式设置 executorIds,--at 会按 ISO8601 解析为截止时间。会真实创建待办。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +remind --task \"交周报\" --at 2026-03-10T18:00:00+08:00" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_remind", + "cobra-help:dws todo +remind", + "ShortcutRegistry:todo +remind" + ] + }, + "todo.shortcut_todo_done": { + "agent_summary": "按标题关键词把我的某条待办标记完成(自动定位 taskId)", + "use_when": [ + "当你只记得某条待办的标题关键词、想直接把它标记完成,却不想先翻列表复制 taskId 时使用;内部先拉取你当前组织下作为执行人的待办列表,按标题(subject)包含关键词匹配:没匹配到会提示「没找到匹配待办」,匹配到多条会列出候选(标题+taskId)让你写得更精确,唯一命中时才把它标记为已完成。这会真实修改待办完成状态。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +todo-done --task 周报" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_todo_done", + "cobra-help:dws todo +todo-done", + "ShortcutRegistry:todo +todo-done" + ] + }, + "todo.shortcut_get_my_tasks": { + "agent_summary": "查询当前组织下我的待办列表", + "use_when": [ + "当你想查看自己在当前组织下的待办清单、盘点未完成事项或按条件筛选任务时使用;可按完成状态、优先级、角色(创建者/执行者/参与者)和截止时间范围过滤并分页,返回匹配的待办列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +get-my-tasks --status false --priority 40,30" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_get_my_tasks", + "cobra-help:dws todo +get-my-tasks", + "ShortcutRegistry:todo +get-my-tasks" + ] + }, + "todo.shortcut_list_sub": { + "agent_summary": "查询子待办列表", + "use_when": [ + "当你已知某个待办任务 ID、想了解它被拆解出的所有子任务时使用;输入父任务 ID,返回其下的子待办列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +list-sub --task-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_list_sub", + "cobra-help:dws todo +list-sub", + "ShortcutRegistry:todo +list-sub" + ] + }, + "todo.shortcut_get": { + "agent_summary": "查询待办详情", + "use_when": [ + "当你已知某条待办的任务 ID、想查看它的完整信息(标题、执行者、截止时间、优先级、状态等)时使用;输入任务 ID,返回该待办的详细内容。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +get --task-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_get", + "cobra-help:dws todo +get", + "ShortcutRegistry:todo +get" + ] + }, + "todo.shortcut_list_attachment": { + "agent_summary": "查询待办任务的附件列表", + "use_when": [ + "当你想查看某条待办上挂了哪些附件、或需要拿到附件 ID 以便后续删除时使用;输入任务 ID,返回该待办的附件列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +list-attachment --task-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_list_attachment", + "cobra-help:dws todo +list-attachment", + "ShortcutRegistry:todo +list-attachment" + ] + }, + "todo.shortcut_list_comment": { + "agent_summary": "查询待办评论列表", + "use_when": [ + "当你想查看某条待办下的讨论记录、了解协作沟通历史或获取评论 ID 以便删除时使用;输入任务 ID 并可分页,返回该待办的评论列表。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws todo +list-comment --task-id " + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#todo.shortcut_list_comment", + "cobra-help:dws todo +list-comment", + "ShortcutRegistry:todo +list-comment" + ] } }, "products": { diff --git a/internal/cli/schema_hints/selection/wiki.json b/internal/cli/schema_hints/selection/wiki.json index 2c99434d..0758f0b2 100644 --- a/internal/cli/schema_hints/selection/wiki.json +++ b/internal/cli/schema_hints/selection/wiki.json @@ -354,6 +354,25 @@ "structured-hint:internal/cli/schema_hints/products/wiki.json", "live-mcp:dws schema wiki.update_member" ] + }, + "wiki.shortcut_space_search": { + "agent_summary": "搜索知识库", + "use_when": [ + "当你只记得知识库名称的部分关键词、想快速按名称定位某个知识库时使用;输入关键词返回匹配的知识库列表,比逐页 +space-list 更快找到目标 workspaceId。" + ], + "avoid_when": [ + "需要该 Shortcut 未公开的底层参数、原始响应或不同执行语义时,改用对应原子命令" + ], + "examples": [ + "dws wiki +space-search --query \"产品文档\"" + ], + "reviewed": true, + "review_reason": "Agent-authored and reviewed from the built-in Shortcut intent, executable Cobra path, and declared outcome; it affects selection only and does not alter execution or safety facts.", + "source_refs": [ + "internal/cli/schema_command_registry.json#wiki.shortcut_space_search", + "cobra-help:dws wiki +space-search", + "ShortcutRegistry:wiki +space-search" + ] } }, "products": { diff --git a/internal/shortcut/runner.go b/internal/shortcut/runner.go index c2e93b75..b5d3baf4 100644 --- a/internal/shortcut/runner.go +++ b/internal/shortcut/runner.go @@ -20,6 +20,7 @@ import ( "os" "strings" + "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/cli" apperrors "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/errors" "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/helpers" "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/output" @@ -219,6 +220,7 @@ func mount(s Shortcut) *cobra.Command { cmd.Example = " " + strings.Join(s.Tips, "\n ") } registerFlags(cmd, s.Flags) + annotateRuntimeSchemaContract(cmd, s) cmd.RunE = func(c *cobra.Command, _ []string) error { rt := &RuntimeContext{cmd: c, shortcut: s} @@ -244,6 +246,58 @@ func mount(s Shortcut) *cobra.Command { return cmd } +// annotateRuntimeSchemaContract projects the declarative shortcut invocation +// contract onto its real Cobra leaf. Stable identity still comes exclusively +// from the reviewed CommandRegistry; these annotations only preserve parameter +// and constraint facts that Cobra cannot represent by itself. +func annotateRuntimeSchemaContract(cmd *cobra.Command, s Shortcut) { + publicFlags := make(map[string]bool, len(s.Flags)) + requiredFlags := make([]string, 0) + for _, flag := range s.Flags { + if flag.Hidden { + continue + } + publicFlags[flag.Name] = true + if flag.Required { + requiredFlags = append(requiredFlags, flag.Name) + } + if len(flag.Enum) > 0 { + cli.AnnotateRuntimeFlagEnum(cmd, flag.Name, flag.Enum...) + } + } + + var constraints cli.RuntimeSchemaConstraints + for _, constraint := range s.Constraints { + flags := make([]string, 0, len(constraint.Flags)) + for _, flagName := range constraint.Flags { + if publicFlags[flagName] { + flags = append(flags, flagName) + } + } + switch constraint.Kind { + case ConstraintAtLeastOne: + if len(flags) == 1 { + requiredFlags = append(requiredFlags, flags[0]) + } else if len(flags) > 1 { + constraints.RequireOneOf = append(constraints.RequireOneOf, flags) + } + case ConstraintExactlyOne: + if len(flags) == 1 { + requiredFlags = append(requiredFlags, flags[0]) + } else if len(flags) > 1 { + constraints.RequireOneOf = append(constraints.RequireOneOf, flags) + constraints.MutuallyExclusive = append(constraints.MutuallyExclusive, flags) + } + case ConstraintMutuallyExclusive: + if len(flags) > 1 { + constraints.MutuallyExclusive = append(constraints.MutuallyExclusive, flags) + } + } + } + cli.AnnotateRuntimeRequiredFlags(cmd, requiredFlags...) + cli.AnnotateRuntimeConstraints(cmd, constraints) +} + // registerFlags declares each Flag on the command with its type/default/desc. func registerFlags(cmd *cobra.Command, flags []Flag) { for _, f := range flags { @@ -254,7 +308,11 @@ func registerFlags(cmd *cobra.Command, flags []Flag) { case FlagInt: cmd.Flags().Int(f.Name, atoiDefault(f.Default), desc) case FlagStringSlice: - cmd.Flags().StringSlice(f.Name, nil, desc) + var defaults []string + if value := strings.TrimSpace(f.Default); value != "" { + defaults = strings.Split(value, ",") + } + cmd.Flags().StringSlice(f.Name, defaults, desc) default: // FlagString and empty cmd.Flags().String(f.Name, f.Default, desc) } diff --git a/internal/shortcut/shortcut_test.go b/internal/shortcut/shortcut_test.go index 1c0a4c27..6c980c71 100644 --- a/internal/shortcut/shortcut_test.go +++ b/internal/shortcut/shortcut_test.go @@ -46,10 +46,27 @@ func TestCrossPlatformCoverageMountRegistersFlagsAndUse(t *testing.T) { Command: "+search-user", Description: "search", Flags: []Flag{ - {Name: "query", Type: FlagString, Required: true}, + {Name: "query", Type: FlagString, Required: true, Enum: []string{"name", "mobile"}}, {Name: "limit", Type: FlagInt, Default: "20"}, {Name: "verbose", Type: FlagBool}, - {Name: "ids", Type: FlagStringSlice}, + {Name: "ids", Type: FlagStringSlice, Default: "self,team"}, + {Name: "mode", Type: FlagString}, + {Name: "start", Type: FlagString}, + {Name: "end", Type: FlagString}, + }, + Constraints: []Constraint{ + { + Kind: ConstraintExactlyOne, + Flags: []string{"query", "ids"}, + }, + { + Kind: ConstraintAtLeastOne, + Flags: []string{"mode", "start"}, + }, + { + Kind: ConstraintMutuallyExclusive, + Flags: []string{"start", "end"}, + }, }, } cmd := mount(s) @@ -64,6 +81,53 @@ func TestCrossPlatformCoverageMountRegistersFlagsAndUse(t *testing.T) { if v, _ := cmd.Flags().GetInt("limit"); v != 20 { t.Errorf("limit default = %d, want 20", v) } + if v, _ := cmd.Flags().GetStringSlice("ids"); strings.Join(v, ",") != "self,team" { + t.Errorf("ids default = %#v, want [self team]", v) + } + query := cmd.Flags().Lookup("query") + if got := query.Annotations["dws.schema.required"]; len(got) != 1 || got[0] != "true" { + t.Fatalf("required annotation = %#v", got) + } + if got := query.Annotations["x-cli-enum"]; strings.Join(got, ",") != "name,mobile" { + t.Fatalf("enum annotation = %#v", got) + } + if raw := cmd.Annotations["dws.schema.constraints"]; raw != `{"mutually_exclusive":[["query","ids"],["start","end"]],"require_one_of":[["query","ids"],["mode","start"]]}` { + t.Fatalf("constraints annotation = %q", raw) + } +} + +func TestCrossPlatformCoverageSchemaConstraintCollapsesHiddenAliases(t *testing.T) { + cmd := mount(Shortcut{ + Service: "chat", + Command: "+search", + Flags: []Flag{ + {Name: "query", Type: FlagString}, + {Name: "keyword", Type: FlagString, Hidden: true}, + {Name: "id", Type: FlagString}, + {Name: "legacy-id", Type: FlagString, Hidden: true}, + }, + Constraints: []Constraint{ + { + Kind: ConstraintAtLeastOne, + Flags: []string{"query", "keyword"}, + }, + { + Kind: ConstraintExactlyOne, + Flags: []string{"id", "legacy-id"}, + }, + }, + }) + query := cmd.Flags().Lookup("query") + if got := query.Annotations["dws.schema.required"]; len(got) != 1 || got[0] != "true" { + t.Fatalf("collapsed public requirement annotation = %#v", got) + } + id := cmd.Flags().Lookup("id") + if got := id.Annotations["dws.schema.required"]; len(got) != 1 || got[0] != "true" { + t.Fatalf("collapsed exact-one requirement annotation = %#v", got) + } + if raw := cmd.Annotations["dws.schema.constraints"]; raw != "" { + t.Fatalf("hidden compatibility alias leaked into public Schema constraints: %q", raw) + } } func TestCrossPlatformCoverageAliasAndAIMessageTagHelpers(t *testing.T) { diff --git a/internal/shortcut/usage/command.go b/internal/shortcut/usage/command.go index 8190a14a..8ba5436c 100644 --- a/internal/shortcut/usage/command.go +++ b/internal/shortcut/usage/command.go @@ -46,8 +46,8 @@ func newListCommand() *cobra.Command { cmd := &cobra.Command{ Use: "list", Short: "列出内建 shortcut 及其完整参数契约", - Long: "列出独立于 Runtime Schema 的 shortcut catalog。每条记录包含公开参数、" + - "必填/枚举约束、跨参数约束与可执行示例;也可用 dws + --help 查看单条契约。", + Long: "列出内建 shortcut catalog。公开 shortcut 同时进入 Runtime Schema;本列表保留轻量批量发现," + + "leaf Schema 提供 Agent 选择、参数、约束、安全与接口契约,Cobra help 提供当前可执行 flags。", RunE: func(cmd *cobra.Command, _ []string) error { svc, _ := cmd.Flags().GetString("service") rows := make([]shortcutListRow, 0) @@ -62,7 +62,7 @@ func newListCommand() *cobra.Command { } return output.WriteCommandPayload(cmd, map[string]any{ "catalog": "shortcut", - "runtime_schema": false, + "runtime_schema": true, "count": len(rows), "shortcuts": rows, }, output.FormatJSON) diff --git a/internal/shortcut/usage/usage_test.go b/internal/shortcut/usage/usage_test.go index 7387e583..da9f56a3 100644 --- a/internal/shortcut/usage/usage_test.go +++ b/internal/shortcut/usage/usage_test.go @@ -14,6 +14,8 @@ package usage import ( + "bytes" + "encoding/json" "os" "reflect" "testing" @@ -21,6 +23,25 @@ import ( "github.com/DingTalk-Real-AI/dingtalk-workspace-cli/internal/shortcut" ) +func TestCrossPlatformCoverageShortcutListDeclaresRuntimeSchemaDelivery(t *testing.T) { + cmd := newListCommand() + var stdout bytes.Buffer + cmd.SetOut(&stdout) + cmd.SetArgs(nil) + if err := cmd.Execute(); err != nil { + t.Fatalf("execute shortcut list: %v", err) + } + var payload struct { + RuntimeSchema bool `json:"runtime_schema"` + } + if err := json.Unmarshal(stdout.Bytes(), &payload); err != nil { + t.Fatalf("decode shortcut list: %v", err) + } + if !payload.RuntimeSchema { + t.Fatal("shortcut list must advertise delivery through Runtime Schema") + } +} + func TestCrossPlatformCoverageShortcutListRowPublishesCompleteContract(t *testing.T) { row := newShortcutListRow(shortcut.Shortcut{ Service: "chat", diff --git a/scripts/gen_skill_shortcut_sections.py b/scripts/gen_skill_shortcut_sections.py index a6a908c4..79926c60 100644 --- a/scripts/gen_skill_shortcut_sections.py +++ b/scripts/gen_skill_shortcut_sections.py @@ -2,7 +2,7 @@ """Generate shortcut sections for DWS skills. The skill should teach agents which high-level shortcut entries are available -in the public catalog. `dws shortcut list` publishes their machine-readable +in the public catalog and Runtime Schema. Leaf Schema publishes the Agent contract, while leaf `--help` remains the source of truth for accepted flags. """ @@ -112,7 +112,7 @@ def product_section(service: str, rows: list[dict[str, Any]]) -> str: return f"""{PRODUCT_START} ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service {service} --format json` 读取参数、约束、风险和示例,并以 `dws {service} --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "{service} +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service {service} --format json` 批量发现;最后以 `dws {service} --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/mono/SKILL.md b/skills/mono/SKILL.md index a3ce5cb2..2724e805 100644 --- a/skills/mono/SKILL.md +++ b/skills/mono/SKILL.md @@ -9,7 +9,7 @@ cli_version: ">=1.0.15" 通过 `dws` 命令管理钉钉产品能力。 -> ⚠️ **命令可用性以当前 dws 二进制为准**。服务发现已下线,本文档随内置 skill 发布;如果 `dws --help` 不存在,说明当前版本未暴露该命令。`--help` 决定 Cobra 实际接受的 flags;基础命令的 leaf Schema 决定 Agent 选择、参数映射/约束和安全确认语义,`+` shortcut 则读取独立 shortcut catalog。若命令存在但调用失败,请按错误中的 endpoint 或 tool 提示确认静态端点目录和后端工具注册。实际调用前可用 `dws --help` 或 `--dry-run` 验证。 +> ⚠️ **命令可用性以当前 dws 二进制为准**。服务发现已下线,本文档随内置 skill 发布;如果 `dws --help` 不存在,说明当前版本未暴露该命令。`--help` 决定 Cobra 实际接受的 flags;公开基础命令和内建 `+` shortcut 的 leaf Schema 决定 Agent 选择、参数映射/约束和安全确认语义。若命令存在但调用失败,请按错误中的 endpoint 或 tool 提示确认静态端点目录和后端工具注册。实际调用前可用 `dws --help` 或 `--dry-run` 验证。 ## 严格禁止 (NEVER DO) - 不要使用 dws 命令以外的方式操作(禁止 curl、HTTP API、浏览器) @@ -29,7 +29,7 @@ cli_version: ">=1.0.15" `shortcut` 是对常用操作的高层封装,适合优先承担用户意图;产品参考文档和本 skill 负责判断意图、风险、跨产品流程和复杂参数,CLI 帮助负责声明当前版本真正可调用的命令。 - 先按产品参考、意图表和 recipe 路由。存在精确覆盖场景的专用脚本/recipe 时继续遵循“脚本优先”;否则用户意图可由可见 shortcut 满足时,优先使用 `dws + ... --format json`,不要手写等价的多步原子命令。 -- shortcut 有独立 catalog,按设计不进入 Runtime Schema。调用前用 `dws shortcut list --service --format json` 读取完整 flags、required/enum、跨参数 constraints、risk/confirmation 和 examples;不要对 `+` 路径调用 `dws schema`。 +- 公开内建 shortcut 同时进入 Runtime Schema。用 `dws schema --cli-path " +" --format json` 读取 Agent 选择、参数、跨参数约束、risk/confirmation 与接口语义;`dws shortcut list --service --format json` 只作为轻量批量发现入口。 - 真正组装参数前用叶子帮助 `dws + --help` 核对当前 Cobra 接受的 flags。父级 `dws --help` 只能发现子命令,不能替代叶子参数帮助。 - shortcut catalog 中 `confirmation=user_required` 时,必须先获得用户确认,确认后才加 `--yes`;`not_required` 不额外确认。 - 如果 shortcut 不在 help / list 中,改用产品参考里的原子命令、脚本或标准流程;不要猜测未展示的 `+` 命令。 @@ -182,7 +182,7 @@ Step 3 → 加 --yes 执行命令 `dws schema` 内嵌当前二进制公开命令面的结构化契约。**Agent 选择命令、读取参数映射/约束和安全语义时必须优先渐进查询 leaf Schema**;真正组装执行参数前,用 `--help` 确认当前 Cobra 接受的 flags: -本节适用于进入 Runtime Schema 的基础/原子命令。`+` shortcut 是明确例外:按“Shortcut 与原子命令的使用原则”读取 `dws shortcut list`,不得把 Schema lookup 失败误判为 shortcut 不可执行。 +本节同时适用于基础/原子命令与公开内建 `+` shortcut。用户自定义或未公开 shortcut 不进入发布 Schema;其是否可执行仍以当前 Cobra help 为准。 稳定 command identity、主 CLI path 和 alias 已在构建时由 reviewed registry 与真实 Cobra tree 精确绑定。Agent 不应读取 Catalog 文件、native annotation 或其他生成 JSON 来重新推断命令;所有运行时查询都以当前二进制交付的 Schema 投影为准。 @@ -281,7 +281,7 @@ Schema 与 Help 冲突是**契约漂移**,不得静默猜测或把两边字段 ## 详细参考 (按需读取) -- [references/products/](./references/products/) — 各产品命令详细参考(Cobra 接受的 flag 以叶子 `--help` 为准;基础命令的 Agent 映射/约束/安全语义以 leaf Schema 为准,shortcut 以独立 catalog 为准) +- [references/products/](./references/products/) — 各产品命令详细参考(Cobra 接受的 flag 以叶子 `--help` 为准;公开基础命令与内建 shortcut 的 Agent 映射/约束/安全语义以 leaf Schema 为准) - [references/intent-guide.md](./references/intent-guide.md) — 意图路由指南(易混淆场景对照) - [references/url-patterns.md](./references/url-patterns.md) — URL 格式规范 + alidocs URL 分流决策与类型探测流程(含钉盘 `document/edit|preview?dentryKey=` 链接) - [references/global-reference.md](./references/global-reference.md) — 全局标志、认证、输出格式 diff --git a/skills/mono/references/channel-login.md b/skills/mono/references/channel-login.md new file mode 100644 index 00000000..934ea197 --- /dev/null +++ b/skills/mono/references/channel-login.md @@ -0,0 +1,93 @@ +# 受控渠道与阿里巴巴组织登录 + +## 使用场景 + +在以下任一场景读取本参考: + +- 目标组织是阿里巴巴; +- 登录返回 `CHANNEL_REQUIRED`、`channel_not_allowed`、`enterprise_not_authorized` 或“应用暂不受信任”; +- 用户提到渠道码、`DWS_CHANNEL`、渠道白名单或渠道归因; +- 需要判断 `DWS_CHANNEL` 与 `DINGTALK_DWS_AGENTCODE` 的边界。 + +## 核心契约 + +- 将 `DWS_CHANNEL` 作为产品/分发渠道 `channelCode`。CLI 在登录权限检查和后续 MCP 请求中把它发送为 `x-dws-channel`。 +- 将 `DINGTALK_DWS_AGENTCODE` 作为执行 Agent 身份。两者是独立维度,禁止互相回填或复用。 +- 在受控渠道组织中,把 `DWS_CHANNEL` 同时加到 `auth login` 和每一条后续 `dws` 命令。只在单条命令作用域设置,禁止写入 shell profile 或对其他组织全局导出。 +- 仅使用与真实宿主/业务场景匹配的已登记渠道。禁止为了通过登录随机尝试其他渠道或伪装成别的产品。 +- 把静态 `channelCode` 视为公开路由标识,不视为密钥或可信归因凭证。长期方案必须由服务端校验宿主身份并签发短期、绑定组织和渠道的会话凭证。 + +## 当前本机映射 + +当前 Codex 中的 DWS skill/办公能力验证场景使用: + +| 项目 | 值 | +|---|---| +| 目标组织 | 阿里巴巴 | +| 稳定 profile | `dingd8e1123006514592:04061459256343` | +| 渠道 | EI智能体评测 | +| `DWS_CHANNEL` | `18451e165920b301ade00efae99b2c253e1e900b` | + +登录: + +```bash +DWS_CHANNEL='18451e165920b301ade00efae99b2c253e1e900b' \ + dws auth login \ + --profile 'dingd8e1123006514592:04061459256343' \ + --format json +``` + +后续命令: + +```bash +DWS_CHANNEL='18451e165920b301ade00efae99b2c253e1e900b' \ + dws \ + --profile 'dingd8e1123006514592:04061459256343' \ + --format json +``` + +2026-07-22 已用 CLI v1.0.54 验证:不带渠道码时阿里巴巴组织登录被拒;带上述渠道码后 OAuth 登录成功,随后 `minutes list all` 调用成功。 + +## 组织白名单 + +当前服务端渠道配置组织白名单: + +```text +793652894 +515819978 +21001 +``` + +该数字组织白名单属于服务端控制面,不等同于本地 `profile` 中的字符串 `corpId`。禁止自行推导两者的映射。 + +## 已登记渠道 + +下表来自 `availableChannels` 渠道目录,不代表任一组织实时返回的 `allowedChannels`。执行登录时仍以服务端组织策略为准。 + +| channelCodeTitle | channelCode | 适用宿主/业务 | +|---|---|---| +| QoderWork | `51d4ceade40174304fc591dbf17448aeebf50328` | 阿里云 qteam 桌面 Agent | +| Oneday | `2a4a658e467998befb7fa333c19ba2b3a3bacfa4` | 自然语言获取、加工并写回文档 | +| ei_shuziren_v1 | `17590d48d77f9b1ab47ec7d37c16d9ff513f96fb` | 集团业务线数字员工 | +| ideaLAB | `d3417efb28cf4b8dc0c074705e74eb6208f54154` | 企业级 Agent 构建与智能应用平台 | +| QoderWake | `a3f5d3f4ab8cb87a2a1c93cbf69c713dab11b16e` | 持久身份、长期记忆的数字员工 | +| AI-SOP | `1e54a489615d81b3a6815d1e99b22ea6358303fd` | 天猫国际运营 AI 助理 | +| AgentX | `394af5a87e1044dbbb52ad037f49e2b74bea8881` | 菜鸟 AI 供应链平台 | +| EI智能体评测 | `18451e165920b301ade00efae99b2c253e1e900b` | DWS 办公能力与 Agent 自动化评测 | +| it-digital-human | `49edc1b7679b8d9f804af345920adbbb9472f2a6` | IT 数字人 | +| Devix | `bc623574bfc80b76b642e35f676d42e1921ee6ef` | AONE AI Native 研发平台 | +| ai-lab-agent | `dbd7cf1fea014e6b1d22bfbd179d00b6523b0e39` | 企业发展 Web Agent | +| Otter | `d7b20e3e1a154102deb2cf4b785c9b86aecbed83` | 淘天数据平台 OtterAgent | +| leto-dws | `ea51a28080a83b7466943c2b87f6d3f256460233` | 章鱼 DWS | +| CRM AI助理 | `cfeeb8e52530f77e1c4698b6d2faf4f2bf38008b` | 阿里云 CIO CRM AI 助理 | +| 法务AI助理桌面端 | `2b11bed6c34473aba7998d44801c1ad5cccb17b9` | 法务桌面 Agent | +| qianwen-aiworks | `b3e3d7e31ca3a5d626943a5cb72acb70b4fc76e3` | 千问 aiworks | +| Nexa | `02dbe0983567bb3bc2977e0a80826cb97ca0a1e9` | 直播业务 AI-Native 组织 | + +## 排查顺序 + +1. 运行 `dws profile list --format json`,解析目标组织的稳定 `profile`。 +2. 按真实宿主从登记表选择渠道;当前本机 Codex 规则命中“EI智能体评测”。 +3. 使用命令级 `DWS_CHANNEL` 重新执行 `dws auth login --profile ... --format json`。 +4. 使用相同 `DWS_CHANNEL` 和 `profile` 执行一个最小只读产品命令验证。 +5. 若仍失败,加 `--verbose` 重试一次并按原始服务端错误分类;禁止轮询尝试整张渠道表。 diff --git a/skills/multi/dingtalk-aitable/SKILL.md b/skills/multi/dingtalk-aitable/SKILL.md index e44505d9..e5dd5122 100644 --- a/skills/multi/dingtalk-aitable/SKILL.md +++ b/skills/multi/dingtalk-aitable/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service aitable --format json` 读取参数、约束、风险和示例,并以 `dws aitable --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "aitable +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service aitable --format json` 批量发现;最后以 `dws aitable --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-attendance/SKILL.md b/skills/multi/dingtalk-attendance/SKILL.md index 8cec2498..9004028e 100644 --- a/skills/multi/dingtalk-attendance/SKILL.md +++ b/skills/multi/dingtalk-attendance/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service attendance --format json` 读取参数、约束、风险和示例,并以 `dws attendance --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "attendance +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service attendance --format json` 批量发现;最后以 `dws attendance --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-calendar/SKILL.md b/skills/multi/dingtalk-calendar/SKILL.md index 8afa1949..70418714 100644 --- a/skills/multi/dingtalk-calendar/SKILL.md +++ b/skills/multi/dingtalk-calendar/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service calendar --format json` 读取参数、约束、风险和示例,并以 `dws calendar --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "calendar +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service calendar --format json` 批量发现;最后以 `dws calendar --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-chat/SKILL.md b/skills/multi/dingtalk-chat/SKILL.md index 5a5c3405..946fd0b1 100644 --- a/skills/multi/dingtalk-chat/SKILL.md +++ b/skills/multi/dingtalk-chat/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service chat --format json` 读取参数、约束、风险和示例,并以 `dws chat --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "chat +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service chat --format json` 批量发现;最后以 `dws chat --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-contact/SKILL.md b/skills/multi/dingtalk-contact/SKILL.md index ce728191..7563892a 100644 --- a/skills/multi/dingtalk-contact/SKILL.md +++ b/skills/multi/dingtalk-contact/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service contact --format json` 读取参数、约束、风险和示例,并以 `dws contact --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "contact +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service contact --format json` 批量发现;最后以 `dws contact --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-dev/SKILL.md b/skills/multi/dingtalk-dev/SKILL.md index d24a33dd..dc9239c0 100644 --- a/skills/multi/dingtalk-dev/SKILL.md +++ b/skills/multi/dingtalk-dev/SKILL.md @@ -29,7 +29,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service devapp --format json` 读取参数、约束、风险和示例,并以 `dws devapp --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "devapp +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service devapp --format json` 批量发现;最后以 `dws devapp --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-ding/SKILL.md b/skills/multi/dingtalk-ding/SKILL.md index ab744465..92de66c7 100644 --- a/skills/multi/dingtalk-ding/SKILL.md +++ b/skills/multi/dingtalk-ding/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service ding --format json` 读取参数、约束、风险和示例,并以 `dws ding --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "ding +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service ding --format json` 批量发现;最后以 `dws ding --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-doc/SKILL.md b/skills/multi/dingtalk-doc/SKILL.md index a59d04ec..723ebf5a 100644 --- a/skills/multi/dingtalk-doc/SKILL.md +++ b/skills/multi/dingtalk-doc/SKILL.md @@ -42,7 +42,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service doc --format json` 读取参数、约束、风险和示例,并以 `dws doc --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "doc +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service doc --format json` 批量发现;最后以 `dws doc --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-drive/SKILL.md b/skills/multi/dingtalk-drive/SKILL.md index 7b4bf945..4bf6a30d 100644 --- a/skills/multi/dingtalk-drive/SKILL.md +++ b/skills/multi/dingtalk-drive/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service drive --format json` 读取参数、约束、风险和示例,并以 `dws drive --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "drive +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service drive --format json` 批量发现;最后以 `dws drive --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-mail/SKILL.md b/skills/multi/dingtalk-mail/SKILL.md index 956f644b..4e83d9b4 100644 --- a/skills/multi/dingtalk-mail/SKILL.md +++ b/skills/multi/dingtalk-mail/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service mail --format json` 读取参数、约束、风险和示例,并以 `dws mail --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "mail +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service mail --format json` 批量发现;最后以 `dws mail --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-minutes/SKILL.md b/skills/multi/dingtalk-minutes/SKILL.md index cae0fe06..f98151bf 100644 --- a/skills/multi/dingtalk-minutes/SKILL.md +++ b/skills/multi/dingtalk-minutes/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service minutes --format json` 读取参数、约束、风险和示例,并以 `dws minutes --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "minutes +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service minutes --format json` 批量发现;最后以 `dws minutes --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-oa/SKILL.md b/skills/multi/dingtalk-oa/SKILL.md index 693e5b9a..11ea6c5e 100644 --- a/skills/multi/dingtalk-oa/SKILL.md +++ b/skills/multi/dingtalk-oa/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service oa --format json` 读取参数、约束、风险和示例,并以 `dws oa --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "oa +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service oa --format json` 批量发现;最后以 `dws oa --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-report/SKILL.md b/skills/multi/dingtalk-report/SKILL.md index d96f802d..99ea28eb 100644 --- a/skills/multi/dingtalk-report/SKILL.md +++ b/skills/multi/dingtalk-report/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service report --format json` 读取参数、约束、风险和示例,并以 `dws report --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "report +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service report --format json` 批量发现;最后以 `dws report --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-sheet/SKILL.md b/skills/multi/dingtalk-sheet/SKILL.md index b36804b4..2e419078 100644 --- a/skills/multi/dingtalk-sheet/SKILL.md +++ b/skills/multi/dingtalk-sheet/SKILL.md @@ -30,7 +30,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service sheet --format json` 读取参数、约束、风险和示例,并以 `dws sheet --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "sheet +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service sheet --format json` 批量发现;最后以 `dws sheet --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-todo/SKILL.md b/skills/multi/dingtalk-todo/SKILL.md index c62fccd0..447ebe5a 100644 --- a/skills/multi/dingtalk-todo/SKILL.md +++ b/skills/multi/dingtalk-todo/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service todo --format json` 读取参数、约束、风险和示例,并以 `dws todo --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "todo +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service todo --format json` 批量发现;最后以 `dws todo --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dingtalk-wiki/SKILL.md b/skills/multi/dingtalk-wiki/SKILL.md index f8853f72..c4c56eff 100644 --- a/skills/multi/dingtalk-wiki/SKILL.md +++ b/skills/multi/dingtalk-wiki/SKILL.md @@ -26,7 +26,7 @@ metadata: ## Shortcuts(无专用脚本/recipe 时优先) -以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service wiki --format json` 读取参数、约束、风险和示例,并以 `dws wiki --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。 +以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "wiki +" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service wiki --format json` 批量发现;最后以 `dws wiki --help` 核对当前 Cobra flags。 | Shortcut | 风险 | 适用场景 | |---|---|---| diff --git a/skills/multi/dws-shared/SKILL.md b/skills/multi/dws-shared/SKILL.md index d2516cf3..2369f4fd 100644 --- a/skills/multi/dws-shared/SKILL.md +++ b/skills/multi/dws-shared/SKILL.md @@ -30,7 +30,7 @@ metadata: 选择命令、读取参数映射/组合约束与安全语义时,优先渐进查询当前二进制内嵌的 leaf Schema;真正组装参数前,用 `--help` 确认 Cobra 当前接受的 flags: -本节适用于进入 Runtime Schema 的基础/原子命令。`+` shortcut 是明确例外,使用下方独立 shortcut catalog 契约。 +本节同时适用于基础/原子命令与公开内建 `+` shortcut。用户自定义或未公开 shortcut 不进入发布 Schema。 ```bash dws schema # 产品概览 @@ -45,14 +45,14 @@ dws schema "calendar event create" --compact # 完整 leaf 契约 |-------------|--------| | 命令是否存在、Cobra 接受哪些 flags | `dws --help` | | Agent 选命令、参数映射/约束、risk/confirmation(原子/基础命令) | `dws schema ""` | -| shortcut 的参数、约束、risk/confirmation、示例 | `dws shortcut list --service --format json` | +| 公开 shortcut 的 Agent 选择、参数、约束、risk/confirmation、示例 | leaf `dws schema --cli-path " +" --format json`;批量发现可用 `dws shortcut list` | | 钉钉中的文档、日程、消息等业务数据 | 真正执行对应的 `read` / `search` / `list` 命令 | Schema 与 Help 冲突属于契约漂移:参数只用 Help 接受的 flags,并报告漂移;安全语义冲突时采用更保守的确认方式。Schema 只描述命令契约,不能替代业务查询。 ## Shortcut 可用性 - `shortcut` 是对常用操作的高层封装。先按产品 skill 的意图表、脚本和 recipe 路由:存在精确覆盖场景的专用脚本/recipe 时按其执行;否则可见 shortcut 优先于手写等价原子流程。 -- shortcut 有独立 catalog,按设计不进入 Runtime Schema。用 `dws shortcut list --service --format json` 读取 flags、required/enum、跨参数 constraints、risk/confirmation 和 examples;不要对 `+` 路径调用 `dws schema`。 +- 公开内建 shortcut 同时进入 Runtime Schema。用 `dws schema --cli-path " +" --format json` 读取 Agent 选择、参数、跨参数约束、risk/confirmation 与接口语义;`dws shortcut list --service --format json` 只作为轻量批量发现入口。 - 真正组装参数前用叶子帮助 `dws + --help` 核对 Cobra 接受的 flags;父级 `dws --help` 只能用于发现子命令。 - shortcut catalog 中 `confirmation=user_required` 时先获得用户确认,确认后才加 `--yes`;`not_required` 不额外确认。 - 如果 shortcut 不在 help / list 中,改用产品参考里的原子命令、脚本或标准流程;不要猜测未展示的 `+` 命令。 diff --git a/skills/multi/dws-shared/references/channel-login.md b/skills/multi/dws-shared/references/channel-login.md new file mode 100644 index 00000000..934ea197 --- /dev/null +++ b/skills/multi/dws-shared/references/channel-login.md @@ -0,0 +1,93 @@ +# 受控渠道与阿里巴巴组织登录 + +## 使用场景 + +在以下任一场景读取本参考: + +- 目标组织是阿里巴巴; +- 登录返回 `CHANNEL_REQUIRED`、`channel_not_allowed`、`enterprise_not_authorized` 或“应用暂不受信任”; +- 用户提到渠道码、`DWS_CHANNEL`、渠道白名单或渠道归因; +- 需要判断 `DWS_CHANNEL` 与 `DINGTALK_DWS_AGENTCODE` 的边界。 + +## 核心契约 + +- 将 `DWS_CHANNEL` 作为产品/分发渠道 `channelCode`。CLI 在登录权限检查和后续 MCP 请求中把它发送为 `x-dws-channel`。 +- 将 `DINGTALK_DWS_AGENTCODE` 作为执行 Agent 身份。两者是独立维度,禁止互相回填或复用。 +- 在受控渠道组织中,把 `DWS_CHANNEL` 同时加到 `auth login` 和每一条后续 `dws` 命令。只在单条命令作用域设置,禁止写入 shell profile 或对其他组织全局导出。 +- 仅使用与真实宿主/业务场景匹配的已登记渠道。禁止为了通过登录随机尝试其他渠道或伪装成别的产品。 +- 把静态 `channelCode` 视为公开路由标识,不视为密钥或可信归因凭证。长期方案必须由服务端校验宿主身份并签发短期、绑定组织和渠道的会话凭证。 + +## 当前本机映射 + +当前 Codex 中的 DWS skill/办公能力验证场景使用: + +| 项目 | 值 | +|---|---| +| 目标组织 | 阿里巴巴 | +| 稳定 profile | `dingd8e1123006514592:04061459256343` | +| 渠道 | EI智能体评测 | +| `DWS_CHANNEL` | `18451e165920b301ade00efae99b2c253e1e900b` | + +登录: + +```bash +DWS_CHANNEL='18451e165920b301ade00efae99b2c253e1e900b' \ + dws auth login \ + --profile 'dingd8e1123006514592:04061459256343' \ + --format json +``` + +后续命令: + +```bash +DWS_CHANNEL='18451e165920b301ade00efae99b2c253e1e900b' \ + dws \ + --profile 'dingd8e1123006514592:04061459256343' \ + --format json +``` + +2026-07-22 已用 CLI v1.0.54 验证:不带渠道码时阿里巴巴组织登录被拒;带上述渠道码后 OAuth 登录成功,随后 `minutes list all` 调用成功。 + +## 组织白名单 + +当前服务端渠道配置组织白名单: + +```text +793652894 +515819978 +21001 +``` + +该数字组织白名单属于服务端控制面,不等同于本地 `profile` 中的字符串 `corpId`。禁止自行推导两者的映射。 + +## 已登记渠道 + +下表来自 `availableChannels` 渠道目录,不代表任一组织实时返回的 `allowedChannels`。执行登录时仍以服务端组织策略为准。 + +| channelCodeTitle | channelCode | 适用宿主/业务 | +|---|---|---| +| QoderWork | `51d4ceade40174304fc591dbf17448aeebf50328` | 阿里云 qteam 桌面 Agent | +| Oneday | `2a4a658e467998befb7fa333c19ba2b3a3bacfa4` | 自然语言获取、加工并写回文档 | +| ei_shuziren_v1 | `17590d48d77f9b1ab47ec7d37c16d9ff513f96fb` | 集团业务线数字员工 | +| ideaLAB | `d3417efb28cf4b8dc0c074705e74eb6208f54154` | 企业级 Agent 构建与智能应用平台 | +| QoderWake | `a3f5d3f4ab8cb87a2a1c93cbf69c713dab11b16e` | 持久身份、长期记忆的数字员工 | +| AI-SOP | `1e54a489615d81b3a6815d1e99b22ea6358303fd` | 天猫国际运营 AI 助理 | +| AgentX | `394af5a87e1044dbbb52ad037f49e2b74bea8881` | 菜鸟 AI 供应链平台 | +| EI智能体评测 | `18451e165920b301ade00efae99b2c253e1e900b` | DWS 办公能力与 Agent 自动化评测 | +| it-digital-human | `49edc1b7679b8d9f804af345920adbbb9472f2a6` | IT 数字人 | +| Devix | `bc623574bfc80b76b642e35f676d42e1921ee6ef` | AONE AI Native 研发平台 | +| ai-lab-agent | `dbd7cf1fea014e6b1d22bfbd179d00b6523b0e39` | 企业发展 Web Agent | +| Otter | `d7b20e3e1a154102deb2cf4b785c9b86aecbed83` | 淘天数据平台 OtterAgent | +| leto-dws | `ea51a28080a83b7466943c2b87f6d3f256460233` | 章鱼 DWS | +| CRM AI助理 | `cfeeb8e52530f77e1c4698b6d2faf4f2bf38008b` | 阿里云 CIO CRM AI 助理 | +| 法务AI助理桌面端 | `2b11bed6c34473aba7998d44801c1ad5cccb17b9` | 法务桌面 Agent | +| qianwen-aiworks | `b3e3d7e31ca3a5d626943a5cb72acb70b4fc76e3` | 千问 aiworks | +| Nexa | `02dbe0983567bb3bc2977e0a80826cb97ca0a1e9` | 直播业务 AI-Native 组织 | + +## 排查顺序 + +1. 运行 `dws profile list --format json`,解析目标组织的稳定 `profile`。 +2. 按真实宿主从登记表选择渠道;当前本机 Codex 规则命中“EI智能体评测”。 +3. 使用命令级 `DWS_CHANNEL` 重新执行 `dws auth login --profile ... --format json`。 +4. 使用相同 `DWS_CHANNEL` 和 `profile` 执行一个最小只读产品命令验证。 +5. 若仍失败,加 `--verbose` 重试一次并按原始服务端错误分类;禁止轮询尝试整张渠道表。