ソースを参照

release: 升级版本至 3.2.12

章节工作流预算串扰修复、写作完成系统通知、48K 输出上限,以及 Cursor CLI 模型过滤。
darknessomi 1 週間 前
コミット
7cc7df4fb1

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "qmai",
-  "version": "3.2.11",
+  "version": "3.2.12",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "qmai",
-      "version": "3.2.11",
+      "version": "3.2.12",
       "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.11",
+  "version": "3.2.12",
   "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.11"
+version = "3.2.12"
 dependencies = [
  "arrow-array",
  "arrow-schema",

+ 1 - 1
src-tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "qmai"
-version = "3.2.11"
+version = "3.2.12"
 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.11",
+  "version": "3.2.12",
   "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.11", "3.2.10", "3.2.9"])
+    expect(versions.slice(0, 3)).toEqual(["3.2.12", "3.2.11", "3.2.10"])
     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_TWELVE_CHANGELOG: ChangelogEntry = {
+  version: "3.2.12",
+  date: "2026-09-02",
+  highlights: {
+    en: [
+      "[Chapter Workflow Budget Bleed] Output budgets now follow each stage's actual model window, so a small-window helper model no longer crushes the task brief.",
+      "[Writing Done System Banner] Chapter writing success or failure sends a system notification with sound on Windows/macOS. Planning and user-stop do not notify.",
+      "[48K Output Preset] Settings now include a 48K output token option.",
+      "[Cursor CLI Model Filter] Optional CLI models are filtered against the ACP catalog, HTTP passes the CLI model id, and login is skipped when credentials already exist.",
+    ],
+    zh: [
+      "【章节工作流预算串扰】按各阶段实际模型窗口算输出预算,避免小窗口辅助模型把任务书压太短",
+      "【写作完成系统通知】章节写作完成或失败会发系统横幅,Windows/macOS 带提示音;计划阶段和用户停止不打扰",
+      "【输出上限加 48K】设置里输出 token 可选 48K",
+      "【Cursor CLI 模型可选】按 ACP catalog 过滤能用的 CLI 模型,HTTP 直传 model id,避免对不上就退出;有凭证不再每次弹登录",
+    ],
+  },
+};
+
 const THREE_POINT_TWO_ELEVEN_CHANGELOG: ChangelogEntry = {
   version: "3.2.11",
   date: "2026-08-28",
@@ -1437,6 +1456,8 @@ const CHANGELOG: ChangelogEntry[] = [
 ];
 
 export function currentVersionChangelog(version: string): ChangelogEntry[] {
+  if (version === THREE_POINT_TWO_TWELVE_CHANGELOG.version)
+    return [THREE_POINT_TWO_TWELVE_CHANGELOG];
   if (version === THREE_POINT_TWO_ELEVEN_CHANGELOG.version)
     return [THREE_POINT_TWO_ELEVEN_CHANGELOG];
   if (version === THREE_POINT_TWO_TEN_CHANGELOG.version)
@@ -1564,6 +1585,7 @@ export function currentVersionChangelog(version: string): ChangelogEntry[] {
 
 export function allChangelog(): ChangelogEntry[] {
   return [
+    THREE_POINT_TWO_TWELVE_CHANGELOG,
     THREE_POINT_TWO_ELEVEN_CHANGELOG,
     THREE_POINT_TWO_TEN_CHANGELOG,
     THREE_POINT_TWO_NINE_CHANGELOG,