Просмотр исходного кода

release: 升级版本至 3.2.16

严格模式按需局部改、短任务书整份重生成、侧栏提取显示修复,以及命中率不再虚高。
darknessomi 3 дней назад
Родитель
Сommit
752cb607bf
7 измененных файлов с 29 добавлено и 7 удалено
  1. 2 2
      package-lock.json
  2. 1 1
      package.json
  3. 1 1
      src-tauri/Cargo.lock
  4. 1 1
      src-tauri/Cargo.toml
  5. 1 1
      src-tauri/tauri.conf.json
  6. 1 1
      src/lib/changelog.spec.ts
  7. 22 0
      src/lib/changelog.ts

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "qmai",
-  "version": "3.2.15",
+  "version": "3.2.16",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "qmai",
-      "version": "3.2.15",
+      "version": "3.2.16",
       "license": "GPL-3.0-or-later",
       "dependencies": {
         "@base-ui/react": "^1.7.0",

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "qmai",
   "private": true,
-  "version": "3.2.15",
+  "version": "3.2.16",
   "license": "GPL-3.0-or-later",
   "type": "module",
   "scripts": {

+ 1 - 1
src-tauri/Cargo.lock

@@ -5821,7 +5821,7 @@ checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
 
 [[package]]
 name = "qmai"
-version = "3.2.15"
+version = "3.2.16"
 dependencies = [
  "arrow-array",
  "arrow-schema",

+ 1 - 1
src-tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "qmai"
-version = "3.2.15"
+version = "3.2.16"
 description = "QMAI - AI writing system for long-form novels"
 authors = ["Mochocyang"]
 edition = "2021"

+ 1 - 1
src-tauri/tauri.conf.json

@@ -1,7 +1,7 @@
 {
   "$schema": "https://schema.tauri.app/config/2",
   "productName": "QMaiWrite",
-  "version": "3.2.15",
+  "version": "3.2.16",
   "identifier": "com.qingmuai.writer",
   "build": {
     "beforeDevCommand": "npm run dev",

+ 1 - 1
src/lib/changelog.spec.ts

@@ -6,7 +6,7 @@ describe("changelog", () => {
     const entries = allChangelog()
     const versions = entries.map((entry) => entry.version)
 
-    expect(versions.slice(0, 3)).toEqual(["3.2.15", "3.2.14", "3.2.13"])
+    expect(versions.slice(0, 3)).toEqual(["3.2.16", "3.2.15", "3.2.14"])
     expect(versions).toContain("3.0.9")
     expect(versions).toContain("2.2.37")
     expect(versions).toContain("2.1.0")

+ 22 - 0
src/lib/changelog.ts

@@ -7,6 +7,25 @@ interface ChangelogEntry {
   };
 }
 
+const THREE_POINT_TWO_SIXTEEN_CHANGELOG: ChangelogEntry = {
+  version: "3.2.16",
+  date: "2026-09-08",
+  highlights: {
+    en: [
+      "[Strict Mode Local Edits] Strict mode stage 6 no longer de-AIs the whole draft when review is clean; it only patches remaining problem spots from the checklist.",
+      "[Short Task Brief Regenerates] A task brief under 100 characters is treated as a failed generation and rebuilt from scratch, including the no-draft recovery path.",
+      "[Sidebar Extract Display] De-AI runs count as in-progress and rise to the top of the list; finished extracts keep only the latest three. The unused Activity panel is gone.",
+      "[Cache Hit Rate Cap] Cacheable hit rate no longer counts task-scoped hits, so retries cannot push the rate above 100%.",
+    ],
+    zh: [
+      "【严格模式按需局部改】审稿干净时不再全文去AI味;只在有剩余问题时按清单改问题部分",
+      "【短任务书整份重生成】任务书不足 100 字视为失败并整份重跑,避免用残片写初稿和扩写;无初稿恢复路径同样处理",
+      "【侧栏提取显示修复】去AI味计入运行中并排到顶部,已结束提取只保留最近 3 条;去掉无入口的活动栏",
+      "【命中率不再虚高】可缓存命中率扣除任务级命中,同任务重试后不会超过 100%",
+    ],
+  },
+};
+
 const THREE_POINT_TWO_FIFTEEN_CHANGELOG: ChangelogEntry = {
   version: "3.2.15",
   date: "2026-09-04",
@@ -1511,6 +1530,8 @@ const CHANGELOG: ChangelogEntry[] = [
 ];
 
 export function currentVersionChangelog(version: string): ChangelogEntry[] {
+  if (version === THREE_POINT_TWO_SIXTEEN_CHANGELOG.version)
+    return [THREE_POINT_TWO_SIXTEEN_CHANGELOG];
   if (version === THREE_POINT_TWO_FIFTEEN_CHANGELOG.version)
     return [THREE_POINT_TWO_FIFTEEN_CHANGELOG];
   if (version === THREE_POINT_TWO_FOURTEEN_CHANGELOG.version)
@@ -1646,6 +1667,7 @@ export function currentVersionChangelog(version: string): ChangelogEntry[] {
 
 export function allChangelog(): ChangelogEntry[] {
   return [
+    THREE_POINT_TWO_SIXTEEN_CHANGELOG,
     THREE_POINT_TWO_FIFTEEN_CHANGELOG,
     THREE_POINT_TWO_FOURTEEN_CHANGELOG,
     THREE_POINT_TWO_THIRTEEN_CHANGELOG,