MCPcopy
hub / github.com/codeaashu/claude-code / asSessionId

Function asSessionId

src/types/ids.ts:23–25  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

21 * Use sparingly - prefer getSessionId() when possible.
22 */
23export function asSessionId(id: string): SessionId {
24 return id as SessionId
25}
26
27/**
28 * Cast a raw string to AgentId.

Callers 9

runFunction · 0.85
setupFunction · 0.85
hydrateRemoteSessionFunction · 0.85
onSelectFunction · 0.85
REPLFunction · 0.85
loadInitialMessagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected