Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ attach.ts
File
attach.ts
packages/opencode/src/cli/cmd/attach.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ cmd } from
"./cmd"
2
import
{ UI } from
"@/cli/ui"
3
import
{ errorMessage } from
"@opencode-ai/tui/util/error"
4
import
{ validateSession } from
"../tui/validate-session"
Callers
nothing calls this directly
Calls
9
cmd
Function · 0.90
validateSession
Function · 0.90
errorMessage
Function · 0.90
runMini
Function · 0.85
createLegacyTuiPluginHost
Function · 0.85
cwd
Method · 0.65
find
Method · 0.65
get
Method · 0.65
run
Function · 0.50
Tested by
no test coverage detected