mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00: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