Skip to content

Cards for OpenBot settings in chat: a registry per tool and a shared before and after card - #2074

Merged
davidmckayv merged 5 commits into
mainfrom
settings-mcp-cards
Nov 23, 2026
Merged

davidmckayv merged 5 commits into
mainfrom
settings-mcp-cards

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

Bots can read and change OpenBot's settings for the person asking, through a built-in app called OpenBot settings. This is the front end's half of its framework: how each of its tools is drawn in chat.

  • A registry of cards, one per tool, keyed by the tool's name (app/src/components/settings-tools/). The personal and admin card lists start empty, each in its own file.
  • A shared card for a change: the setting's name, its value before over its value after, and who else it reaches. Built for the narrow chat column, in the app's own card, badge and type styles.
  • A settings call is drawn by its card, live and after a reload, and never folded into a group of steps.
  • While a change waits for approval, the approval card shows its before and after.

Tested: app/tests/settings-tool-card.test.tsx reads a settings call's result as it really arrives (refused, answered inside the content envelope, running) and draws a change's rows.

…before and after card

A settings call is drawn by its tool's own card, live and after a reload, never folded into a group of steps. A change waiting for approval shows its before, after and who it reaches on the approval card. The personal and admin card lists start empty.
…wn approval body

A change's affected people are listed with what happens to each and how many more. A settings tool may register its own body for the approval card; the shared before and after rows are drawn otherwise.
@davidmckayv
davidmckayv merged commit 8d2c59b into main Nov 23, 2026
33 checks passed
@davidmckayv
davidmckayv deleted the settings-mcp-cards branch November 23, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant