Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
705c5cd
feat(contact): add bot search shortcut
sang-neo03 Jul 28, 2026
2830d5e
fix(contact): align bot search pagination and formats
sang-neo03 Jul 28, 2026
86ec688
fix(contact): validate bot search chat IDs
sang-neo03 Jul 28, 2026
48a4ab6
fix(contact): enforce bot search page limit
sang-neo03 Jul 28, 2026
50ee997
test(contact): require bot search result
sang-neo03 Jul 28, 2026
4165af3
fix(contact): keep bot description when display_info starts blank
sang-neo03 Jul 29, 2026
9326300
docs(contact): state why bot search pins open_id
sang-neo03 Jul 29, 2026
c1bf704
refactor(contact): follow search-user flag idioms in bot search
sang-neo03 Jul 29, 2026
d48aab2
refactor(contact): drop bot search pagination to match search-user
sang-neo03 Jul 29, 2026
043c016
feat(contact): add multi-keyword fanout to bot search
sang-neo03 Jul 29, 2026
1c40c59
fix(contact): close the remaining search-user gaps in bot search
sang-neo03 Jul 29, 2026
719b24f
fix(contact): stop bot search help pointing at --query only
sang-neo03 Jul 29, 2026
1e0370c
fix(contact): scope the has-chatted=false check to the no-keyword case
sang-neo03 Jul 29, 2026
b353b80
docs(contact): restore unrelated skill content and split bot search r…
sang-neo03 Jul 29, 2026
dacd634
Merge remote-tracking branch 'origin/main' into feat/search-bot
sang-neo03 Jul 29, 2026
58ff434
docs(skill): clarify group join requirements and ID type restrictions…
sang-neo03 Jul 29, 2026
fcb661b
fix(contact): --chat-ids changes the search scope, it does not narrow it
sang-neo03 Jul 29, 2026
9f536d6
fix(contact): stop dropping notice and per-query failures outside json
sang-neo03 Jul 29, 2026
af8728c
test(contact): replace tenant bot names in display_info fixtures
sang-neo03 Jul 29, 2026
2824847
docs(contact): route a bare name to bot search when the user search c…
sang-neo03 Jul 29, 2026
b0ffe8d
fix(contact): signal truncation on stderr for every format without an…
sang-neo03 Jul 29, 2026
ef2bf6e
docs(contact): clarify usage of --chat-ids and keyword requirements i…
sang-neo03 Jul 29, 2026
9a58aef
docs(contact): update search-bot documentation for keyword and flag u…
sang-neo03 Jul 29, 2026
5d5a2f9
docs(contact): update search-bot documentation for keyword and flag u…
sang-neo03 Jul 29, 2026
b6fa8d1
docs(contact): simplify bot search guidance
liangshuo-1 Jul 29, 2026
6612cae
fix(contact): harden bot search semantics
liangshuo-1 Jul 29, 2026
7ae6146
docs(contact): clarify ambiguous-name example
liangshuo-1 Jul 29, 2026
ecc1647
docs(contact): cover agent/智能体 wording for bot search
liangshuo-1 Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions affordance/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,38 @@ lark-cli contact +search-user --query "alice" --as user
lark-cli contact +search-user --user-ids "ou_3a8b****6a7b,me" --as user
```

## +search-bot
Search bots (apps) by keyword. Pass `--query` or `--queries`; use `--chat-ids` to search within specific chats.

### Avoid when
- Looking for a person rather than a bot → use [[+search-user]]
- Running as a bot — this shortcut is user-only

### Tips
- `has_more=true` means the search is incomplete; refine the keyword or search scope instead of paginating

### Examples

**Find bots by keyword**
```bash
lark-cli contact +search-bot --query "会议助手" --as user
```

**Search inside one chat**
```bash
lark-cli contact +search-bot --query "助手" --chat-ids "oc_3a8b****6a7b" --as user
```

**Find bots you've chatted with**
```bash
lark-cli contact +search-bot --query "助手" --has-chatted --as user
```

**Search several bot keywords in one call**
```bash
lark-cli contact +search-bot --queries "会议助手,日报助手,审批助手" --as user
```

## +get-user
Fetch one user's profile by id, or your own with --user-id omitted. Use it under bot identity — `+search-user` is user-only.

Expand Down
Loading
Loading