Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ active
Function
active
packages/opencode/src/cli/cmd/run/session-replay.ts:60–62 ·
view source on GitHub ↗
(data: SessionData)
Source
from the content-addressed store, hash-verified
58
}
59
60
function
active(data: SessionData) {
61
return
data.part.size > 0 || data.tools.size > 0
62
}
63
64
function
replayPatch(data: SessionData, patch: FooterPatch | undefined) {
65
if
(active(data)) {
Callers
1
replayPatch
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected