MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / restoreSession

Method restoreSession

src/runtime/agent.ts:975–977  ·  view source on GitHub ↗

Reserved: restore a historical session

(_sessionId: string)

Source from the content-addressed store, hash-verified

973
974 await cs.session.prompt(promptText, promptOptions);
975
976 const lastMessage = cs.session.state.messages.at(-1);
977 const diagnostics = getAssistantDiagnostics(lastMessage);
978
979 if (diagnostics?.errorMessage) {
980 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected