[{"data":1,"prerenderedAt":184},["ShallowReactive",2],{"navigation_docs":3,"-guide-security":57,"-guide-security-surround":179},[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":48,"body":59,"description":172,"extension":173,"links":174,"meta":175,"navigation":176,"path":49,"seo":177,"stem":50,"__hash__":178},"docs\u002F2.guide\u002F4.security.md",{"type":60,"value":61,"toc":163},"minimark",[62,66,71,88,92,99,103,112,128,134,138,149,153],[63,64,65],"p",{},"Security for comark-arrow spans sandbox isolation, upstream sandbox limits, and how you integrate with Comark's security plugin.",[67,68,70],"h2",{"id":69},"run-agent-source-only-in-quickjswasm","Run agent source only in QuickJS\u002FWASM",[63,72,73,74,78,79,83,84,87],{},"Agent-authored widget source runs ",[75,76,77],"strong",{},"only"," inside ",[80,81,82],"code",{},"@arrow-js\u002Fsandbox"," (QuickJS\u002FWASM), not in the host page realm (R9.1). The host never ",[80,85,86],{},"eval","s fence bodies.",[67,89,91],{"id":90},"treat-isolation-as-a-boundary-not-proof","Treat isolation as a boundary, not proof",[63,93,94,95,98],{},"Isolation is ",[75,96,97],{},"not"," correctness (R9.6). A sandboxed widget can still show wrong numbers, misleading UI, or call allowed bridge APIs. Review generated widgets the way you review generated numbers or SQL.",[67,100,102],{"id":101},"understand-upstream-sandbox-limits","Understand upstream sandbox limits",[63,104,105,107,108,111],{},[80,106,82],{}," bridges a ",[75,109,110],{},"restricted"," runtime:",[113,114,115,122,125],"ul",{},[116,117,118,121],"li",{},[80,119,120],{},"fetch()"," — https only, no credentials, 15 s timeout, 1 MB response cap",[116,123,124],{},"Timers — available inside the sandbox",[116,126,127],{},"Host cookies and DOM — unreachable from sandboxed code",[63,129,130,131,133],{},"Re-check upstream release notes when you upgrade ",[80,132,82],{},".",[67,135,137],{"id":136},"allowlist-arrowsandbox-in-security","Allowlist ArrowSandbox in security()",[63,139,140,141,144,145,148],{},"If your Comark pipeline uses ",[80,142,143],{},"security({ allowedTags: [...] })",", include ",[80,146,147],{},"ArrowSandbox"," in the allowlist. Without it, the security plugin may strip sandbox nodes from output.",[67,150,152],{"id":151},"pin-the-sandbox-version","Pin the sandbox version",[63,154,155,156,158,159,162],{},"Pin ",[80,157,82],{}," to ",[80,160,161],{},"1.0.6"," (Early Access). Re-check the API on upgrade — bridge behavior, fetch limits, and module resolution can change between releases.",{"title":164,"searchDepth":165,"depth":165,"links":166},"",2,[167,168,169,170,171],{"id":69,"depth":165,"text":70},{"id":90,"depth":165,"text":91},{"id":101,"depth":165,"text":102},{"id":136,"depth":165,"text":137},{"id":151,"depth":165,"text":152},"Agent-authored ArrowJS source runs in QuickJS\u002FWASM only. Review widgets like generated numbers; pin @arrow-js\u002Fsandbox and allowlist ArrowSandbox in security().","md",null,{},{"icon":51},{"title":48,"description":172},"peOSj_BNdM5q04mpIUsiJbasSKag1VqCbj2K_dC1o1A",[180,182],{"title":43,"path":44,"stem":45,"description":181,"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.",{"title":53,"path":54,"stem":55,"description":183,"icon":56,"children":-1},"Render Arrow fences without booting QuickJS for HTML, PDF, email, and ANSI targets. Choose source, placeholder, or caption fallbacks and pre-bundle TypeScript in Vite.",1794911835404]