fix(gui): reliable engine start, model switch, book folder lifecycle#5
Open
xingleiwu wants to merge 2 commits into
Open
fix(gui): reliable engine start, model switch, book folder lifecycle#5xingleiwu wants to merge 2 commits into
xingleiwu wants to merge 2 commits into
Conversation
- Fix headless start/resume when book workspace is missing or phase is init: resolve book cwd, build headless args with --prompt when not resumable. - Align pending_steer path with CLI output/novel/meta layout. - Add stage co-create IPC and multi-turn modal aligned with ainovel-cli: pause writing first, chat for direction, finish then inject stage plan and resume. - Harden cocreate response parsing: strip protocol tags, drop meta-thinking, merge briefs instead of overwriting, keep previous draft on bad model output. - Fix command palette Enter to run highlighted command; /cocreate opens modal. - Fix sidebar active state so export action is not always highlighted. - Add chapter body copy button; enlarge co-create modal layout.
- Wait for CLI process health before reporting start/resume success; surface real errors - Sanitize provider roles for CLI contract; merge model config saves without wiping fields - Write run.json only under output/novel/meta; apply active provider to managed books - Co-create/input/resume flows no longer mask failures with silent fallback starts - Book list: open folder, import copies into managed books dir, delete removes folders and orphans - Model switch modal shows custom providers and syncs active book; role assignment persists valid roles only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
在源码运行实测中修复 GUI 与 CLI 协作的多个问题,提升启动可靠性与书籍目录生命周期管理。
主要改动
引擎启动/恢复
模型配置
oles(仅保留 coordinator/architect/writer/editor)
书籍目录
其它
测试