fix(ui): make chapter bridge manual-only and add release gate

Remove auto chapter-bridge prompt on book/chapter open so users trigger it from the cockpit. Fix AiPanel duplicate import that broke dev builds, and add release smoke tests plus test:release/test:ci scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-09 19:09:18 +08:00
parent 8e5045b882
commit 958bb18539
9 changed files with 146 additions and 14 deletions
+2
View File
@@ -10,6 +10,8 @@
"preview": "npx electron-vite preview",
"test": "node node_modules/vitest/vitest.mjs run",
"test:watch": "node node_modules/vitest/vitest.mjs",
"test:release": "npm run build && node node_modules/vitest/vitest.mjs run tests/release && npx playwright test e2e/release-smoke.spec.ts",
"test:ci": "npm run build && npm run test && npm run test:e2e",
"test:e2e": "playwright test"
},
"keywords": [],