MCPcopy
hub / github.com/anomalyco/opencode / sdk.tsx

File sdk.tsx

packages/tui/src/context/sdk.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createOpencodeClient } from "@opencode-ai/sdk/v2"
2import type { GlobalEvent } from "@opencode-ai/sdk/v2"
3import { Flag } from "@opencode-ai/core/flag/flag"
4import { createSimpleContext } from "./helper"

Callers

nothing calls this directly

Calls 7

createSimpleContextFunction · 0.90
createSDKFunction · 0.85
startSSEFunction · 0.85
subscribeMethod · 0.65
startMethod · 0.45
abortMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected