Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ currentSession
Function
currentSession
packages/session-ui/src/components/message-part.tsx:539–541 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
537
}
538
539
function currentSession(path: string) {
540
return path.match(/\/session\/([^/?#]+)/)?.[1]
541
}
542
543
function taskSession(
544
input: Record<string, any>,
Callers
2
viewedInCurrentSession
Function · 0.85
taskSession
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected