Type Alias HostAttentionKind

HostAttentionKind: "passkey" | "consent" | "picker" | "confirmation"

What kind of host prompt is up.

A closed set on purpose: it is the coarsest vocabulary that still lets a surface write a sentence a user can act on, and adding a finer kind would start to describe the specific thing being asked about — which is the disclosure this channel refuses.

  • passkey — a WebAuthn assertion. The user must tap their authenticator.
  • consent — a capability/consent decision (mount, create, share, import, reference).
  • picker — a host-drawn chooser or entry surface (the powerbox, the add-secret modal).
  • confirmation — a notice or confirm the user must dismiss.