Conversation
Restore unlocked-volume title pick and include stories in conversation snapshots.
…ng, no auto blank session
…ng, no auto blank session
Thinking models were dumping chain-of-thought as the book name. Parse only quoted or cued titles, prefer a non-thinking model, and always fall back to a local title bank so naming cannot fail.
…elf app Picking a dialogue suggestion now sends that action. README lists the bookshelf product. Core parser tests cover titles, scene options, and export.
Drop the paper title slab. Long names wrap to a second vertical column on a right-side glass veil so the art stays visible.
Roster used to fill only after a 90% context compress. Detail now shows the protagonist and has 从正文整理 to extract speaking roles.
Clear the custom title bar, widen the grid and reading column, split book detail into two panes, and add Esc / Ctrl+N / Ctrl+F / Ctrl+, .
Live window pass showed the shelf and onboarding work; welcome still said 进入对话. Loop is detect, static, live, one fix, then ship.
Live-tested empty shelf, start flow, settings tabs, and Esc on 0.3.1. Launch via orca terminal so computer-use can attach.
Thinking and web search stay off unless the user turns them on. Enabling a model selects it immediately. Blank drafts keep an untitled name. Resume chip only appears when reopening a book. Author notes are stripped from story text. Deleting the open book returns to the shelf.
NSIS and MSI copied to releases/ (not committed).
Module map, new features, fixes, and 0.3.2 desktop notes.
Owner
|
感谢提交 · 暂不合并 · 保留参考 说明:本条留言由我的 AI 助手代为起草、撰写,并经我本人确认后发布。 感谢你提交这版,以及那份很详细的提交报告,我认真看过了。 目前的决定是:暂不合并,但也不关闭这个 PR,保留作参考。 另外说明一下:这版代码的审查由我的 AI 助手完成,审查中发现了一些问题,主要集中在:
这些问题 AI 已经在一版本地分支上修好了。如果这个方向你还想继续推进,可以把修复内容整理给你参考,或提供修复后的分支。 再次感谢你的工作。 |
Author
|
好的,希望能给你一些借鉴和参考 |
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.
仓库内全文:
docs/app/submission-report.md(本 PR 最新提交118b381)。灵叙 Narra · vdnight 提交报告
本文汇总本线相对上游做了哪些产品改动、动了哪些模块、加了什么、修了什么。原则没变:不抄书源;家是书架,书是故事,对话是书的内部,作品是导出层。
1. 这一条线在改什么
上游
master仍是「会话 / 对话优先」:打开应用容易直接进当前聊天。vdnight(由已删除的APP并入)改成 故事优先:空白稿纸也是书,只是分组叫「稿纸」,避免两套首页。
仓库只保留
master与vdnight。安装包不入库,哈希写在 README。2. 按模块:改了什么
2.1 领域与数据
src/types/index.tsStory:状态、规则书、文风、主角、题材、世界底座、字数、置顶、简介等src/lib/db.tsstories表、一次性迁移、软删 / 恢复 / 过期清理、会话挂storyIdsrc/lib/storyMigrate.tssrc/stores/storyStore.tssrc/stores/sessionStore.tssrc/stores/uiStore.tsappPhase:bookshelf/reading/onboardingsrc/lib/settingsBackup.ts2.2 导航与壳
src/components/Layout/AppShell.tsxappPhase切书架 / 阅读 / 开局;联网只在库里显式为开时才开src/components/Layout/WelcomeScreen.tsxsrc/hooks/useDesktopHotkeys.tsEsc分层返回,Ctrl+N新故事,Ctrl+F搜书架,Ctrl+,设置src/components/Layout/TitleBar.tsx(沿用)2.3 书架
新建
src/components/Bookshelf/:2.4 开局
src/components/Onboarding/OnboardingFlow.tsxsrc/components/Onboarding/TopicSelect.tsxsrc/components/Onboarding/WorldSelect.tsx三步仍是:题材 → 世界 / 文风 → 主角与开局场景。另有「同世界再开一本」「随机开局」。
2.5 书内阅读
src/components/Chat/DialogueNovel.tsxsrc/components/Chat/ChapterSheet.tsxsrc/components/Chat/ReaderSettings.tsxsrc/components/Chat/FunctionBar.tsxsrc/lib/readerPrefs.ts2.6 生成、场景、书名
src/hooks/useChat.tssrc/lib/sceneAnalyzer.tssrc/lib/sceneTemplate.tsstripDraftNotes去掉伏笔 / 新钩子 / 等下要加src/lib/storyTitle.tssrc/lib/characterExtract.tssrc/components/Settings/ProviderConfig.tsxsetActiveProvider+setActiveModel2.7 导出与作品层
src/lib/storyExport.ts2.8 视觉与资源
src/assets/art/:欢迎、空书架、稿纸、十余种世界 / 题材插画src/lib/worldArt.ts、src/lib/storyCover.ts:封面与底座配色src/components/icons/NarraIcon.tsx:书架用线标src-tauri/icons/:启动器图标换成墨色标识src/index.css:书架、封面、桌面宽屏、阅读纸面、详情分栏2.9 桌面壳与开发回路
src-tauri/tauri.conf.jsonscripts/dev-desktop.ps1tauri:dev.grok/workflows/desktop-dev-loop.rhaidocs/app/desktop-dev-loop.mdStart-Process启动旧 APP 双回路已退役,只留桌面回路。
2.10 文档与校验
docs/app/product-spec.md、bookshelf-design.md、designs/01–12README.md、CHANGELOG.md、AGENTS.md主线改为vdnightscripts/test-core.mjs、scripts/test-story-title.mjs:书名、场景推荐、导出、作者备忘剥离3. 新增能力(相对上游用户能看见的)
4. 优化与修复
交互与默认
生成质量
content时也能解析。版面与性能观感
5. 版本与交付
桌面安装包(不入库,哈希见 README):
Narra_0.3.2_x64-setup.exeB41035C00DE70AB293DA9F207744585DF9CF202280C4A678C775A2CB2DC775C0Narra_0.3.2_x64_zh-CN.msiE8422501623C9148ACB9FB4F55A8BBC8BCD1ED4057A7A7A4E92DE4940213A062本轮未打安卓 APK。安卓资源仍须重编
.so(generate_context!嵌入),只换 assets 无效。校验:
npx tsc --noEmit、node scripts/test-core.mjs、桌面真窗口走通开局 / 书内 / 详情 / 书架 / 设置。6. 明确没做、也不进本 PR
releases/安装包本体、安卓gen/工程7. 给审查的读法
若只看产品:先 README「这一版(0.3.2)你能做什么」,再本报告第 3、4 节。
若只看代码:
storyStore+Bookshelf/+DialogueNovel+storyTitle+storyExport。若只看 0.3.2 修补:
CHANGELOG2026-08-17 一节。