MCPcopy Create free account
hub / github.com/anomalyco/opencode / api.ts

File api.ts

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

Source from the content-addressed store, hash-verified

1import { makeDefaultApi } from "@opencode-ai/protocol/api"
2import { LocationMiddleware } from "./location"
3import { SessionLocationMiddleware } from "./middleware/session-location"
4

Callers

nothing calls this directly

Calls 1

makeDefaultApiFunction · 0.90

Tested by

no test coverage detected