MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resetState

Function resetState

apps/desktop/src/preload/index.ts:100–102  ·  view source on GitHub ↗

* Last-resort recovery for damaged executor state: after a native confirm, * back up the data dir (move-aside, never delete), then restart the * sidecar fresh. Resolves false when the user cancels the confirm.

()

Source from the content-addressed store, hash-verified

98 * sidecar fresh. Resolves false when the user cancels the confirm.
99 */
100 resetState(): Promise<boolean> {
101 return ipcRenderer.invoke("executor:state:reset");
102 },
103 /**
104 * Crash-reporting config for the renderer. Null unless this desktop build
105 * shipped with a DSN baked in — the shared web UI only initializes its

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected