Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8332b3eeb8 | ||
|
|
66bb86cc9e |
@@ -6,6 +6,10 @@ The format is inspired by [Keep a Changelog](https://keepachangelog.com/) and th
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- **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
|
||||
|
||||
This beta validates the shortcut projection fixes for group bots, bot search,
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"version": 1,
|
||||
"source_hash": "sha256:bda812c0b48f221a70f9c710d56a4dead5916bf425a9b153e7b275d15365f1a0",
|
||||
"surface_hash": "sha256:8eef4235b4391a6a865c180ebd3a65ca3531a84c6985b37811f23fff9daf2e3a",
|
||||
"source_hash": "sha256:f7d9911baa7c829febb0f461c1ae773d9bd4747b73a79c6fc4cd8a0e3956561c",
|
||||
"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": 118,
|
||||
"unreviewed_skill_tools": 7
|
||||
},
|
||||
@@ -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",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+120980
-26
File diff suppressed because it is too large
Load Diff
@@ -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.",
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"channel": "open-source"
|
||||
},
|
||||
"coverage": {
|
||||
"source_tools": 603,
|
||||
"source_tools": 813,
|
||||
"matched_tools": 71
|
||||
},
|
||||
"tools": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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 <openConversationId>"
|
||||
],
|
||||
"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 <openConversationId>"
|
||||
],
|
||||
"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 <openConversationId>"
|
||||
],
|
||||
"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 <openConversationId> --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 <openConversationId> --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 <openConversationId> --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 <openConversationId>"
|
||||
],
|
||||
"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 <openConversationId> --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 <openConversationId>"
|
||||
],
|
||||
"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 <openConversationId>"
|
||||
],
|
||||
"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 <openConversationId> --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 <openConversationId> --role-id <openRoleId> --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 <openConversationId> --user <userId> --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 <openConversationId> --user <userId>"
|
||||
],
|
||||
"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 <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 <userId> --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 <openTaskId>"
|
||||
],
|
||||
"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 <openConversationId> --message-id <openMessageId>"
|
||||
],
|
||||
"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 <bizId> --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 <openConversationId>"
|
||||
],
|
||||
"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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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 <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 <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 <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 <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 <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 <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 <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 <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 <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 <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 <UNIFIED_APP_ID> --user-ids <VALUES> --member-type <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 <UNIFIED_APP_ID> --user-ids <VALUES> --member-type <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 <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 <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 <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 <UNIFIED_APP_ID> --version-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 <UNIFIED_APP_ID> --version-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 <UNIFIED_APP_ID> --version-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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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 <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 <VALUES> --content <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 <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": {
|
||||
|
||||
@@ -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/<DOC_UUID>\" --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": {
|
||||
|
||||
@@ -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 <dentryUuid>"
|
||||
],
|
||||
"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 <nodeId> --folder <targetFolderId>"
|
||||
],
|
||||
"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 <nodeId> --folder <targetFolderId>"
|
||||
],
|
||||
"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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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 <sessionId>"
|
||||
],
|
||||
"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 <taskUuid>",
|
||||
"dws minutes +detail --id <taskUuid> --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 <taskUuid> --pair \"张三=>张三丰\"",
|
||||
"dws minutes +replace-batch --id <taskUuid> --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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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 <taskId>"
|
||||
],
|
||||
"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 <taskId>"
|
||||
],
|
||||
"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 <taskId>"
|
||||
],
|
||||
"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 <taskId>"
|
||||
],
|
||||
"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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -46,8 +46,8 @@ func newListCommand() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "list",
|
||||
Short: "列出内建 shortcut 及其完整参数契约",
|
||||
Long: "列出独立于 Runtime Schema 的 shortcut catalog。每条记录包含公开参数、" +
|
||||
"必填/枚举约束、跨参数约束与可执行示例;也可用 dws <service> +<command> --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)
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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} <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "{service} +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service {service} --format json` 批量发现;最后以 `dws {service} <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -9,7 +9,7 @@ cli_version: ">=1.0.15"
|
||||
通过 `dws` 命令管理钉钉产品能力。
|
||||
|
||||
|
||||
> ⚠️ **命令可用性以当前 dws 二进制为准**。服务发现已下线,本文档随内置 skill 发布;如果 `dws <cmd> --help` 不存在,说明当前版本未暴露该命令。`--help` 决定 Cobra 实际接受的 flags;基础命令的 leaf Schema 决定 Agent 选择、参数映射/约束和安全确认语义,`+` shortcut 则读取独立 shortcut catalog。若命令存在但调用失败,请按错误中的 endpoint 或 tool 提示确认静态端点目录和后端工具注册。实际调用前可用 `dws <cmd> --help` 或 `--dry-run` 验证。
|
||||
> ⚠️ **命令可用性以当前 dws 二进制为准**。服务发现已下线,本文档随内置 skill 发布;如果 `dws <cmd> --help` 不存在,说明当前版本未暴露该命令。`--help` 决定 Cobra 实际接受的 flags;公开基础命令和内建 `+` shortcut 的 leaf Schema 决定 Agent 选择、参数映射/约束和安全确认语义。若命令存在但调用失败,请按错误中的 endpoint 或 tool 提示确认静态端点目录和后端工具注册。实际调用前可用 `dws <cmd> --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 <service> +<verb> ... --format json`,不要手写等价的多步原子命令。
|
||||
- shortcut 有独立 catalog,按设计不进入 Runtime Schema。调用前用 `dws shortcut list --service <service> --format json` 读取完整 flags、required/enum、跨参数 constraints、risk/confirmation 和 examples;不要对 `+` 路径调用 `dws schema`。
|
||||
- 公开内建 shortcut 同时进入 Runtime Schema。用 `dws schema --cli-path "<service> +<verb>" --format json` 读取 Agent 选择、参数、跨参数约束、risk/confirmation 与接口语义;`dws shortcut list --service <service> --format json` 只作为轻量批量发现入口。
|
||||
- 真正组装参数前用叶子帮助 `dws <service> +<verb> --help` 核对当前 Cobra 接受的 flags。父级 `dws <service> --help` 只能发现子命令,不能替代叶子参数帮助。
|
||||
- shortcut catalog 中 `confirmation=user_required` 时,必须先获得用户确认,确认后才加 `--yes`;`not_required` 不额外确认。
|
||||
- 如果 shortcut 不在 help / list 中,改用产品参考里的原子命令、脚本或标准流程;不要猜测未展示的 `+` 命令。
|
||||
@@ -180,7 +180,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 投影为准。
|
||||
|
||||
@@ -279,7 +279,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) — 全局标志、认证、输出格式
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service aitable --format json` 读取参数、约束、风险和示例,并以 `dws aitable <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "aitable +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service aitable --format json` 批量发现;最后以 `dws aitable <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service attendance --format json` 读取参数、约束、风险和示例,并以 `dws attendance <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "attendance +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service attendance --format json` 批量发现;最后以 `dws attendance <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service calendar --format json` 读取参数、约束、风险和示例,并以 `dws calendar <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "calendar +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service calendar --format json` 批量发现;最后以 `dws calendar <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service chat --format json` 读取参数、约束、风险和示例,并以 `dws chat <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "chat +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service chat --format json` 批量发现;最后以 `dws chat <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service contact --format json` 读取参数、约束、风险和示例,并以 `dws contact <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "contact +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service contact --format json` 批量发现;最后以 `dws contact <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -29,7 +29,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service devapp --format json` 读取参数、约束、风险和示例,并以 `dws devapp <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "devapp +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service devapp --format json` 批量发现;最后以 `dws devapp <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service ding --format json` 读取参数、约束、风险和示例,并以 `dws ding <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "ding +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service ding --format json` 批量发现;最后以 `dws ding <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -42,7 +42,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service doc --format json` 读取参数、约束、风险和示例,并以 `dws doc <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "doc +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service doc --format json` 批量发现;最后以 `dws doc <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service drive --format json` 读取参数、约束、风险和示例,并以 `dws drive <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "drive +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service drive --format json` 批量发现;最后以 `dws drive <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service mail --format json` 读取参数、约束、风险和示例,并以 `dws mail <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "mail +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service mail --format json` 批量发现;最后以 `dws mail <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service minutes --format json` 读取参数、约束、风险和示例,并以 `dws minutes <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "minutes +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service minutes --format json` 批量发现;最后以 `dws minutes <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service oa --format json` 读取参数、约束、风险和示例,并以 `dws oa <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "oa +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service oa --format json` 批量发现;最后以 `dws oa <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service report --format json` 读取参数、约束、风险和示例,并以 `dws report <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "report +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service report --format json` 批量发现;最后以 `dws report <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -30,7 +30,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service sheet --format json` 读取参数、约束、风险和示例,并以 `dws sheet <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "sheet +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service sheet --format json` 批量发现;最后以 `dws sheet <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service todo --format json` 读取参数、约束、风险和示例,并以 `dws todo <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "todo +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service todo --format json` 批量发现;最后以 `dws todo <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
<!-- VISIBLE_SHORTCUTS_START -->
|
||||
## Shortcuts(无专用脚本/recipe 时优先)
|
||||
|
||||
以下 shortcut 来自独立于 Runtime Schema 的公开 catalog。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 `dws shortcut list --service wiki --format json` 读取参数、约束、风险和示例,并以 `dws wiki <shortcut> --help` 核对当前 Cobra flags;不要对 `+` 路径调用 `dws schema`。
|
||||
以下 shortcut 同时进入公开 catalog 与 Runtime Schema。先按本 skill 的意图表、脚本和 recipe 路由:存在精确覆盖该场景的专用脚本/recipe 时按其执行;否则用户意图命中时,shortcut 优先于手写原子命令。用 leaf Schema(例如 `dws schema --cli-path "wiki +<shortcut>" --format json`)读取 Agent 选择、参数、约束、风险和确认语义;用 `dws shortcut list --service wiki --format json` 批量发现;最后以 `dws wiki <shortcut> --help` 核对当前 Cobra flags。
|
||||
|
||||
| Shortcut | 风险 | 适用场景 |
|
||||
|---|---|---|
|
||||
|
||||
@@ -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 <cli_path> --help` |
|
||||
| Agent 选命令、参数映射/约束、risk/confirmation(原子/基础命令) | `dws schema "<cli_path>"` |
|
||||
| shortcut 的参数、约束、risk/confirmation、示例 | `dws shortcut list --service <service> --format json` |
|
||||
| 公开 shortcut 的 Agent 选择、参数、约束、risk/confirmation、示例 | leaf `dws schema --cli-path "<service> +<shortcut>" --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 <service> --format json` 读取 flags、required/enum、跨参数 constraints、risk/confirmation 和 examples;不要对 `+` 路径调用 `dws schema`。
|
||||
- 公开内建 shortcut 同时进入 Runtime Schema。用 `dws schema --cli-path "<service> +<verb>" --format json` 读取 Agent 选择、参数、跨参数约束、risk/confirmation 与接口语义;`dws shortcut list --service <service> --format json` 只作为轻量批量发现入口。
|
||||
- 真正组装参数前用叶子帮助 `dws <service> +<verb> --help` 核对 Cobra 接受的 flags;父级 `dws <service> --help` 只能用于发现子命令。
|
||||
- shortcut catalog 中 `confirmation=user_required` 时先获得用户确认,确认后才加 `--yes`;`not_required` 不额外确认。
|
||||
- 如果 shortcut 不在 help / list 中,改用产品参考里的原子命令、脚本或标准流程;不要猜测未展示的 `+` 命令。
|
||||
|
||||
Reference in New Issue
Block a user