(projectId: number)
| 141 | |
| 142 | // Main repo session |
| 143 | async getOrCreateMainRepoSession(projectId: number) { |
| 144 | if (!isElectron()) throw new Error('Electron API not available'); |
| 145 | return window.electronAPI.sessions.getOrCreateMainRepoSession(projectId); |
| 146 | }, |
| 147 | |
| 148 | // Script operations |
| 149 | async hasRunScript(sessionId: string) { |
no test coverage detected