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": "New chat",
"ai.contextPlaceholder": "📎 Context: not configured yet",
"ai.contextEmpty": "📎 Context: nothing selected",
"ai.contextSummary": "📎 Context: {{chapters}} ch. · {{outlines}} outline · {{settings}} settings · {{inspirations}} ideas",
"ai.contextSummary": "📎 Context: {{chapters}} ch. · {{outlines}} outline · {{settings}} settings · {{inspirations}} ideas · {{knowledge}} knowledge",
"ai.contextEditorTitle": "Edit AI context",
"ai.contextTab.chapter": "Chapters",
"ai.contextTab.outline": "Outline",
"ai.contextTab.setting": "Settings",
"ai.contextTab.inspiration": "Ideas",
"ai.contextTab.knowledge": "Knowledge",
"ai.contextRefreshSuggest": "Refresh suggestions",
"ai.contextKnowledgeSuggestTitle": "Suggested knowledge",
"ai.contextKnowledgeAllTitle": "All approved knowledge",
"ai.contextKnowledgeEmpty": "No approved knowledge entries",
"ai.contextEmptyList": "No items",
"ai.contextRefresh": "Refresh context",
"ai.contextSave": "Save",
@@ -100,6 +105,7 @@
"interactive.step.scene": "Scene",
"interactive.step.review": "Review",
"interactive.start": "Start interactive",
"interactive.confirmKnowledge": "Confirm knowledge context",
"interactive.loadingPlots": "Generating plot options…",
"interactive.plotNotePlaceholder": "Additional instructions (optional)",
"interactive.generateScene": "Generate scene",
@@ -140,6 +146,7 @@
"wizard.rhythm.mixed": "Mixed",
"wizard.styleNotePlaceholder": "Optional style note",
"wizard.contextHint": "Confirm context including outline/settings clues",
"wizard.knowledgeList": "Knowledge to inject",
"wizard.previewTitle": "Strategy preview",
"wizard.refreshPreview": "Refresh preview",
"wizard.startGenerate": "Start generating",
@@ -168,6 +175,10 @@
"knowledge.type.location": "Location",
"knowledge.type.relationship": "Relationship",
"knowledge.type.fact": "Fact",
"knowledge.reason.highImportance": "High importance",
"knowledge.reason.chapterRelevant": "Chapter relevant",
"knowledge.reason.foreshadowBuried": "Foreshadow pending",
"knowledge.reason.goalMatch": "Goal match",
"knowledge.titleLabel": "Title",
"knowledge.contentLabel": "Content",
"knowledge.importance": "Importance",