Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ agent.ts
File
agent.ts
packages/opencode/src/cli/cmd/agent.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ cmd } from
"./cmd"
2
import
* as prompts from
"@clack/prompts"
3
import
{ UI } from
"../ui"
4
import
{ Global } from
"@opencode-ai/core/global"
Callers
nothing calls this directly
Calls
13
effectCmd
Function · 0.90
cmd
Function · 0.90
write
Method · 0.80
runLocalEffect
Function · 0.70
text
Method · 0.65
list
Method · 0.65
select
Method · 0.45
start
Method · 0.45
stop
Method · 0.45
exists
Method · 0.45
log
Method · 0.45
use
Method · 0.45
Tested by
no test coverage detected