diff --git a/src/ipc/channels.type.ts b/src/ipc/channels.type.ts index e8f8d69..ca6e9a8 100644 --- a/src/ipc/channels.type.ts +++ b/src/ipc/channels.type.ts @@ -68,10 +68,10 @@ export type ChannelBody = ? AgentType[] : // --- Save Code To File --- T extends ToServer.SAVE_CODE_TO_FILE - ? { filePath: string; code: string } + ? { filePath: string; currentPath: string; code: string } // --- Full file path --- : T extends ToServer.GET_FULL_FILE_PATH - ? { filePath: string } + ? { filePath: string, currentPath: string } : T extends ToClient.FULL_FILE_PATH ? string : // --- Other Groups... ---