Skip to content

0.3.0 — Answers go to your message

Choose a tag to compare

@ComicBit ComicBit released this 21 Oct 22:37
· 3 commits to main since this release

The biggest change: nothing you pick in a reply is sent on its own any more. Choices, Form fields, a Plan's Approve and a Decision go into your message box, and you send them with BB's send button, together with anything you type. Apps can now keep their state and answer too, and threads full of cards move much less under you, most of all on a phone.

bb plugin update genui

Agent sessions started after the update get the new components and instructions.

Changed

  • Your message is the answer sheet. Choice buttons, a Form's fields, a Plan's Approve, a Decision's option, a follow-up and a reply row of a List go into your message box as one block of plain lines, kept up to date as you change them. A reply that asks several questions, in one block or several, can be answered in full: answering one no longer closes the others. Delete the block from your message to clear those picks; edit it and it is your text.
  • Choices are toggles: picking again takes a pick back out, picking another switches. A muted In your message line marks a question answered in your draft, and picks survive a page reload. Forms have no submit button: your first change puts every field in your message as Label: answer lines. After you send, every answered block folds into what it sent.
  • Replies written before this version still render. Without a composer for the thread on screen, a pick is still sent at once, and a Form keeps a Send button.
  • Agents show what is better seen than read, and write real prose around it. On a 64-prompt battery, Haiku 5.5 now uses UI on 103 of 110 prompts that call for it (52 before) and Sonnet 5.5 on 109 of 110; one-line-over-a-card replies fell from 74 to 3, and a blind judge preferred the new replies 181 to 67. Claude Code sessions use UI as often as omp ones. UI belongs only in the reply that ends the agent's turn, and questions go in one Form or one run of buttons.
  • The instructions cost 6,432 input tokens per session instead of 6,949.
  • Buttons that open a file in BB show a file icon, so the external-link arrow only means a web page. A Button's or List row's own icon: stays in front and the action's glyph goes at the end; rows that answer show a paper plane.

Added

  • Apps keep their state. In a ```app block, localStorage is saved with the reply (256 KB per app, 1 MB in all) and sessionStorage works while the app is on screen. alert, confirm, prompt and window.open show a note instead of failing silently; forms submit without reloading the app; https links open in BB.
  • Apps can answer. genui.answer(text), from a click or key press, puts the app's answer in your message like any other pick; genui.openLink(url) opens an https page in BB.
  • Apps follow the Animations setting, open at the height they last had, draw their layout as it streams in, and have Full screen and Download as HTML buttons. An SVG kit (text, boxes, connectors, theme tints, an arrowhead) for diagrams drawn in apps.
  • ui_examples(["app"]) gives agents the app contract and two example apps; check_ui checks app pages for syntax errors, network use, dialogs and other things the sandbox refuses.
  • Copy as markdown beside a reply's Source toggle: the block as plain markdown with the values you changed.
  • Chart types histogram and box for raw observations such as latencies or benchmark runs.
  • Map trips: a place can name a Wikipedia article and shows its lead photo with author and licence (only openly licensed ones, behind Web lookups); places can carry day, with a colour, legend and route per day; tour: true drops the pins in order.
  • Where the numbers come from: Table, Chart and Metric take source: ("illustrative", "user-provided", a note or a URL); data read with Load names its file.
  • Buttons say what pressing them does. A glyph at the end names the action (send, open a link, copy), and BB's tooltip says exactly what is sent, opened or copied. A link shows the address the browser really opens, so https://github.com@evil.com/ reads https://evil.com/.

Fixed

  • Less movement while you scroll a thread full of cards, found and checked in iOS Safari: a diagram keeps its height until BB draws it, Code and Snippet open at the height their code will take, and PullRequest() opens at about its final height.
  • A thread opened again no longer shows gaps under its pictures that then snap shut, and the choices of an answered reply no longer show for a moment and then fold away.
  • With threads side by side or stacked in BB, a picture, diagram or app opened full screen covers its own thread's pane instead of the whole window.
  • Chart series written as {name: {values, tone}} were rejected though the reference shows that form; a review artifact that is a web address opens as a link.

Thanks to @alexandre-vl for #10 (pictures at their size when a thread opens again) and #11 (buttons that say what they do).

See the changelog for every detail.

Full changes: v0.2.6...v0.3.0