Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ tool.test.ts
File
tool.test.ts
packages/opencode/test/acp/tool.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ resolve } from
"path"
2
import
{ describe, expect, test } from
"bun:test"
3
import
{
4
completedToolContent,
Callers
nothing calls this directly
Calls
13
toToolKind
Function · 0.90
toLocations
Function · 0.90
completedToolContent
Function · 0.90
pendingToolCall
Function · 0.90
completedToolUpdate
Function · 0.90
completedToolRawOutput
Function · 0.90
extractImageAttachments
Function · 0.90
imageContents
Function · 0.90
shellOutputSnapshot
Function · 0.90
test
Function · 0.85
describe
Function · 0.50
resolve
Function · 0.50
Tested by
no test coverage detected