feat: ship v0.3.0 with P2.1 editor polish and P3 AI collaboration

Add chapter reorder, search replace, inspiration capture, and AI chat with context editing, settings, offline handling, and naming checks. Fix dev black screen by keeping process.env reads in the main process only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-06 16:33:56 +08:00
parent 0b5aa146bd
commit 8ce35a1e8e
59 changed files with 3808 additions and 100 deletions
+12 -4
View File
@@ -1,6 +1,12 @@
# 笔临 (Bilin)
长篇创作智能协作平台 — Electron 桌面客户端 v0.2.0P2
长篇创作智能协作平台 — Electron 桌面客户端 v0.3.0P2.1 + P3
## 功能概览(v0.3.0
- 章节拖拽、全局搜索替换、灵感捕获、`@` 跳转、引用钉住(P2.1
- AI 对话助手:会话持久化、流式输出、上下文编辑、快捷命令(P3)
- AI 设置页、命名一致性检查、离线降级、AI 快照(P3)
## 开发
@@ -15,13 +21,15 @@ npm run dev
```bash
npm run build
npm run test # 单元测试
npm run test # 单元 / 集成测试
npm run test:e2e # E2E 测试(需先 build
```
**AI 相关测试前置条件**:本地 [LM Studio](http://127.0.0.1:1234) 需运行,模型默认 `gemma-4-e4b-it`(可通过环境变量 `BILIN_AI_MODEL` / `BILIN_AI_BASE_URL` 覆盖)。
## 文档
- P2.1 + P3 设计规格:`docs/superpowers/specs/2026-07-07-bilin-p21-p3-design.md`
- P2.1 + P3 实现计划:`docs/superpowers/plans/2026-07-07-bilin-p21-p3.md`
- P2 设计规格:`docs/superpowers/specs/2026-07-06-bilin-p2-design.md`
- P2 实现计划:`docs/superpowers/plans/2026-07-06-bilin-p2.md`
- P0/P1 设计规格:`docs/superpowers/specs/2026-07-05-bilin-p0-p1-design.md`
- UI 原型:`design/ui_pc.html`