diff --git a/README.md b/README.md index 487495dd..c2bad12e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@
dws — DingTalk Workspace on the command line, built for humans and AI agents.
-
+
中文版 · English · Reference · Changelog
-> [!IMPORTANT] -> **Co-creation Phase**: This project accesses DingTalk enterprise data and requires enterprise admin authorization. Join the DingTalk DWS co-creation group for support and updates. See [Getting Started](#getting-started) below. -> ->
+One CLI gives your AI agent — or you — control over all of DingTalk.
+Send messages, manage calendars, search docs, drive AI Sheets, run approvals — 330 commands across 18 products, returned as structured JSON an agent can act on. Zero-trust by design: not a single byte bypasses auth and audit.
+
```bash
dws auth login # browser opens automatically
dws auth login --device # for headless environments (Docker, SSH, CI)
diff --git a/README_zh.md b/README_zh.md
index 0d980ad2..69becd26 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -3,7 +3,7 @@
dws — 钉钉工作台命令行工具,为人类和 AI Agent 而生。
-
+
+一个 CLI,让你的 AI Agent(或你自己)掌控整个钉钉。
+收发消息、管理日程、搜索文档、操作 AI 表格、跑审批 —— 18 个产品、330 条命令,全部返回 Agent 可直接处理的结构化 JSON。零信任设计:没有一个字节能绕过鉴权和审计。
+
```bash
dws auth login # 自动唤起浏览器
dws auth login --device # 无浏览器环境(Docker、SSH、CI)
diff --git a/docs/assets/dws-demo.gif b/docs/assets/dws-demo.gif
new file mode 100644
index 00000000..89cff0a4
Binary files /dev/null and b/docs/assets/dws-demo.gif differ
diff --git a/docs/assets/dws-demo.tape b/docs/assets/dws-demo.tape
new file mode 100644
index 00000000..3cc008e3
--- /dev/null
+++ b/docs/assets/dws-demo.tape
@@ -0,0 +1,53 @@
+# dws demo GIF — reproducible via VHS (https://github.com/charmbracelet/vhs)
+# vhs docs/assets/dws-demo.tape
+# No PII / no side effects: only --dry-run, which previews the request without executing.
+
+Output docs/assets/dws-demo.gif
+
+Set Shell bash
+Set FontSize 20
+Set Width 1280
+Set Height 460
+Set Padding 25
+Set Margin 16
+Set MarginFill "#0d0e14"
+Set BorderRadius 10
+Set WindowBar Colorful
+Set Theme "TokyoNight"
+Set TypingSpeed 32ms
+
+# Themed prompt, set off-camera
+Hide
+Type "export PS1='\[\e[32m\]dws \[\e[36m\]❯\[\e[0m\] '"
+Enter
+Type "clear"
+Enter
+Show
+
+Sleep 400ms
+
+# 1) Resolve a person — the exact tool call is shown transparently, nothing executed
+Type "dws contact user search --query 'Wei Zhang' --dry-run --jq '{tool:.invocation.tool, args:.invocation.params}'"
+Sleep 500ms
+Enter
+Sleep 1700ms
+
+Type "clear"
+Enter
+Sleep 400ms
+
+# 2) Find who owns an area
+Type "dws aisearch person --query 'who owns payments' --dry-run --jq '{tool:.invocation.tool, args:.invocation.params}'"
+Sleep 500ms
+Enter
+Sleep 1700ms
+
+Type "clear"
+Enter
+Sleep 400ms
+
+# 3) The pitch — numbers match the README
+Type "echo '18 products · 330 commands · structured JSON for AI agents · zero-trust'"
+Sleep 500ms
+Enter
+Sleep 2300ms