feat(conversation): replicate table quote-to-chat action (TODO 02)

This commit is contained in:
xiaohan.yuan committed 2026-10-17 05:57:49 +08:00
1 parent e335588826
commit ed31a7c1b4
20 files changed
+939 -46

No files matched your search

+3 -1
View File
@@ -13,7 +13,7 @@ import type {
AppInfo
} from './types'
import type { DownloadPayload, DownloadResult, ResourceEntry, ResourceRange, WorkspaceResource } from './resources'
import type { ChatAttachment, InteractionResponse, PermissionMode } from './conversation'
import type { ChatAttachment, InteractionResponse, MessageQuote, PermissionMode } from './conversation'
import type { CustomModelInput, ModelRegistryView, ModelTestResult } from './models'
import type { SessionContext, WorkspaceRegistryView } from './workspaces'
import type { BrowserHostApi } from './browser-host'
@@ -39,6 +39,8 @@ export interface SendPayload {
sessionId: string
text: string
attachments?: ChatAttachment[]
/** 表格等内容的引用快照,随用户消息持久化。 */
quotes?: MessageQuote[]
permissionMode?: PermissionMode
/** Retry/edit from this message; descendants are preserved in an archived branch. */
fromMessageId?: string