MCPcopy Create free account
hub / github.com/anomalyco/opencode / handoffKey

Function handoffKey

packages/app/src/context/local.tsx:30–30  ·  view source on GitHub ↗
(scope: ServerScope, dir: string, id: string)

Source from the content-addressed store, hash-verified

28const handoff = new Map<string, State>()
29
30const handoffKey = (scope: ServerScope, dir: string, id: string) => ScopedKey.from(scope, dir, id)
31
32const migrate = (value: unknown) => {
33 if (!value || typeof value !== "object") return { session: {} }

Callers 3

local.tsxFile · 0.85
promoteFunction · 0.85
restoreFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected