clavue-v1 1.85.0 → 1.85.1

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
@@ -4,6 +4,15 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
4
4
 
5
5
  格式约定(`parseChangelog` 依赖):二级标题为 `## <版本> - <日期>`,条目以 `- ` 开头,一行一条,命令与模型名保留英文。
6
6
 
7
+ ## 1.85.1 - 2026-11-24
8
+
9
+ - **`clavue-5.5` / `clavue-5.5-fast` 与 Drex v1.5 JEV 全链路客户端适配 + 6 项核心 Bug 修复(#334 / #335 / #336 / #290 / #293 / #294):**
10
+ - **`clavue-5.5`(Inkling-2-Mini)与 `clavue-5.5-fast`(Qwen3.5-9B 非思考)原生支持**:注册精确上下文与输出预算(`clavue-5.5` 128K / 40K、`clavue-5.5-fast` 65,536 / 16,384),阻止 131072 占位值膨胀 65K/128K 注册窗口;保留流式 `stream_options.include_usage` 与 `tool_choice: "auto"`;将 `clavue-5.5` 默认思考深度降至 `medium`/`low`(避免默认 `high` 烧空输出)、纳入客户端思考预算看门狗并排除非思考 `clavue-5.5-fast`;修复 `streamTranslator.ts` / `responseBuilders.ts` 中 `getString(reasoning_content) ?? getString(reasoning)` 静默丢弃 Inkling `reasoning` 字段的高危缺陷;补齐 Inkling 分词密度估算、92K 预压缩线、快首字节超时曲线、`inkling` 跨家族画像、任务能力表与分类器 4s 先验。
11
+ - **Drex v1.5 `clavue-jev` 适配与防盲放护栏**:自托管 `/v1/systemone` 端点原样保留并识别为单次 Pack(仅官方 `api.clavue.com` 重写 `/v1/judge`);`composeDelivery` 与 `maybeJudgeDelivery` 增加纯代码 `truncatedMutations` 护栏,改动列表截断(`mutations_total > mutations.length`)时拒绝盲目 `ship` 并强制触发审阅。
12
+ - **修复传输方言、认证覆盖与 CLI 解析缺陷(#334 / #335 / #336)**:严格尊重 `CLAVUE_API_DIALECT=openai_completions`(含 `snapshot=none` 与 `api.clavue.com`),修复 `clavueSdk.streamMessage` 与 `api.clavue.com` 上 `/v1/responses` 404/405/501 回退 `/v1/chat/completions`、保留端点 `unsupported_route` 提示不再误报模型不存在、并确保错误及 `--json-schema` 失败输出非空 `result`(#334);新增 `explicitRoutingEnv.ts` 保护 shell env 与 `--settings` 传入的 `CLAVUE_BASE_URL` / `CLAVUE_API_KEY` / `CLAVUE_API_DIALECT` 不被旧 `userSettings` 或不匹配 active profile 凭证/快照/routeId 覆盖(#335);将 `--tools <tools>` 改为可重复单值选项,修复 `-p --tools "" "<prompt>"` 吞掉位置提示词(#336)。
13
+ - **补齐 3 处运行时主路径接线(#293 / #294 / #290)**:主对话写入 `SessionStorage.appendToFile` 与 `flushPendingSync` 接入 100MB `archiveTranscriptIfOverSoftCap` 轮转(#293);`loadSessionFile` 接入 `findSessionFileAcrossProjects` 支持跨目录 `--resume <uuid>` 并记录 cwd 差异提示(#294);独立 `-p` 模式(`print.ts` + `runResult.ts`)接通 `noteModelWaitStart` / `noteFirstByte` 与 `createSelfStopWatchdog` 自停看门狗(#290)。
14
+ - English: Full `clavue-5.5` (Inkling-2-Mini), `clavue-5.5-fast` (Qwen3.5-9B non-thinking), and Drex v1.5 JEV client support plus 6 bug fixes (#334, #335, #336, #290, #293, #294): registers `clavue-5.5` (128K/40K) and `clavue-5.5-fast` (65,536/16,384) with 131072-placeholder guards, `stream_options.include_usage`, `medium`/`low` default effort & reasoning-budget guard for `clavue-5.5`, fixes `getString(reasoning_content) ?? getString(reasoning)` silently dropping Inkling `reasoning`, adds Inkling token density, 92K pre-send compact cap, tight TTFT curves, `inkling` family/capability/4s classifier priors, preserves self-hosted `/v1/systemone` single-POST Pack and adds a pure-code `truncatedMutations` ship-refusal guard; honors explicit `CLAVUE_API_DIALECT=openai_completions` even with `snapshot=none` and on `api.clavue.com`, fixes `/v1/responses` 404/405/501 fallback to `/v1/chat/completions` on both streaming and non-streaming requests, surfaces endpoint-404 errors clearly and populates non-empty `result` on error/--json-schema failures (#334); isolates explicit env/`--settings` `CLAVUE_BASE_URL` & `CLAVUE_API_KEY` overrides from stale saved profiles and cached snapshots (#335); changes `--tools <tools>` to a repeatable single-arg option so positional `[prompt]` is not consumed (#336); and wires live 100MB transcript rotation into `appendToFile`/`flushPendingSync` (#293), cross-project UUID lookup into `loadSessionFile` (#294), and `noteModelWaitStart`/`noteFirstByte`/`createSelfStopWatchdog` into standalone `-p` (#290).
15
+
7
16
  ## 1.85.0 - 2026-11-24
8
17
 
9
18
  - **过程性经验记忆 + Harness 触发式按需召回 + `pass^k` 一致性评测闭环(实现 #332 / #333):**
package/README.md CHANGED
@@ -95,7 +95,7 @@ clavue-v1 --version
95
95
  Pin a version:
96
96
 
97
97
  ```bash
98
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.85.0/install.sh | bash -s -- 1.85.0
98
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.85.1/install.sh | bash -s -- 1.85.1
99
99
  ```
100
100
 
101
101
  Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -106,7 +106,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
106
106
  npm install -g clavue-v1
107
107
  # or one-shot:
108
108
  npx -y clavue-v1
109
- npx -y clavue-v1@1.85.0 --version
109
+ npx -y clavue-v1@1.85.1 --version
110
110
  ```
111
111
 
112
112
  One-line global install via the package (npm / unpkg):
@@ -118,7 +118,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
118
118
  Install a specific version globally:
119
119
 
120
120
  ```bash
121
- curl -fsSL https://unpkg.com/clavue-v1@1.85.0/install.sh | bash -s -- 1.85.0
121
+ curl -fsSL https://unpkg.com/clavue-v1@1.85.1/install.sh | bash -s -- 1.85.1
122
122
  ```
123
123
 
124
124
  ```bash