Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ language
Function
language
packages/session-ui/src/components/markdown-stream.ts:22–24 ·
view source on GitHub ↗
(value: string | undefined)
Source
from the content-addressed store, hash-verified
20
}
21
22
function
language(value: string | undefined) {
23
return
value?.trim().split(/\s+/, 1)[0] || undefined
24
}
25
26
function
openCode(raw: string) {
27
const
newline = raw.indexOf(
"\n"
)
Callers
1
stream
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected