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

Function cursor

packages/opencode/test/server/httpapi-exercise/index.ts:40–42  ·  view source on GitHub ↗
(input: Record<string, unknown>)

Source from the content-addressed store, hash-verified

38import { type Scenario } from "./types"
39
40function cursor(input: Record<string, unknown>) {
41 return Buffer.from(JSON.stringify(input)).toString("base64url")
42}
43
44function data(validate: (value: any) => void) {
45 return (body: any) => {

Callers 1

index.tsFile · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected