(cwd: string)
| 39 | } |
| 40 | |
| 41 | function getSessionStorage(cwd: string): Promise<SessionStorage> { |
| 42 | return invokeRuntimeHost('getPiSessionStorage', { projectPath: cwd }) |
| 43 | } |
| 44 | |
| 45 | export async function loadShellState(cwd: string): Promise<ShellState> { |
| 46 | const { agentDir, sessionDir } = await getSessionStorage(cwd) |
no test coverage detected