feat: ship v0.7.0 with AI knowledge context integration

Add semi-automatic knowledge suggestions and user-confirmed injection across chat, interactive, auto, and wizard modes; fix writing flows to persist full systemPrompt in contextJson.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-07 15:33:53 +08:00
parent 2afbb83c43
commit aa2c7dfed3
41 changed files with 1315 additions and 168 deletions
+12 -1
View File
@@ -72,12 +72,17 @@
"ai.untitledSession": "新对话",
"ai.contextPlaceholder": "📎 上下文:尚未配置",
"ai.contextEmpty": "📎 上下文:尚未勾选",
"ai.contextSummary": "📎 上下文:{{chapters}}章 · 大纲{{outlines}}条 · 设定{{settings}}个 · 灵感{{inspirations}}条",
"ai.contextSummary": "📎 上下文:{{chapters}}章 · 大纲{{outlines}}条 · 设定{{settings}}个 · 灵感{{inspirations}}条 · 知识{{knowledge}}条",
"ai.contextEditorTitle": "编辑 AI 上下文",
"ai.contextTab.chapter": "章节",
"ai.contextTab.outline": "大纲",
"ai.contextTab.setting": "设定",
"ai.contextTab.inspiration": "灵感",
"ai.contextTab.knowledge": "知识库",
"ai.contextRefreshSuggest": "刷新推荐",
"ai.contextKnowledgeSuggestTitle": "推荐知识",
"ai.contextKnowledgeAllTitle": "全部已审核知识",
"ai.contextKnowledgeEmpty": "暂无已审核知识条目",
"ai.contextEmptyList": "暂无可选项",
"ai.contextRefresh": "更新上下文",
"ai.contextSave": "保存",
@@ -100,6 +105,7 @@
"interactive.step.scene": "场景",
"interactive.step.review": "确认",
"interactive.start": "开始交互",
"interactive.confirmKnowledge": "确认知识上下文",
"interactive.loadingPlots": "正在生成剧情走向…",
"interactive.plotNotePlaceholder": "补充指令(可选)",
"interactive.generateScene": "生成场景",
@@ -140,6 +146,7 @@
"wizard.rhythm.mixed": "混合",
"wizard.styleNotePlaceholder": "可选:本章风格说明",
"wizard.contextHint": "确认与本章相关的上下文(含大纲/设定中的伏笔线索)",
"wizard.knowledgeList": "将注入知识",
"wizard.previewTitle": "生成策略预览",
"wizard.refreshPreview": "刷新预览",
"wizard.startGenerate": "开始生成",
@@ -168,6 +175,10 @@
"knowledge.type.location": "地点",
"knowledge.type.relationship": "关系",
"knowledge.type.fact": "事实",
"knowledge.reason.highImportance": "高重要度",
"knowledge.reason.chapterRelevant": "与当前章相关",
"knowledge.reason.foreshadowBuried": "伏笔待回收",
"knowledge.reason.goalMatch": "匹配章节目标",
"knowledge.titleLabel": "标题",
"knowledge.contentLabel": "内容",
"knowledge.importance": "重要度",