MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / enhanceStreamedContent

Function enhanceStreamedContent

demo/chat/stream-actions.ts:86–92  ·  view source on GitHub ↗
(root: HTMLElement | null)

Source from the content-addressed store, hash-verified

84}
85
86export function enhanceStreamedContent(root: HTMLElement | null): void {
87 if (!root) {
88 return;
89 }
90 fixBrokenImages(root);
91 tagMeowButtons(root);
92}
93
94export function attachStreamActions(root: HTMLElement | null): () => void {
95 if (!root) {

Callers 1

ChatAppFunction · 0.90

Calls 2

fixBrokenImagesFunction · 0.85
tagMeowButtonsFunction · 0.85

Tested by

no test coverage detected