Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ run.ts
File
run.ts
packages/opencode/src/cli/cmd/run.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ PermissionV1 } from
"@opencode-ai/core/v1/permission"
2
import
{ FSUtil } from
"@opencode-ai/core/fs-util"
3
// CLI entry point for `opencode run` and `opencode --mini`.
4
//
Callers
nothing calls this directly
Calls
15
effectCmd
Function · 0.90
resolveInteractiveStdin
Function · 0.90
createOpencodeClient
Function · 0.90
die
Function · 0.85
dieInteractive
Function · 0.85
resolveRunInput
Function · 0.85
runInteractiveLocalMode
Function · 0.85
attachSDK
Function · 0.85
push
Method · 0.80
fetch
Method · 0.80
pick
Function · 0.70
execute
Function · 0.70
Tested by
no test coverage detected