feat: add slides generation tool with multiple slide types
- Add slides.tool.ts with support for title, bullets, chart, stats, table, cards, timeline, quote, comparison, equation, image, summary slide types - Chart types: bar, horizontal-bar, line, donut, radar - Integrate with agent executor and canvas system - Add multilingual support (en/fr) - Various UI improvements and bug fixes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -183,6 +183,8 @@ model Note {
|
||||
labelRelations Label[] @relation("LabelToNote")
|
||||
attachments NoteAttachment[]
|
||||
brainstormNoteRefs BrainstormNoteRef[]
|
||||
outgoingLinks NoteLink[] @relation("SourceLinks")
|
||||
incomingLinks NoteLink[] @relation("TargetLinks")
|
||||
|
||||
@@index([isPinned])
|
||||
@@index([isArchived])
|
||||
@@ -325,6 +327,20 @@ model NoteEmbedding {
|
||||
@@index([noteId])
|
||||
}
|
||||
|
||||
model NoteLink {
|
||||
id String @id @default(cuid())
|
||||
sourceNoteId String
|
||||
targetNoteId String
|
||||
contextSnippet String?
|
||||
createdAt DateTime @default(now())
|
||||
sourceNote Note @relation("SourceLinks", fields: [sourceNoteId], references: [id], onDelete: Cascade)
|
||||
targetNote Note @relation("TargetLinks", fields: [targetNoteId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@unique([sourceNoteId, targetNoteId])
|
||||
@@index([sourceNoteId])
|
||||
@@index([targetNoteId])
|
||||
}
|
||||
|
||||
model Agent {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
@@ -502,6 +518,7 @@ model BrainstormIdea {
|
||||
status String @default("active")
|
||||
positionX Float?
|
||||
positionY Float?
|
||||
isStarred Boolean @default(false)
|
||||
createdAt DateTime @default(now())
|
||||
createdBy String?
|
||||
createdByType String? @default("ai")
|
||||
|
||||
Reference in New Issue
Block a user