MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / getSessionStorage

Function getSessionStorage

desktop/pi-threads/shell-state.ts:41–43  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

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

Callers 1

loadShellStateFunction · 0.85

Calls 1

invokeRuntimeHostFunction · 0.90

Tested by

no test coverage detected