mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-18 01:51:20 -07:00
[ide-mode] Keep track of recently-opened files and send them to the CLI (#4463)
This commit is contained in:
@@ -26,6 +26,14 @@ export type Cursor = z.infer<typeof CursorSchema>;
|
||||
export const ActiveFileSchema = z.object({
|
||||
filePath: z.string(),
|
||||
cursor: CursorSchema.optional(),
|
||||
recentOpenFiles: z
|
||||
.array(
|
||||
z.object({
|
||||
filePath: z.string(),
|
||||
timestamp: z.number(),
|
||||
}),
|
||||
)
|
||||
.optional(),
|
||||
});
|
||||
export type ActiveFile = z.infer<typeof ActiveFileSchema>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user