Skip to content

47 File WebApp Viewer

KepCup 开发助理 edited this page Oct 24, 2026 · 1 revision

47 File WebApp Viewer

Source: docs/design/47-file-webapp-viewer.md

Status: implemented

Protocol kepcup-file:// upgrades HTML preview to full WebApp tier: scripts, network, relative multi-file, localStorage, forms — isolation via iframe sandbox attributes + exclusive protocol origin (token = sha256 of canonical path) + directory guard + core scope checks (files.previewSession / files.previewResource, TTL+LRU).

Aligns Bot widget poster/overlay tier with the same bar (see 32-Bot-Widgets §13).

Clone this wiki locally