mirror of
https://github.com/larksuite/cli.git
synced 2026-08-03 08:32:46 +08:00
Complete the content-safety and output-contract follow-ups across the emitter, pagination, and the commands that emit directly. - Content safety scans the exact rendered bytes for table/csv/ndjson/pretty/jq and per streamed page, so a match formed only in the rendered output (joined table cells, a jq concatenation) cannot slip past block mode. The JSON envelope keeps its data scan (JSON punctuation prevents whitespace-joined cross-field matches) and still embeds the alert. - warn pagination writes each page as it arrives; block pagination buffers and commits atomically with a 64 MiB cap, failing closed past the limit. - --format pretty without a dedicated renderer falls back to human-readable output rather than JSON; OutPartialFailure keeps the caller's table/csv/ ndjson/pretty choice while json/jq keep the ok:false envelope. - auth scopes --format pretty writes business data to stdout and propagates write errors through the emitter. - event +subscribe exposes only json/ndjson (--json kept as an alias, conflict checked before run); event/mail-triage/mail-watch/record-markdown/schema output now run the unified content-safety scan; mail watch no longer logs addresses or sender info. - calendar/minutes/vc pagination progress moved to stderr so csv/ndjson stdout stays parseable; non-list paginated responses keep the requested format. - wrap the flag-parse error with %w in localfileio path handling.