MCPcopy Index your code
hub / github.com/anomalyco/opencode / decode

Function decode

packages/opencode/src/session/message-v2.ts:75–77  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

73 return Buffer.from(JSON.stringify(input)).toString("base64url")
74 },
75 decode(input: string) {
76 return decodeCursor(JSON.parse(Buffer.from(input, "base64url").toString("utf8")))
77 },
78}
79
80const info = (row: typeof MessageTable.$inferSelect) =>

Callers 9

workspace.test.tsFile · 0.50
decodeUnknownFunction · 0.50
index.tsFile · 0.50
auth.tsFile · 0.50
repo.tsFile · 0.50
parsePayloadFunction · 0.50
wrapFunction · 0.50

Calls 1

fromMethod · 0.45

Tested by 1

decodeUnknownFunction · 0.40