clavue-v1 1.67.4 → 1.67.5

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
@@ -6,6 +6,15 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.67.5 - 2026-11-03
10
+
11
+ 「登录已失效 · 运行 /login」反复出现,但 `/login` 怎么试都没用。
12
+
13
+ - **根因:** `isActiveOfficialCloudRoute()` 只问当前 profile 是不是官方的,不看请求实际发往哪里。`CLAVUE_BASE_URL` 指向第三方网关时,请求确实发给了那个网关,它返回的 401 却仍被判定成官方会话过期——官方 token 一直是有效的。
14
+ - **修复:** 以实际生效的 base URL 为准,只在没有 base URL 时才回退看 profile。中转的 401 现在提示去 `/provider` 改 key,不再提示 `/login`。
15
+ - **测试:** 新增 `tests/auth-failure-message.test.mjs` 的路由判定用例,并确认它在旧实现下会失败。
16
+ - English: the "Signed out · Run /login" row no longer appears for a relay that rejects the key. `isActiveOfficialCloudRoute()` now reads the live base URL instead of only the active profile, so a leftover `CLAVUE_BASE_URL` pointing at a relay produces the `/provider` hint — `/login` cannot fix a relay key.
17
+
9
18
  ## 1.67.4 - 2026-11-03
10
19
 
11
20
  开发过程中被反复要求输入「继续」,以及「需要我执行吗」把一个本该直接做的动作变成自由输入。
package/README.md CHANGED
@@ -90,7 +90,7 @@ clavue-v1 --version
90
90
  Pin a version:
91
91
 
92
92
  ```bash
93
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.67.4/install.sh | bash -s -- 1.67.4
93
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.67.5/install.sh | bash -s -- 1.67.5
94
94
  ```
95
95
 
96
96
  Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -101,7 +101,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
101
101
  npm install -g clavue-v1
102
102
  # or one-shot:
103
103
  npx -y clavue-v1
104
- npx -y clavue-v1@1.67.4 --version
104
+ npx -y clavue-v1@1.67.5 --version
105
105
  ```
106
106
 
107
107
  One-line global install via the package (npm / unpkg):
@@ -113,7 +113,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
113
113
  Install a specific version globally:
114
114
 
115
115
  ```bash
116
- curl -fsSL https://unpkg.com/clavue-v1@1.67.4/install.sh | bash -s -- 1.67.4
116
+ curl -fsSL https://unpkg.com/clavue-v1@1.67.5/install.sh | bash -s -- 1.67.5
117
117
  ```
118
118
 
119
119
  ```bash
@@ -722,7 +722,7 @@ Version check:
722
722
 
723
723
  ```bash
724
724
  npx -y clavue-v1 --version
725
- npx -y clavue-v1@1.67.4 --version
725
+ npx -y clavue-v1@1.67.5 --version
726
726
  # available after a global install; both names are this package
727
727
  clavue --version
728
728
  clavue-v1 --version