MCPcopy Create free account

hub / github.com/Alphanimble/htmlstream / functions

Functions189 in github.com/Alphanimble/htmlstream

↓ 1 callersFunctionensureSvgStreamRegions
(container: HTMLElement)
src/streamhtml.tsx:74
↓ 1 callersFunctionextractAllCompleteRows
(html: string)
src/patch-streaming-html.ts:269
↓ 1 callersFunctionextractDeltaContent
(delta: Record<string, unknown> | undefined)
demo/server/openrouter-chat.ts:64
↓ 1 callersFunctionextractDeltaParts
(delta: Record<string, unknown> | undefined)
demo/server/openrouter-chat.ts:138
↓ 1 callersFunctionextractDeltaReasoning
(delta: Record<string, unknown> | undefined)
demo/server/openrouter-chat.ts:96
↓ 1 callersFunctionfindActiveTable
(container: HTMLElement)
src/patch-streaming-html.ts:697
↓ 1 callersFunctionfindCorrespondingSvgInTrack
( track: string, html: string, svgStartInHtml: number, )
src/strip-smil-animations.ts:196
↓ 1 callersFunctionfindEnclosingSvgStart
(html: string, index: number)
src/strip-smil-animations.ts:53
↓ 1 callersFunctionfindInProgressRow
Reuse the streaming partial row when the track has no complete rows yet.
src/patch-streaming-html.ts:853
↓ 1 callersFunctionfindIncompleteTagIndex
(html: string)
src/rehtml/strip-incomplete.ts:11
↓ 1 callersFunctionfindNthSvgOpen
(track: string, n: number)
src/strip-smil-animations.ts:118
↓ 1 callersFunctionfixBrokenImages
(root: HTMLElement)
demo/chat/stream-actions.ts:37
↓ 1 callersFunctionflushResponse
(res: ServerResponse)
demo/server/openrouter-chat.ts:158
↓ 1 callersFunctionforStreamingDisplay
(html: string)
src/streamhtml.tsx:382
↓ 1 callersFunctionformatSessionWhen
(iso: string)
demo/chat/session-api.ts:58
↓ 1 callersFunctiongetTrailingTextRun
Literal characters currently being typed at the end of the track.
src/patch-streaming-html.ts:93
↓ 1 callersFunctionisInsideRawText
(html: string, position: number)
src/rehtml/strip-incomplete.ts:35
↓ 1 callersFunctionisLatexReady
(latex: string)
demo/render-math.ts:4
↓ 1 callersFunctionisNearScrollBottom
( el: HTMLElement, thresholdPx = 24, )
src/hold-stream.ts:88
↓ 1 callersFunctionisSvgCompleteAt
(html: string, svgOpenStart: number)
src/freeze-stream-svgs.ts:18
↓ 1 callersFunctionisSvgCompleteInTrack
(track: string, svgOpenStart: number)
src/strip-smil-animations.ts:151
↓ 1 callersFunctionisTextOnlySuffix
True when suffix is plain text with no markup (safe for flat append)
src/patch-streaming-html.ts:668
↓ 1 callersFunctionisVerticallyScrollable
(el: HTMLElement)
src/hold-stream.ts:166
↓ 1 callersFunctionlistSessionSummaries
()
demo/server/session-log.ts:63
↓ 1 callersFunctionlistSessions
()
demo/chat/session-api.ts:22
↓ 1 callersFunctionloadLocalSession
()
demo/chat/session.ts:58
↓ 1 callersFunctionloadProjectEnv
( envRoot: string, viteEnv: Record<string, string>, )
demo/server/openrouter-chat.ts:15
↓ 1 callersFunctionloadServerSession
()
demo/chat/session.ts:88
↓ 1 callersFunctionloadSessionById
(id: string)
demo/chat/session-api.ts:34
↓ 1 callersFunctionmeasureCaretPointFromRange
( host: HTMLElement, range: Range, fallback: Element, )
src/stream-caret.ts:143
↓ 1 callersFunctionnextChunkSize
(text: string, index: number, chunkSize: number)
demo/chat/stream-replay.ts:26
↓ 1 callersFunctionnormalizeSession
(raw: ChatSession)
demo/chat/session-api.ts:11
↓ 1 callersFunctionopenRouterChatPlugin
(env: Record<string, string>)
demo/server/openrouter-chat.ts:247
↓ 1 callersFunctionpatchPostTableTail
( container: HTMLElement, displayHtml: string, track: string, previousTrack: string, tableEnd: numbe
src/patch-streaming-html.ts:395
↓ 1 callersFunctionpatchTableRows
( container: HTMLElement, displayHtml: string, track: string, prefix: string, )
src/patch-streaming-html.ts:705
↓ 1 callersFunctionpipeOpenRouterStream
( res: ServerResponse, apiKey: string, model: string, messages: { role: string; content: string }[], )
demo/server/openrouter-chat.ts:163
↓ 1 callersFunctionplaceStreamingCaret
(el: HTMLElement, displayHtml: string, track: string)
src/streamhtml.tsx:108
↓ 1 callersFunctionplayMeow
()
demo/chat/stream-actions.ts:3
↓ 1 callersFunctionpositionStreamingCaretAtRange
( caret: HTMLElement, host: HTMLElement, range: Range, fallback: Element, )
src/stream-caret.ts:256
↓ 1 callersFunctionprefersReducedMotion
()
src/stream-caret.ts:23
↓ 1 callersFunctionreadBody
(req: IncomingMessage)
demo/server/openrouter-chat.ts:46
↓ 1 callersFunctionreadBody
(req: IncomingMessage)
demo/server/session-log.ts:16
↓ 1 callersFunctionreadRect
( range: Range, fallback: Element, )
src/stream-caret.ts:133
↓ 1 callersFunctionreadSessionFile
(filePath: string)
demo/server/session-log.ts:33
↓ 1 callersFunctionremoveInlineCarets
(container: HTMLElement)
src/stream-caret.ts:17
↓ 1 callersFunctionremoveOrphanContainerText
Remove text nodes wrongly appended at container root during earlier frames
src/patch-streaming-html.ts:256
↓ 1 callersFunctionrenderMath
(root: HTMLElement, streaming = false)
demo/render-math.ts:20
↓ 1 callersFunctionrenderStreamingDisplay
()
src/streamhtml.tsx:106
↓ 1 callersFunctionrenderStreamingTail
( trackTail: string, _fullTrack: string, )
src/freeze-stream-svgs.ts:177
↓ 1 callersFunctionreplayStream
( text: string, onChunk: (chunk: string) => void, options: ReplayOptions, )
demo/chat/stream-replay.ts:34
↓ 1 callersFunctionrunAction
( action: string, el: HTMLElement, )
demo/chat/stream-actions.ts:69
↓ 1 callersFunctionsaveServerSession
(session: ChatSession)
demo/chat/session.ts:104
↓ 1 callersFunctionseedRowCountsFromDom
(table: HTMLTableElement)
src/patch-streaming-html.ts:682
↓ 1 callersFunctionseedTableCounts
(el: HTMLElement, track: string)
src/streamhtml.tsx:134
↓ 1 callersFunctionsessionLogPlugin
()
demo/server/session-log.ts:84
↓ 1 callersFunctionsettleScrollBottom
( container: HTMLElement | null, userScrolledUp: { current: boolean }, )
demo/App.tsx:193
↓ 1 callersFunctionsettleStreamChunks
(root: ParentNode)
src/stream-chunk.ts:16
↓ 1 callersFunctionsleep
(ms: number, signal?: AbortSignal)
demo/chat/stream-replay.ts:9
↓ 1 callersFunctionsliceImplicitTbody
Body rows without an explicit <tbody> wrapper
src/patch-streaming-html.ts:515
↓ 1 callersFunctionstreamChat
( messages: { role: string; content: string }[], onPart: (part: StreamPart) => void, signal: AbortSignal
demo/chat/App.tsx:45
↓ 1 callersFunctionstripCompleteRows
(tableSection: string)
src/patch-streaming-html.ts:871
↓ 1 callersFunctionsummarizeSession
(session: SessionFile)
demo/server/session-log.ts:41
↓ 1 callersFunctionsvgEndIndex
(html: string, svgOpenStart: number)
src/freeze-stream-svgs.ts:63
↓ 1 callersFunctiontagMeowButtons
(root: HTMLElement)
demo/chat/stream-actions.ts:58
↓ 1 callersFunctiontrackHasSvg
(html: string)
src/freeze-stream-svgs.ts:160
↓ 1 callersFunctionturnLabel
(message: ChatMessage, index: number)
demo/chat/SessionSidebar.tsx:32
↓ 1 callersFunctionwriteStreamPart
(res: ServerResponse, part: StreamPart)
demo/server/openrouter-chat.ts:153
FunctionApp
()
demo/App.tsx:207
FunctionChatApp
()
demo/chat/App.tsx:87
FunctionHtmlStream
(props: StreamHtmlProps)
src/html-stream.tsx:12
FunctionSessionSidebar
({ sessions, activeSessionId, session, replayTargetId, replaySettings, streaming, onRefre
demo/chat/SessionSidebar.tsx:38
FunctionStreamHtml
({ children = "", reasoning: reasoningProp = "", isStreaming = false, caret, repair = true, saniti
src/streamhtml.tsx:323
FunctioncloseOpenTagsForStream
Close non-table tags only (table rows need real </tr> in source)
src/patch-streaming-html.ts:964
FunctionconfigureServer
(server)
demo/server/openrouter-chat.ts:250
FunctionconfigureServer
(server)
demo/server/session-log.ts:87
FunctionmoveCaretToElement
( caret: HTMLSpanElement, host: HTMLElement, target: HTMLElement, )
src/stream-caret.ts:247
FunctiononClick
(event: MouseEvent)
demo/chat/stream-actions.ts:99
FunctiononScroll
()
src/hold-stream.ts:156
FunctiononSubmit
(e: FormEvent)
demo/chat/App.tsx:450
FunctiononTouchMove
(e: TouchEvent)
demo/App.tsx:255
FunctiononTouchStart
(e: TouchEvent)
demo/App.tsx:252
FunctiononWheel
(e: WheelEvent)
demo/App.tsx:247
FunctionplaceCaretAfterElement
( caret: HTMLSpanElement, host: HTMLElement, element: Element, )
src/stream-caret.ts:239
FunctionrepairAssistantMessage
(message: ChatMessage)
demo/chat/session.ts:20
FunctionsessionPreview
(session: ChatSession)
demo/chat/session-api.ts:50
Functionstart
(controller)
tests/reasoning.test.tsx:66
Functiontick
()
src/streamhtml.tsx:119
Functiontick
()
demo/App.tsx:277
Functiontick
()
demo/chat/App.tsx:251
← previous101–189 of 189, ranked by callers