Repository navigation
32 Bot Widgets
Source: docs/design/32-bot-widgets.md
P0–P2 implemented (2026-10-11). P3 authoring pipeline + P4 delivery tiers (D87) designed, not implemented.
Bots deliver single-file HTML widgets via task tools; cards load in sandboxed iframe (kepcup-app://, host prefix widget-). Default no network; human confirm per HTML sha256 (+ query summary); versions append-only; HTML never enters model context.
Capability bridge (KV / pre-approved read-only queries / links / theme height) executes in core SQLite — generated code never touches Node, filesystem, or network.
Task surface becomes widget_craft (+ widget_publish); create/update are service endpoints. Host state machine drives independent widget_authoring loops: SPEC → BUILD → GATE (S0/S1/S2) → REVIEW → FIX → deliver with check receipt only in task context.
L1 present declarative cards; L2 ask_user forms; L3 widget → chat (kepcup.reply / widget_read_state). Full WebApp-tier preview alignment with 47-File-WebApp-Viewer.
KepCup
Core
- 01-Conversation
- 02-Execution
- 03-Bot
- 04-Memory
- 05-Wiki-and-Skills
- 30-Supervisor-and-Tasks
- 40-Capability-Mounting
- 43-Task-Loop-Harness
Runtime
- 06-Isolation-and-Storage
- 07-Local-Runtime
- 08-Workdir
- 09-Tech-Stack
- 10-Sandbox
- 11-Storage
- 13-Permissions
- 24-Durable-Execution
Product
- 12-UI-Layout
- 33-Narrow-Layout
- 39-Workbench
- 41-Project-Team
- 42-Task-Run-View
- 45-Bot-File-Cards
- 47-File-WebApp-Viewer
Capabilities
- 14-Models-and-Browser
- 15-Interactive-Execution
- 16-Capability-Models
- 17-MinerU-Document-Parsing
- 18-Inline-Setup
- 19-Work-Path-and-Group-Setup
- 20-Conversation-Media
- 21-Web-Search
- 22-File-Skill-Routing
- 23-MCP-and-SubAgent
- 25-Capability-Tools
- 26-Voice-Input
- 31-Sensors
- 32-Bot-Widgets
- 35-Mail-Channel
- 36-Wiki-Multimodal-Ingest
- 38-Conversational-Settings
Team & agents
- 27-Butler-and-Delegation
- 28-External-Agents-ACP
- 37-Bot-Asset-Handover
- 41-InkCop-Local-Collab
- 48-Bot-Template-Export
Cloud & remote