Fix SCUM file workbench interactions

This commit is contained in:
npc0-hue
2026-08-04 12:05:27 +08:00
parent 8a25f52d68
commit 86a50ec8fa
6 changed files with 158 additions and 49 deletions
+1
View File
@@ -19,6 +19,7 @@ export interface PluginPageFileReadSnapshot {
}
export interface PluginPageWorkspaceActions {
refreshWorkspace?: () => Promise<unknown>;
requestFile?: (fileKey: string) => Promise<PluginPageFileRequestResult>;
getFileSnapshot?: (fileKey: string) => Promise<PluginPageFileReadSnapshot>;
writeFile?: (fileKey: string, content: string, options?: { expectedChecksum?: string }) => Promise<PluginPageFileRequestResult>;