Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ from
Method
from
packages/llm/src/schema/events.ts:71–73 ·
view source on GitHub ↗
(input: UsageInput)
Source
from the content-addressed store, hash-verified
69
}
70
71
static from(input: UsageInput) {
72
return
input instanceof Usage ? input :
new
Usage(input)
73
}
74
}
75
76
export
type
UsageInput = Usage | ConstructorParameters<typeof Usage>[0]
Callers
15
effect.test.ts
File · 0.45
fetch
Method · 0.45
getData
Method · 0.45
exportDebugLogs
Function · 0.45
writeZip
Function · 0.45
store-cleanup.test.ts
File · 0.45
checkHealth
Function · 0.45
shell-env.test.ts
File · 0.45
detectOutputEncoding
Function · 0.45
fetch
Function · 0.45
success
Function · 0.45
black-cancel-waitlist.ts
File · 0.45
Calls
no outgoing calls
Tested by
15
failWith
Function · 0.36
activeCounts
Function · 0.36
eventCount
Function · 0.36
reset
Function · 0.36
replaySessionProjection
Function · 0.36
verifyEphemeralDeltas
Function · 0.36
stored
Function · 0.36
write
Function · 0.36
run
Function · 0.36
run
Function · 0.36
sessionSequence
Function · 0.36
sessionSequenceOwner
Function · 0.36