KQ-757 · PROMPT/HISTORY
Prompt History
A single-line composer with a memory. ArrowUp in the empty field opens a stack of previous prompts above it, most recent nearest the field: the cards rise from eight pixels on snap in a cascade stagger, and the stack reads as a wheel — the active card at full ink and scale, its neighbours dimmer and smaller by their distance, the highlight travelling on snap. ArrowUp turns it toward older prompts, ArrowDown toward newer and closes past the newest, Home and End jump, and Enter picks: the stack leaves on the exit ease and the prompt slides down into the field with the caret at its end. A clock button opens the same stack for the pointer, typing closes it, and Enter with text sends.
Explain the queued badge
Gaugeworks Reasoner
The queued badge means a report is written and waiting for signal. It clears on its own once the crew is back in range, and the retry runs on a backoff of 2, 8 and 30 seconds so a dead spot no longer drains the battery.
5 prompts · up for history
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/prompt-history
Props
- prompts
- string[]
- default —
- Previous prompts, most recent first.
- max
- number
- default 5
- How many of them the stack shows.
- value / defaultValue
- string
- default ""
- Controlled or initial field text.
- onValueChange
- (value: string) => void
- default —
- Fires from every edit and from a pick.
- onPick
- (prompt: string, index: number) => void
- default —
- Fires when a card is picked, with its index in prompts.
- onSend
- (value: string) => void
- default —
- Fires from Enter with text, trimmed.
- open
- boolean
- default —
- Optional controlled open state of the stack; pair with onOpenChange.
- onOpenChange
- (open: boolean) => void
- default —
- Fires when the stack opens or closes.
- placeholder
- string
- default "Ask, or press Up for history"
- Placeholder while the field is empty.
- label
- string
- default —
- Names the combobox.
| Prop | Type | Default | Description |
|---|---|---|---|
| prompts | string[] | — | Previous prompts, most recent first. |
| max | number | 5 | How many of them the stack shows. |
| value / defaultValue | string | "" | Controlled or initial field text. |
| onValueChange | (value: string) => void | — | Fires from every edit and from a pick. |
| onPick | (prompt: string, index: number) => void | — | Fires when a card is picked, with its index in prompts. |
| onSend | (value: string) => void | — | Fires from Enter with text, trimmed. |
| open | boolean | — | Optional controlled open state of the stack; pair with onOpenChange. |
| onOpenChange | (open: boolean) => void | — | Fires when the stack opens or closes. |
| placeholder | string | "Ask, or press Up for history" | Placeholder while the field is empty. |
| label | string | — | Names the combobox. |