Identifier token
An identifier you can read at a glance and copy whole. Use it for agent ids, request references and commits instead of printing the raw string.
bunx --bun shadcn@4.17.0 add @waimakers/id-token- Kit dependencies
- utilsthemetooltipcopy-button
- npm dependencies
- None
From the registry
Middle-truncated identifier with a keyboard-focusable full-value tooltip and the existing CopyButton confirmation and clipboard refusal announcement. No toast.
Examples
Long identifier
Long values truncate in the middle so both ends stay readable. Hover or focus shows the full value; the button copies it.
Short value
Values of twenty characters or fewer show in full.
In a record
Inside a description list, next to the facts it identifies. Tab to the token to see its full value.
- Agent
- Inbox triage
- Agent id
- Last request