Package-level declarations
Types
The entry point. One instance per document.
Whether a feature can run right now.
The outcome of resolving the routes: an answer, or why there wasn't one.
Implemented by the integrator: their own server, or their own model.
Where an answer came from. Shown to users and logged for audits (PRV-3).
Thrown by a route that failed for a reason the host can act on, such as the platform refusing inference from the background. Reported if no later route answers.
Why a feature cannot run.
What the model is asked to return (ANS-2).
One page's text layer. Offsets into text are UTF-16, which the core's character indices count.
A change the user has not agreed to yet.
Functions
Finds a model's quote in the source text and returns its character range there (ANS-3).
Tries each route in the fixed order of PRV-2 and reports which one answered.