Repository navigation
NovelForge v0.1.7-beta.3(公测)
Pre-release
Pre-release
·
284 commits
to master
since this release
NovelForge v0.1.7-beta.3(公测)
⚠️ 公测版:功能已完整,仍在收集反馈。追求稳定请用 v0.1.6 正式版。
✨ 新增
- 全局思考等级:状态栏新增四档思考等级(关闭 / 低 / 高 / 最高),一次设定作用于写作、审稿与 Agent 的全部调用,默认「高」
- 更新系统重做:改为直连 GitHub Releases 检查新版本(启动 10 秒后自动查、之后每 6 小时一次),内置下载器支持多路测速选路、断点续传与完整性校验,可后台下载,装完提示重启
- 上下文按模型分档:强模型少压缩、弱模型多给脚手架,历史预算 / 工具契约 / 记忆注入按模型能力自动分档;历史上限放开为 300K / 600K / 1M 三挡,按模型窗口自动选取
- 弱模型兜底:没写 @ 也能自动召回相关作品记忆;正在进行的任务每轮固定贴在系统提示末尾、不会被压缩吞掉;模型「自认为完成」时补一次提醒,避免多步请求只做一半
- 自学习压缩与保真检查:压缩策略按「时机 / 内容 / 省略」三路反馈自动微调,不额外调用模型(默认关闭、可一键重置);压缩后检查人名、章节号、写入目标的保留率,掉太多会在批次卡上标注
- 章节看板与活页夹重排:新标签页提供列表 / 卡片 / 大纲 / 时间线四种视图(字数、状态、角色与角色反链);章节可拖到别的卷、卷内拖动排序,也支持 Alt + 方向上/下键
- 版本快照、实验分支与 Agent 改稿:自动与手动快照进入版本历史,同一章可分多条实验分支(创建 / 切换 / 合并 / 归档);Agent 也能直接读取、编辑、写入草稿,改前自动留快照、写入带冲突检测,改完编辑器同步刷新
- 工具调用兼容:适配 DeepSeek V4.1 原生工具调用,工具调用不再以源码文本漏进正文;同时兼容 Qwen 一类模型的裸 JSON 工具调用
🐛 修复
- 对话统计不再说谎:新会话首轮的前缀基线与缓存命中沿用了上一会话数据,「前缀稳定 / 已变化」显示错误;只发生硬截断的会话计数也始终不落盘,设置页「截断 N」停在旧值 —— 现已按会话隔离并如实记录
- 压缩卡片与学习状态:重新生成压缩摘要失败后界面没有任何反馈,切换界面语言后回执被当成正文重复渲染;设置页保存学习开关会整段覆盖、抹掉聊天的累积统计,「重置学习数据」补上二次确认
- 模型路由在设置页早于 AI 面板打开时保存无效(勾好模型、点保存没有反应)
- 工具契约预算写死,工具一多后半段只剩名字与签名,改为随工具数伸缩
- 更新下载会阻塞主进程、重复点击可并发下载,前台关窗后完成提示丢失
- 浅色 / 纸张 / 银河主题下次要文字与状态栏文字对比度不足,已抬到 WCAG AA 4.5:1
⚠️ 调整
- 模型级「温度」设置取消:改由全局思考等级统一决定;旧六档(快速 / 灵动 / 平衡 / 深思 / 深度 / 极限)精简为四档,旧设置自动回落到默认「高」
- 历史预算默认上限上调:64K → 300K 起(按模型窗口自动分 300K / 600K / 1M),长对话会更晚触发压缩
- 更新入口只保留在状态栏:窗口顶部更新横幅移除,设置页只留「检查更新」;更新器不再依赖 electron-updater
- 正文默认排版变更:17px 字号、760px 栏宽、1.8 行高,行号与拼写红线默认关闭
- 数据库自动升级 v19 → v22:新增快照、实验分支、场景表与卷成员字段,首次启动旧项目会自动迁移,无需手动处理;重要项目建议迁移前备份
- 工具步骤语义统一:一轮对话内的「工具次数」改称「步骤」(一次模型请求 + 该步全部工具调用),只读工具可并行,写操作与确认仍串行
- 移除 Monaco 相关依赖:两个零调用方的 diff 组件一并删除,安装包体积变小
🎨 优化
- 日志列表改为虚拟滚动,Agent 与编辑器改用原子订阅、Tab 条独立渲染,流式输出期间不再整页重渲染
- Agent 执行进度与上下文读数改为「实发」口径,面板显示与真实请求一致;token 引擎降级会在明细里显式提示
- 交互与可达性:状态栏、工具栏、侧栏按钮补齐读屏标签与键盘可达,字号下限提到 11px,保存入口统一为图标按钮
- 设置页与通知中心收敛:更新相关操作统一到状态栏,通知中心只负责「正在执行 / 更新 / 任务结果」三类消息
⚠️ 已知问题
- 更新检查直连 GitHub,网络受限的环境可能拉不到版本信息,可改用「打开发布页」手动下载
- 写作、Agent 与语义检索依赖外部模型服务;离线语义检索需要先下载本地向量模型(Ollama)
- 实验分支的合并只覆盖章内草稿,跨章批量操作暂无入口
- 章节拖拽重排以鼠标或 Alt + 方向键为主,触屏手势尚未提供
测试记录:2996 项全量通过 · CI 三平台全绿
完整更新日志:CHANGELOG
NovelForge v0.1.7-beta.3 (Public Beta)
⚠️ Public beta: feature-complete, still collecting feedback. For stability, use v0.1.6 (stable).
✨ New Features
- Global thinking level: a four-step control (Off / Low / High / Max) in the status bar now governs drafting, review and every agent call at once; defaults to High
- Rewritten update system: checks GitHub Releases directly (10s after launch, then every 6 hours), with a built-in downloader offering multi-route speed testing, resume and integrity checks; downloads can run in the background and prompt for a restart
- Context budgets by model tier: strong models compact less, weaker models get more scaffolding — history budget, tool contracts and memory injection now scale with model capability; the history ceiling opens up to 300K / 600K / 1M, picked automatically from the model's window
- Safety nets for weaker models: relevant story memory is recalled even without an explicit @ mention; the in-progress task stays pinned at the end of the system prompt so compaction cannot swallow it; and a model that stops early on a multi-step request gets one reminder
- Self-learning compaction with fidelity checks: compaction adapts on three signals (timing / content / omission) using local rules only, with no extra model calls (off by default, one-click reset). Each compressed batch is checked for how many people, chapter numbers and write targets survived, and flags the card when too much was lost
- Chapter board and binder reordering: a new tab offers list, card, outline and timeline views with word counts, status, characters and backlinks; chapters can be dragged between volumes or reordered in place, or moved with Alt + Up/Down
- Snapshots, experiment branches and agent-authored drafts: automatic and manual snapshots now feed the version history, and a chapter can carry several experimental branches you can create, switch to, merge or archive; the agent can also read, edit and write drafts directly, with a pre-edit snapshot, write-time conflict detection and an editor that refreshes to match
- Tool-call compatibility: DeepSeek V4.1 native tool calls are supported, so tool calls no longer leak into the prose as raw text; bare-JSON tool calls from models such as Qwen are handled too
🐛 Bug Fixes
- Conversation statistics no longer lie: a new conversation inherited the previous session's prefix baseline and cache-hit counters, so "prefix stable / changed" was wrong; sessions that only hit hard truncation never persisted their counters, leaving "truncated N" frozen in settings. Both are now scoped per conversation and recorded truthfully
- Compaction cards and learning state: regenerating a summary failed with no visible feedback, and after switching UI language the receipt line was rendered as prose; saving the learning toggle in settings overwrote everything and dropped the statistics accumulated during the conversation, so resetting learning data now asks for confirmation
- Model routing silently failed to save when settings were opened before the AI panel (models picked, saving did nothing)
- The tool-contract budget was a fixed number, so later tools were reduced to name and signature once you had many; it now scales with the tool count
- Update downloads blocked the main process, could run concurrently on repeated clicks, and lost their completion notice when the foreground dialog was closed
- Secondary and status-bar text failed contrast in the light, paper and galaxy themes; raised to WCAG AA 4.5:1
⚠️ Changes
- Per-model temperature is gone: the global thinking level decides it. The old six levels (Quick / Swift / Balanced / Reflective / Deep / Max) are now four, and existing settings fall back to the default High
- Higher default history budget: 64K → 300K and up (300K / 600K / 1M by model window), so long conversations hit compaction later
- Updates live only in the status bar: the top-of-window banner is removed and settings keeps just "Check for updates"; the updater no longer uses electron-updater
- New default writing typography: 17px text, 760px column, 1.8 line height; line numbers and spellcheck underlines are off by default
- Database migrates automatically from v19 to v22: adds snapshot, experiment-branch and scene tables plus volume membership; existing projects upgrade on first launch with no manual step — back up important projects before upgrading
- Unified tool-step semantics: "tool calls per turn" is now "steps" (one model request plus all of its tool calls); read-only tools run in parallel while writes and confirmations stay serial
- Monaco dependencies removed: two diff components with no remaining callers were deleted, shrinking the installer
🎨 Improvements
- The log list is virtualized and the agent and editor use atomic subscriptions with an independently rendered tab strip, so streaming no longer re-renders whole panels
- Agent progress and context readings now use the actual-sent figures, matching what the panel shows to the real request; tokenizer degradation is called out explicitly in the breakdown
- Interaction and accessibility: status bar, toolbar and sidebar buttons gained screen-reader labels and keyboard access, the type-size floor moved to 11px, and save actions became icon buttons
- Settings and the notification center were tightened up: all update actions live in the status bar, and the center covers exactly three kinds of messages — running work, updates and task results
⚠️ Known Issues
- Update checks contact GitHub directly; restricted networks may not reach it, so "Open release page" is the manual fallback
- Writing, the agent and semantic search depend on external model services; offline semantic search requires downloading a local embedding model (Ollama) first
- Merging experiment branches covers in-chapter drafts only; batch operations across chapters are not available yet
- Chapter reordering relies on the mouse or Alt + arrow keys; touch gestures are not supported yet
Tests: 2996 passing · CI green on all three platforms
Full changelog: CHANGELOG