feat: ship v0.8.0 with writing logs and AI knowledge extraction
Deliver P5.2 writing day logs, cockpit heatmap, streak tracking, and chapter knowledge auto-extraction with merge review. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+13
-1
@@ -42,7 +42,9 @@ import type {
|
||||
KnowledgeType,
|
||||
CockpitSummary,
|
||||
ChapterBridgeResult,
|
||||
PublishStatus
|
||||
PublishStatus,
|
||||
WritingStats,
|
||||
KnowledgeExtractionResult
|
||||
} from './types'
|
||||
|
||||
export interface ElectronAPI {
|
||||
@@ -349,6 +351,16 @@ export interface ElectronAPI {
|
||||
bookId: string,
|
||||
opts?: KnowledgeSuggestOptions
|
||||
) => Promise<IpcResult<ScoredKnowledge[]>>
|
||||
extractChapter: (
|
||||
bookId: string,
|
||||
chapterId: string
|
||||
) => Promise<IpcResult<KnowledgeExtractionResult>>
|
||||
approveMerge: (bookId: string, pendingId: string) => Promise<IpcResult<KnowledgeEntry>>
|
||||
saveMergeAsNew: (bookId: string, pendingId: string) => Promise<IpcResult<KnowledgeEntry>>
|
||||
batchApproveHighConfidence: (bookId: string, threshold?: number) => Promise<IpcResult<number>>
|
||||
}
|
||||
writing: {
|
||||
getStats: (bookId: string) => Promise<IpcResult<WritingStats>>
|
||||
}
|
||||
cockpit: {
|
||||
getSummary: (bookId: string, volumeId?: string) => Promise<IpcResult<CockpitSummary>>
|
||||
|
||||
Reference in New Issue
Block a user