Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import { createOpencodeClient } from
"@opencode-ai/sdk/v2"
2
import type { GlobalEvent } from
"@opencode-ai/sdk/v2"
3
import { Flag } from
"@opencode-ai/core/flag/flag"
4
import { createSimpleContext } from
"./helper"
Callers
nothing calls this directly
Calls
7
createSimpleContext
Function · 0.90
createSDK
Function · 0.85
startSSE
Function · 0.85
subscribe
Method · 0.65
start
Method · 0.45
abort
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected