AppCatalog

Answers questions about the installed apps deterministically from the local index (SRS §6) — "how many music apps", "list my games" — so the LLM never has to guess a count or invent an inventory. Matching is by Android's declared app category (ApplicationInfo.CATEGORY_*), with a label-keyword fallback.

Functions

Link copied to clipboard
fun describe(apps: List<AppEntry>, query: String): String

A short, minimal-UX answer for an inventory question.

Link copied to clipboard
fun query(apps: List<AppEntry>, raw: String): List<AppEntry>

Apps matching a category word (preferred) or, failing that, a label keyword.