Graduate file editing from experimental (#599)

This commit is contained in:
Will Chen
2025-07-08 11:39:46 -07:00
committed by GitHub
parent dfdd267f53
commit a1aee5c2b8
9 changed files with 6041 additions and 42 deletions

View File

@@ -37,6 +37,7 @@ import type {
ComponentSelection,
AppUpgrade,
ProblemReport,
EditAppFileReturnType,
} from "./ipc_types";
import type { AppChatContext, ProposalResult } from "@/lib/schemas";
import { showError } from "@/lib/toast";
@@ -220,8 +221,8 @@ export class IpcClient {
appId: number,
filePath: string,
content: string,
): Promise<void> {
await this.ipcRenderer.invoke("edit-app-file", {
): Promise<EditAppFileReturnType> {
return this.ipcRenderer.invoke("edit-app-file", {
appId,
filePath,
content,