v0.151.0 — Bert M2: Bert does things
The Bert program's second milestone: Bert can change things for you. Small changes you ask for happen at once, as you, each marked via Bert in History, and Undo takes a turn's changes back together. Anything that deletes, or that you didn't ask for in your own words, waits for Do it. The program's documents are in docs/programs/bert/; this milestone's tasks, decisions and test script are in docs/programs/bert/m2-bert-does-things.md.
- [x] Bert does small things you ask for: set a token's HP or another property, add or remove a condition, move a token by squares, rename a map or a token, say something in chat as you. Each is done as you, through the same routes and permissions, marked via Bert in history, and the reply's Undo takes the turn's changes back together (never someone else's later edit, and never what you may no longer change).
- [x] Bigger things wait for Do it: deleting a token, a drawing, a placed Object, an aura, action or artwork, resetting the fog of war, and generating monsters or an encounter to place near a token, are proposed with what they will change, and nothing happens until you tap Do it (or Cancel). A change Bert wasn't asked for in your own words, such as one suggested by something it read, is only proposed too.
- [x] Which map has the werewolf? Bert finds tokens across a campaign's maps by name or by who made them.
- [x] Links in chat: a URL anyone writes is a link (http and https only), and chat messages are now sanitised before they're shown.
- [x] Bert's words become buttons: when an answer sends you to Settings → AI → Assistant, a help page, Campaigns or the Library, the reply has a button that opens it; the no-key reply opens Settings at the right place.
- [x] The chat box is no longer a form field: LastPass kept putting its icon in it through every opt-out, so it's now an editable area with nothing for a password manager to fill. It looks and works as before: Enter sends, Up recalls,
/wsuggests, and pasted line breaks become spaces.
Fixed
- [x] A message you sent no longer shows twice. Off a campaign's pages, the chat could draw your own message as two bubbles until you reloaded.
- [x] A campaign that copied its system's defaults no longer shows each bar twice, and selecting a token in one no longer crashes the page. Its conditions and properties can still list twice; that needs its own fix.
- [x] An unlinked token's sheet has one Combat card, not two with the same heading.
- [x] Help answers stay. With a conversation under way, a how-to question that mentioned a character or a map could have its good answer replaced by an apology.
Under the hood
- [x] Under the hood: 34 replayed evals, including three where content Bert reads tells it to act.
- [x] Bert's help corpus budget is 64k tokens. AI Policy 1.5 says what Bert may change and what it keeps. No migrations, no Module API change.