Conversation Branch
A chat thread where editing a message or regenerating an answer creates versions, with ‹ 2 / 3 › switchers that swap the thread below and a popover tree of every branch.
Preview
2 alternate branches
- Edited
You: Suggest a name for our weekend hiking club that also picks up litter on the trails.
Version 2 of 2 Pebble: Trail Keepers works well: it hints at the cleanup without sounding like a chore, and it fits on a sticker.
Version 2 of 2You: Love it. Give me a one-line tagline to go with it.
Pebble: Trail Keepers: we hike it, we tidy it, we come back next Saturday.
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| roots | BranchNode[] | — | Versions of the first message. A node is { id, role, text, children? }; siblings are versions. |
| reply | (text: string) => string | canned | Builds the reply to an edited user message. |
| regenerate | (question: string, n: number) => string | canned | Builds a regenerated answer; n is the number of versions so far. |
| assistantName | string | "Kestrel" | Name shown above answers and read before them. |
| onChange | (roots: BranchNode[]) => void | — | Called with the whole tree after an edit or regenerate. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
