What the backend can do decides what is drawn. A capability it doesn't declare hides the control (no button, shortcut or command); one unavailable right now (offline, rate-limited) is drawn disabled, its reason on hover, focus and tap. can() and unavailable() for keys.
npx shadcn@latest add https://notchset.dev/r/capability.jsoncapability