shitton of the ai changes

This commit is contained in:
2026-05-01 04:54:11 +03:00
parent d95c37a322
commit 8cff086a8e
194 changed files with 29409 additions and 8841 deletions
+16
View File
@@ -0,0 +1,16 @@
export type StoredAttachmentKind = "image" | "document" | "audio" | "video" | "video-note";
export type StoredAttachment = {
kind: StoredAttachmentKind;
fileId: string;
fileUniqueId?: string;
fileName: string;
mimeType?: string;
cachePath: string;
sizeBytes?: number;
sha256?: string;
scope?: "user_input" | "bot_output" | "internal_artifact";
artifactKind?: "rag" | "transcript" | "tool_result" | "generated_file" | "tts_audio" | "final_text" | "error";
metadata?: Record<string, unknown>;
};