Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ agent.test.ts
File
agent.test.ts
packages/opencode/test/agent/agent.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, expect } from
"bun:test"
2
import
{ LayerNode } from
"@opencode-ai/core/effect/layer-node"
3
import
{ Cause, Effect, Exit, Layer } from
"effect"
4
import
path from
"path"
Callers
nothing calls this directly
Calls
10
testEffect
Function · 0.90
disposeAllInstances
Function · 0.90
agentLayer
Function · 0.85
evalPerm
Function · 0.85
instance
Method · 0.80
write
Method · 0.80
sync
Method · 0.80
load
Function · 0.70
list
Method · 0.65
get
Method · 0.65
Tested by
no test coverage detected