Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ task.ts
File
task.ts
packages/opencode/src/tool/task.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
* as Tool from
"./tool"
2
import
DESCRIPTION from
"./task.txt"
3
import
{ ToolJsonSchema } from
"./json-schema"
4
import
{ SessionV1 } from
"@opencode-ai/core/v1/session"
Callers
nothing calls this directly
Calls
15
deriveSubagentSessionPermission
Function · 0.90
renderOutput
Function · 0.85
runTask
Function · 0.85
backgroundResult
Function · 0.85
resolvePromptParts
Method · 0.80
sync
Method · 0.80
addEventListener
Method · 0.80
get
Method · 0.65
create
Method · 0.65
prompt
Method · 0.65
cancel
Method · 0.65
notify
Function · 0.50
Tested by
no test coverage detected