@lark-project/meegle 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,12 @@ versioned section on each npm release.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [v1.0.15] - 2026-07-07
12
+
13
+ ### Added
14
+
15
+ - New `--auto-paginate` global flag. When set, the CLI inspects the first response for pagination signals (`next_page_token` or `pagination.has_more`) and automatically fetches subsequent pages, concatenating list arrays into a single merged payload. Supports both token-based and `page_num`-based pagination. A 200-page safety cap and a 3-consecutive-empty-page streak guard prevent runaway loops against stuck cursors; when the cap is hit the merged result is returned with `truncated: true` and a continuation token/page number in `meta`, alongside a stderr hint. Batch (`+batch-get`) and attachment shortcut commands are exempt — they manage their own multi-call execution paths.
16
+
11
17
  ## [v1.0.14] - 2026-07-01
12
18
 
13
19
  ### Fixed
package/README.md CHANGED
@@ -640,6 +640,7 @@ meegle workflow get-node --work-item-id 12345 --need-sub-task
640
640
  | `--verbose` | `-v` | Verbose output |
641
641
  | `--profile` | | Use a specific configuration profile |
642
642
  | `--refresh` | | Refresh cached commands from server (bypass the local 24 h cache) |
643
+ | `--auto-paginate` | | Automatically fetch and merge all pages when the response contains pagination signals (`next_page_token` or `pagination.has_more`); merged list arrays are concatenated, and a 200-page safety cap plus a 3-empty-page streak guard prevent runaway loops |
643
644
 
644
645
  ## Advanced Usage
645
646
 
package/README.zh-CN.md CHANGED
@@ -625,6 +625,7 @@ meegle workflow get-node --work-item-id 12345 --need-sub-task
625
625
  | `--verbose` | `-v` | 详细输出 |
626
626
  | `--profile` | | 指定配置 profile |
627
627
  | `--refresh` | | 从服务端刷新本地命令缓存(旁路 24 小时缓存) |
628
+ | `--auto-paginate` | | 当响应包含分页信号(`next_page_token` 或 `pagination.has_more`)时自动拉取并合并所有页;列表数组会拼接,200 页安全上限与连续 3 空页保护防止失控循环 |
628
629
 
629
630
  ## 进阶用法
630
631
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-project/meegle",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Agent-First CLI for Meegle (Lark Project)",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/larksuite/meegle-cli#readme",