Merge commit '4b7be20fe0cce3e7979cc3bdfdd7b02ec6630c00' into dev

This commit is contained in:
mofeng-git
2026-06-15 22:26:22 +08:00
20 changed files with 2518 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
import type { ComputerUseAction, ComputerUseScreenshot } from '@/api'
export type ComputerUseTimelineItem =
| { id: string; type: 'user'; text: string }
| { id: string; type: 'assistant'; text: string }
| { id: string; type: 'screenshot'; screenshot: ComputerUseScreenshot }
| { id: string; type: 'actions_executed'; actions: ComputerUseAction[] }
| { id: string; type: 'error'; text: string }
| { id: string; type: 'status'; text: string }
export type NewComputerUseTimelineItem = ComputerUseTimelineItem extends infer Item
? Item extends { id: string }
? Omit<Item, 'id'>
: never
: never