瀏覽代碼

chore: 合并 PR #42 中文数字章号修复 + 版本号升级至 v3.0.7

Mochocyang 2 月之前
父節點
當前提交
2cde25df5e
共有 5 個文件被更改,包括 22 次插入 和 4 次删除
  1. 1 1
      package.json
  2. 1 1
      src-tauri/Cargo.lock
  3. 1 1
      src-tauri/Cargo.toml
  4. 1 1
      src-tauri/tauri.conf.json
  5. 18 0
      src/lib/changelog.ts

+ 1 - 1
package.json

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

+ 1 - 1
src-tauri/Cargo.lock

@@ -5825,7 +5825,7 @@ checksum = "e0c5ccf5294c6ccd63a74f1565028353830a9c2f5eb0c682c355c471726a6e3f"
 
 [[package]]
 name = "qmai"
-version = "3.0.6"
+version = "3.0.7"
 dependencies = [
  "arrow-array",
  "arrow-schema",

+ 1 - 1
src-tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "qmai"
-version = "3.0.6"
+version = "3.0.7"
 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.0.6",
+  "version": "3.0.7",
   "identifier": "com.qingmuai.writer",
   "build": {
     "beforeDevCommand": "npm run dev",

+ 18 - 0
src/lib/changelog.ts

@@ -7,6 +7,21 @@ export interface ChangelogEntry {
   };
 }
 
+const THREE_POINT_ZERO_SEVEN_CHANGELOG: ChangelogEntry = {
+  version: "3.0.7",
+  date: "2026-08-04",
+  highlights: {
+    en: [
+      "[Chinese Chapter Number Routing Fix] Unified task router chapter number token parsing so Chinese number commands like '编写第五章' / '生成第五章' now hit write_chapter with the same high confidence as Arabic numerals. Also fixed continuation/rewrite/polish/review intents and hasExplicitLaterChapterNumber for Chinese chapter numbers. (Merged from PR #42, thanks @darknessomi)",
+      "[Dismantling Library Unstable] The dismantling library is currently unstable; usage is not recommended until stabilized.",
+    ],
+    zh: [
+      "【中文数字章号识别修复】统一任务路由章号 token,使「编写第五章」/「生成第五章」等中文数字指令与阿拉伯数字一样高置信命中写章任务。同步修复续写/改写/润色/审稿意图及 hasExplicitLaterChapterNumber 对中文章号的支持(合并自 PR #42,感谢 @darknessomi 贡献)",
+      "【拆书库不稳定】拆书库目前不稳定,建议暂不使用,待后续版本修复稳定后恢复",
+    ],
+  },
+};
+
 const THREE_POINT_ZERO_SIX_CHANGELOG: ChangelogEntry = {
   version: "3.0.6",
   date: "2026-08-03",
@@ -1020,6 +1035,8 @@ export const CHANGELOG: ChangelogEntry[] = [
 ];
 
 export function currentVersionChangelog(version: string): ChangelogEntry[] {
+  if (version === THREE_POINT_ZERO_SEVEN_CHANGELOG.version)
+    return [THREE_POINT_ZERO_SEVEN_CHANGELOG];
   if (version === THREE_POINT_ZERO_SIX_CHANGELOG.version)
     return [THREE_POINT_ZERO_SIX_CHANGELOG];
   if (version === THREE_POINT_ZERO_FIVE_CHANGELOG.version)
@@ -1103,6 +1120,7 @@ export function currentVersionChangelog(version: string): ChangelogEntry[] {
 
 export function allChangelog(): ChangelogEntry[] {
   return [
+    THREE_POINT_ZERO_SEVEN_CHANGELOG,
     THREE_POINT_ZERO_SIX_CHANGELOG,
     THREE_POINT_ZERO_FIVE_CHANGELOG,
     THREE_POINT_ZERO_FOUR_CHANGELOG,