Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/core/Cline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ export class Cline extends EventEmitter<ClineEvents> {
cacheReads: apiMetrics.totalCacheReads,
totalCost: apiMetrics.totalCost,
size: taskDirSize,
workspace: this.cwd,
})
} catch (error) {
console.error("Failed to save cline messages:", error)
Expand Down
1 change: 1 addition & 0 deletions src/exports/roo-code.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ type GlobalSettings = {
cacheReads?: number | undefined
totalCost: number
size?: number | undefined
workspace?: string | undefined
}[]
| undefined
autoApprovalEnabled?: boolean | undefined
Expand Down
1 change: 1 addition & 0 deletions src/exports/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ type GlobalSettings = {
cacheReads?: number | undefined
totalCost: number
size?: number | undefined
workspace?: string | undefined
}[]
| undefined
autoApprovalEnabled?: boolean | undefined
Expand Down
1 change: 1 addition & 0 deletions src/schemas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export const historyItemSchema = z.object({
cacheReads: z.number().optional(),
totalCost: z.number(),
size: z.number().optional(),
workspace: z.string().optional(),
})

export type HistoryItem = z.infer<typeof historyItemSchema>
Expand Down
Loading