Database Inspector
interface DatabaseInspector
Reads and (opt-in) edits an app's own SQLite databases. Read-only SELECT/PRAGMA statements are always allowed; any statement that can mutate data or schema is refused with DatabaseExecResult.WriteBlocked unless DatabaseInspector.execute's writeEnabled is true. Callers pass writeEnabled from EditingCapabilities.database. Declared in sdk:server-api -- a plain boundary module with no Android dependency -- so both the Android engine implementation (sdk:full) and the platform-independent Ktor routes (sdk:server-ktor) can share this one contract without a circular module dependency, the same way io.devconsole.state.SessionFeatureFlags reaches GET/POST /api/v1/flags.