[{"data":1,"prerenderedAt":294},["ShallowReactive",2],{"navigation_docs":3,"-guide-streaming":57,"-guide-streaming-surround":289},[4,26],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage","i-lucide-play",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[32,37,42,47,52],{"title":33,"path":34,"stem":35,"icon":36},"Syntax","\u002Fguide\u002Fsyntax","2.guide\u002F1.syntax","i-lucide-code-2",{"title":38,"path":39,"stem":40,"icon":41},"Streaming","\u002Fguide\u002Fstreaming","2.guide\u002F2.streaming","i-lucide-radio",{"title":43,"path":44,"stem":45,"icon":46},"Host bridge","\u002Fguide\u002Fhost-bridge","2.guide\u002F3.host-bridge","i-lucide-plug",{"title":48,"path":49,"stem":50,"icon":51},"Security","\u002Fguide\u002Fsecurity","2.guide\u002F4.security","i-lucide-shield",{"title":53,"path":54,"stem":55,"icon":56},"Static fallbacks","\u002Fguide\u002Fstatic-fallbacks","2.guide\u002F5.static-fallbacks","i-lucide-file-output",{"id":58,"title":38,"body":59,"description":282,"extension":283,"links":284,"meta":285,"navigation":286,"path":39,"seo":287,"stem":40,"__hash__":288},"docs\u002F2.guide\u002F2.streaming.md",{"type":60,"value":61,"toc":278},"minimark",[62,71,76,79,134,148,152,155,259,274],[63,64,65,66,70],"p",{},"Comark does not close unterminated code fences. While the host is streaming markdown, the last open ",[67,68,69],"code",{},"```arrow"," frame must stay non-executable until the fence completes.",[72,73,75],"h2",{"id":74},"pass-a-streaming-getter-to-the-plugin","Pass a streaming getter to the plugin",[63,77,78],{},"Configure the plugin with a getter that reflects whether content is still arriving:",[80,81,87],"pre",{"className":82,"code":83,"filename":84,"language":85,"meta":86,"style":86},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","arrow({ streaming: () => isStreaming.value })\n","streaming.ts","ts","",[67,88,89],{"__ignoreMap":86},[90,91,94,98,102,106,109,112,115,119,122,125,128,131],"span",{"class":92,"line":93},"line",1,[90,95,97],{"class":96},"s2Zo4","arrow",[90,99,101],{"class":100},"sTEyZ","(",[90,103,105],{"class":104},"sMK4o","{",[90,107,108],{"class":96}," streaming",[90,110,111],{"class":104},":",[90,113,114],{"class":104}," ()",[90,116,118],{"class":117},"spNyl"," =>",[90,120,121],{"class":100}," isStreaming",[90,123,124],{"class":104},".",[90,126,127],{"class":100},"value ",[90,129,130],{"class":104},"}",[90,132,133],{"class":100},")\n",[63,135,136,137,140,141,144,145,124],{},"When ",[67,138,139],{},"streaming()"," returns ",[67,142,143],{},"true"," and the final fence on the document is still open, the plugin marks that frame ",[67,146,147],{},"status: 'pending'",[72,149,151],{"id":150},"pair-with-markdown-streaming-prop","Pair with Markdown streaming prop",[63,153,154],{},"Wire the same signal into your Comark renderer:",[80,156,161],{"className":157,"code":158,"filename":159,"language":160,"meta":86,"style":86},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CMarkdown\n  :plugins=\"[arrow({ streaming: () => isStreaming })]\"\n  :streaming=\"isStreaming\"\n  :components=\"{ ArrowSandbox }\"\n\u002F>\n","Markdown.vue","vue",[67,162,163,172,215,232,253],{"__ignoreMap":86},[90,164,165,168],{"class":92,"line":93},[90,166,167],{"class":104},"\u003C",[90,169,171],{"class":170},"swJcz","Markdown\n",[90,173,175,178,181,184,187,190,192,194,196,198,200,202,204,207,209,212],{"class":92,"line":174},2,[90,176,177],{"class":104},"  :",[90,179,180],{"class":117},"plugins",[90,182,183],{"class":104},"=",[90,185,186],{"class":104},"\"",[90,188,189],{"class":100},"[",[90,191,97],{"class":96},[90,193,101],{"class":100},[90,195,105],{"class":104},[90,197,108],{"class":96},[90,199,111],{"class":104},[90,201,114],{"class":104},[90,203,118],{"class":117},[90,205,206],{"class":100}," isStreaming ",[90,208,130],{"class":104},[90,210,211],{"class":100},")]",[90,213,214],{"class":104},"\"\n",[90,216,218,220,223,225,227,230],{"class":92,"line":217},3,[90,219,177],{"class":104},[90,221,222],{"class":117},"streaming",[90,224,183],{"class":104},[90,226,186],{"class":104},[90,228,229],{"class":100},"isStreaming",[90,231,214],{"class":104},[90,233,235,237,240,242,244,246,249,251],{"class":92,"line":234},4,[90,236,177],{"class":104},[90,238,239],{"class":117},"components",[90,241,183],{"class":104},[90,243,186],{"class":104},[90,245,105],{"class":104},[90,247,248],{"class":100}," ArrowSandbox ",[90,250,130],{"class":104},[90,252,214],{"class":104},[90,254,256],{"class":92,"line":255},5,[90,257,258],{"class":100},"\u002F>\n",[63,260,261,262,264,265,268,269,273],{},"Incomplete frames get ",[67,263,147],{},". ",[67,266,267],{},"\u003CArrowSandbox>"," shows a placeholder and ",[270,271,272],"strong",{},"never boots the VM"," until the fence closes and streaming ends. Completed frames behave normally.",[275,276,277],"style",{},"html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":86,"searchDepth":174,"depth":174,"links":279},[280,281],{"id":74,"depth":174,"text":75},{"id":150,"depth":174,"text":151},"Keep incomplete ```arrow fences non-executable while Comark streams. Pending sandboxes show a placeholder and never boot QuickJS on partial source.","md",null,{},{"icon":41},{"title":38,"description":282},"DqZUfANyYyMTqUMgcsgvfVIhBcQOtzfoqrxPRWNvhTE",[290,292],{"title":33,"path":34,"stem":35,"description":291,"icon":36,"children":-1},"Author ArrowJS widgets with ```arrow fenced blocks, optional ```arrow-css styles, or ::arrow bound directives — both forms emit the same AST node.",{"title":43,"path":44,"stem":45,"description":293,"icon":46,"children":-1},"Expose allowlisted host functions to ArrowJS sandboxes via provideArrowHostBridge. Bridge modules never go on the AST — supply them from the app.",1794911835403]