Intelligence
DrylAiScope
AI-aware
Where AiState is a per-component visual, DrylAiScope and
IDrylAiActivityService coordinate it across a whole region keyed by
operation — so a button, a card and an input light up in lockstep while the model
works. DrylAiStream binds an IAsyncEnumerable<string>
token stream straight to the UI, driving the state automatically. No LLM SDK
required — you bring the stream, DRYL maps it to the shared AI vocabulary.
Scope coordination
One Begin() call lights up every AI-aware component inside the scope — none of them sets an Ai parameter.
Card · inherits the scope
No Ai here — it lights up because it sits inside the scope.
AI
Streaming a response
DrylAiStream consumes a token stream into a chat bubble; the surrounding scope reacts via the shared key.
DA
Press “Stream a response”.