mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
8c3ed5d224
Add a dedicated +chat-members-list shortcut that lists chat members, returning users and bots in separate users[] / bots[] buckets. It owns its pagination loop (mirroring the paginateLoop conventions: per-page log line, --page-limit cap, non-advancing-token guard) because the list_members response is multi-bucket: the generic --page-all merger is built for single-array responses and would silently drop the bots[] bucket and the final-page truncations[] signal. Highlights: - merges users[] and bots[] across pages; takes truncations[] / has_more / page_token from the last page so a server-side cap is never hidden - surfaces truncations[] with a loud stderr warning when the server caps a bucket due to security config (the list is incomplete) - --member-types filter (user/bot), --member-id-type, and the standard --page-all / --page-limit / --page-token flags - with --page-all and no explicit --page-size, uses the max page size to minimize round-trips - docs: SKILL.md Shortcuts table + references/lark-im-chat-members-list.md