Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TanStack/ai
/ now
Function
now
packages/ai-opencode/src/stream/translate.ts:117–117 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
115
): AsyncIterable<StreamChunk> {
116
const
{ model, runId, threadId, genId } = ctx
117
const
now = () => Date.now()
118
119
let
runStarted = false
120
/** Tool calls started but with no result yet, keyed by callID. */
Callers
11
startRun
Function · 0.70
closeText
Function · 0.70
closeReasoning
Function · 0.70
synthesizeUnresolvedResults
Function · 0.70
handleTextPart
Function · 0.70
handleReasoningPart
Function · 0.70
openToolCall
Function · 0.70
handleToolPart
Function · 0.70
handleEvent
Function · 0.70
finish
Function · 0.70
translateOpencodeStream
Function · 0.70
Calls
1
now
Method · 0.80
Tested by
no test coverage detected