MCPcopy
hub / github.com/anomalyco/opencode / api.ts

File api.ts

packages/function/src/api.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Hono } from "hono"
2import { DurableObject } from "cloudflare:workers"
3import { randomUUID } from "node:crypto"
4import { jwtVerify, createRemoteJWKSet } from "jose"

Callers

nothing calls this directly

Calls 15

shortNameMethod · 0.80
assertSecretMethod · 0.80
fetchMethod · 0.80
getDataMethod · 0.80
pushMethod · 0.80
getMethod · 0.65
textMethod · 0.65
jsonMethod · 0.65
fetchFunction · 0.50
authFunction · 0.50
allMethod · 0.45
shareMethod · 0.45

Tested by

no test coverage detected