Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ makeDefaultApi } from
"@opencode-ai/protocol/api"
2
import
{ LocationMiddleware } from
"./location"
3
import
{ SessionLocationMiddleware } from
"./middleware/session-location"
4
Callers
nothing calls this directly
Calls
1
makeDefaultApi
Function · 0.90
Tested by
no test coverage detected