fix: Add missing types for Files Changed Overview feature

This commit is contained in:
Roo Code 2025-09-03 14:17:15 +00:00
parent 007b47a70f
commit db6cd50669
2 changed files with 12 additions and 0 deletions

View file

@ -123,8 +123,10 @@ export interface ExtensionMessage {
| "showEditMessageDialog"
| "commands"
| "insertTextIntoTextarea"
| "filesChanged"
text?: string
payload?: any // Add a generic payload for now, can refine later
filesChanged?: any // Files changed data
action?:
| "chatButtonClicked"
| "mcpButtonClicked"
@ -282,6 +284,7 @@ export type ExtensionState = Pick<
| "includeTaskHistoryInEnhance"
> & {
version: string
filesChangedEnabled: boolean
clineMessages: ClineMessage[]
currentTaskItem?: HistoryItem
currentTaskTodos?: TodoItem[] // Initial todos for the current task

View file

@ -50,6 +50,13 @@ export interface WebviewMessage {
| "alwaysAllowUpdateTodoList"
| "followupAutoApproveTimeoutMs"
| "webviewDidLaunch"
| "webviewReady"
| "filesChangedRequest"
| "viewDiff"
| "acceptFileChange"
| "rejectFileChange"
| "acceptAllFileChanges"
| "rejectAllFileChanges"
| "newTask"
| "askResponse"
| "terminalOperation"
@ -227,6 +234,8 @@ export interface WebviewMessage {
disabled?: boolean
context?: string
dataUri?: string
uri?: string
uris?: string[]
askResponse?: ClineAskResponse
apiConfiguration?: ProviderSettings
images?: string[]