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:
Vendored
+11
@@ -35,6 +35,8 @@ import type {
|
||||
Volume,
|
||||
WordFreqResult,
|
||||
KnowledgeEntry,
|
||||
KnowledgeSuggestOptions,
|
||||
ScoredKnowledge,
|
||||
CreateKnowledgeInput,
|
||||
KnowledgeStatus,
|
||||
KnowledgeType,
|
||||
@@ -263,6 +265,11 @@ export interface ElectronAPI {
|
||||
flowId: string,
|
||||
config: Partial<AutoWritingConfig>
|
||||
) => Promise<IpcResult<InteractiveFlow>>
|
||||
confirmContext: (
|
||||
bookId: string,
|
||||
flowId: string,
|
||||
binding: AiContextBinding
|
||||
) => Promise<IpcResult<InteractiveFlow>>
|
||||
planScenes: (
|
||||
bookId: string,
|
||||
flowId: string,
|
||||
@@ -338,6 +345,10 @@ export interface ElectronAPI {
|
||||
stats: (
|
||||
bookId: string
|
||||
) => Promise<IpcResult<{ buried: number; resolved: number; forgotten: number }>>
|
||||
suggestContext: (
|
||||
bookId: string,
|
||||
opts?: KnowledgeSuggestOptions
|
||||
) => Promise<IpcResult<ScoredKnowledge[]>>
|
||||
}
|
||||
cockpit: {
|
||||
getSummary: (bookId: string, volumeId?: string) => Promise<IpcResult<CockpitSummary>>
|
||||
|
||||
Reference in New Issue
Block a user