@lark-project/meegle 1.0.16 → 1.0.17

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.17] - 2026-07-20
12
+
13
+ ### Fixed
14
+
15
+ - Serialized store-backed OAuth refresh across CLI processes, rejected HTTP 200 error envelopes that omit `access_token`, retried requests with the newly persisted token, and guarded terminal-401 cleanup so a stale process can no longer overwrite or delete fresh credentials ([#40](https://github.com/larksuite/meegle-cli/issues/40)).
16
+
11
17
  ## [v1.0.16] - 2026-07-07
12
18
 
13
19
  ### Fixed
package/README.md CHANGED
@@ -776,6 +776,11 @@ JSON output example (`auth status --format json`) on a rejected token:
776
776
  {"authenticated": false, "host": "meegle.com", "reason": "token rejected by server"}
777
777
  ```
778
778
 
779
+ For credentials managed by `meegle auth login`, token refresh is serialized
780
+ across CLI processes that share a profile. Invalid refresh responses are
781
+ rejected without overwriting the previous credentials, and a late 401 from an
782
+ older process cannot clear a token that another process has already refreshed.
783
+
779
784
  ## Configuration
780
785
 
781
786
  ### Config File
package/README.zh-CN.md CHANGED
@@ -751,6 +751,10 @@ JSON 输出示例(`auth status --format json`),token 被拒:
751
751
  {"authenticated": false, "host": "meegle.com", "reason": "token rejected by server"}
752
752
  ```
753
753
 
754
+ 对于 `meegle auth login` 管理的凭据,共用同一 profile 的多个 CLI 进程会串行执行
755
+ token refresh。无效的刷新响应不会覆盖原凭据,旧进程晚到的 401 也不会清除其他进程
756
+ 刚刷新成功的新 token。
757
+
754
758
  ## 配置
755
759
 
756
760
  ### 配置文件
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.16",
3
+ "version": "1.0.17",
4
4
  "description": "Agent-First CLI for Meegle (Lark Project)",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/larksuite/meegle-cli#readme",