Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ tool-define.test.ts
File
tool-define.test.ts
packages/opencode/test/tool/tool-define.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect } from
"bun:test"
2
import
{ LayerNode } from
"@opencode-ai/core/effect/layer-node"
3
import
{ Cause, Effect, Exit, Schema } from
"effect"
4
import
{ Agent } from
"../../src/agent/agent"
Callers
nothing calls this directly
Calls
7
testEffect
Function · 0.90
makeTool
Function · 0.85
makeCtx
Function · 0.70
execute
Function · 0.70
find
Method · 0.65
describe
Function · 0.50
init
Method · 0.45
Tested by
no test coverage detected