Skip to content

31 Sensors

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

31 Sensors

Source: docs/design/31-sensors.md

Decision (D76) — code implemented; device acceptance pending

Unify hardware as sensor: kind × transport × dataShape in a pure data table (packages/shared), same style as HOST_CAPABILITIES.

Layering

Hardware host lives in renderer / main — not core for now (zero core/RPC in P0). Preferences in renderer localStorage (kepcup.sensors.v1). Settings → Hardware is data-driven.

P0 scope

Microphone fully wired (permission, level meter, hotplug, missing-device UX). Camera: enumerate / auth / settings preview only — no Bot-facing camera capability yet. Default session permissions tightened to the app’s own window media.

Clone this wiki locally