You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- skills/lark-shared/SKILL.md: broaden skill description to cover auth login/status/logout, --domain business-domain scopes, missing scopes and authorization revocation; add an auth task quick-reference table mapping user intents to lark-cli commands; document LARKSUITE_CLI_NO_UPDATE_NOTIFIER / LARKSUITE_CLI_NO_SKILLS_NOTIFIER env vars for stable JSON; soften _notice.update handling so it no longer interrupts the current task.
- cmd/auth/logout_test.go: in TestAuthLogoutRun_JSONMode_Success_WritesStdoutOnly, additionally assert that the success JSON payload has no 'message' field, matching the contract that logout success only carries loggedOut=true.
Copy file name to clipboardExpand all lines: skills/lark-shared/SKILL.md
+34-10Lines changed: 34 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: lark-shared
3
3
version: 1.0.0
4
-
description: "Use when first setting up lark-cli, running auth login, switching user/bot identity(--as), handling permission denied or scope errors, needing to update lark-cli, or seeing _notice in JSON output."
4
+
description: "Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling _notice JSON."
5
5
---
6
6
7
7
# lark-cli 共享规则
@@ -23,6 +23,27 @@ lark-cli config init --new
23
23
24
24
## 认证
25
25
26
+
### 认证任务速查
27
+
28
+
认证、scope、业务域、登录态、退出登录态、撤销授权问题都走本技能,不要路由到 Claude settings / update-config。
29
+
30
+
| 用户意图 | 首选命令 / 回答 |
31
+
|---|---|
32
+
| 获取全部权限 |`lark-cli auth login --domain all --no-wait --json`|
0 commit comments