@lark-project/meegle 1.0.18 → 1.0.20

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,22 @@ versioned section on each npm release.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [v1.0.20] - 2026-08-20
12
+
13
+ ### Changed
14
+
15
+ - Updated the bundled Meegle Agent Skill to the v5.4 guidance, including expanded MQL syntax, API examples, error handling, and work-item operation SOPs.
16
+
17
+ ### Fixed
18
+
19
+ - Commands now report all missing required flags and positional arguments in one `CLIENT_MISSING_REQUIRED` error, in stable command-definition order, instead of failing one parameter at a time. Single-item wording, exit code, retryability, and help suggestions remain unchanged; JSON, NDJSON, and table error output all preserve the complete list.
20
+
21
+ ## [v1.0.19] - 2026-08-04
22
+
23
+ ### Fixed
24
+
25
+ - JSON and NDJSON output now keep URL query separators such as `&` literal instead of escaping them as `\u0026`, so returned login and verification URLs can be copied directly.
26
+
11
27
  ## [v1.0.18] - 2026-07-24
12
28
 
13
29
  ### Added
package/README.md CHANGED
@@ -519,6 +519,16 @@ Each command takes parameters via `--flag-name`:
519
519
  meegle workitem get --work-item-id 12345 --project-key PROJ
520
520
  ```
521
521
 
522
+ If one invocation omits multiple required flags or positional arguments, the
523
+ CLI reports every missing input in a single `CLIENT_MISSING_REQUIRED` error,
524
+ in the same order as the command definition. A single missing input keeps the
525
+ original singular message.
526
+
527
+ ```text
528
+ $ meegle workflow list-state-transitions --project-key demo --work-item-id 1 --dry-run
529
+ missing required parameters: --user-key, --work-item-type
530
+ ```
531
+
522
532
  ### --set key=value (Generic)
523
533
 
524
534
  `--set` is an alternate syntax for writing **top-level** parameters — `--set key=value` is equivalent to typing `--key value`. Useful when scripting with a uniform `key=value` form, or for writing nested top-level params via dot-path. Values are auto-typed (int / float / bool / string).
package/README.zh-CN.md CHANGED
@@ -510,6 +510,14 @@ meegle user search --user-keys "张三,李四" --project-key PROJ
510
510
  meegle workitem get --work-item-id 12345 --project-key PROJ
511
511
  ```
512
512
 
513
+ 一次调用如果缺少多个必填 flag 或位置参数,CLI 会按命令定义顺序在同一个
514
+ `CLIENT_MISSING_REQUIRED` 错误中列出全部缺失项;只缺一个输入时仍保留原有单数文案。
515
+
516
+ ```text
517
+ $ meegle workflow list-state-transitions --project-key demo --work-item-id 1 --dry-run
518
+ missing required parameters: --user-key, --work-item-type
519
+ ```
520
+
513
521
  ### --set key=value(通用)
514
522
 
515
523
  `--set` 是普通 flag 的**替代写法**,只影响**顶层参数**:`--set key=value` 等价于 `--key value`。适合在脚本里用统一的 key=value 语法,或通过 dot-path 写嵌套顶层对象。值自动类型推断(int / float / bool / string)。
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.18",
3
+ "version": "1.0.20",
4
4
  "description": "Agent-First CLI for Meegle (Lark Project)",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/larksuite/meegle-cli#readme",