@ramme-io/devkit 0.3.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,8 +23,9 @@ That gives you the `ramme` command. Or run it without installing, as
23
23
  ## Get a token
24
24
 
25
25
  On ramme.io, open **Settings → Access tokens** and make one. Tick **See my
26
- boards** and **Send apps to my boards**, choose how long it lasts, and copy it
27
- — it is shown once. Then either save it:
26
+ boards** and **Send apps to my boards** (and **See my saved apps** and **Save
27
+ apps to my account** for an agent that should keep what it writes), choose how
28
+ long it lasts, and copy it — it is shown once. Then either save it:
28
29
 
29
30
  ```bash
30
31
  ramme login --token rmk_…
@@ -80,14 +81,58 @@ validate before sending:
80
81
  - `ramme_board_parts`: what one board has plugged in, whether each part works,
81
82
  and each sensor's latest reading as a Signal (a temperature probe's
82
83
  `temperature` in °C, say), plus its settings and the apps it holds.
83
- - `ramme_send_app`: sends a validated app to a board, by id or name.
84
+ - `ramme_send_app`: sends a validated app to a board, by id or name: a
85
+ document written out, or one saved to your account.
86
+ - `ramme_save_app`: saves a validated app to your account, under its id, so
87
+ it outlives the board it went to and can go to any of yours. Saving an app
88
+ with the same id again replaces it. It needs a token that can save apps.
89
+ - `ramme_list_apps`, `ramme_get_app`: what is saved, and one app's document
90
+ to edit. They need a token that can see saved apps.
91
+ - `ramme_delete_app`: removes one saved app. Boards keep their copy.
84
92
  - `ramme_configure_board`: changes a board's settings: its name, whether its
85
93
  screen's light and dark are swapped, which of its apps is on show, and how
86
94
  often they take turns. It needs a token that can change settings.
87
95
 
96
+ - `ramme_propose_app`: shows you the app on a card, drawn as the board will
97
+ draw it, with the board's name and a **Send to board** button. It sends
98
+ nothing itself. Hosts that show interactive cards (MCP Apps, such as Claude
99
+ Desktop) get the card; elsewhere the agent asks you, then uses
100
+ `ramme_send_app`.
101
+
88
102
  No tool installs firmware, or claims or releases a board. Those stay on the
89
103
  board's page on ramme.io, for you to do.
90
104
 
105
+ ### Approve on a card (Claude Desktop)
106
+
107
+ In Claude Desktop, ask for an app ("put a countdown to Friday on the desk
108
+ board") and it answers with a card instead of sending. Tap **Send to board** and
109
+ the board shows it at its next check-in. Until you tap, nothing leaves your
110
+ machine but the checks.
111
+
112
+ - The card is an [A2UI](https://a2ui.org) 1.0 surface, served as the MCP App
113
+ `ui://ramme/approve`. It is drawn from A2UI's basic components plus one of
114
+ Ramme's, `BoardPreview`, which uses the same renderer as the studio on
115
+ ramme.io.
116
+ - The Send button calls `ramme_approve_send`, a tool only the card can see.
117
+ It sends the app the server kept when the card was made, so what you saw is
118
+ what goes. Each card sends once, and a card goes stale after ten minutes.
119
+ - Live values such as weather and the time show as the board's placeholders
120
+ on the card. The board fetches the real ones itself.
121
+
122
+ Add it to Claude Desktop's config file (Settings → Developer → Edit Config):
123
+
124
+ ```json
125
+ {
126
+ "mcpServers": {
127
+ "ramme": {
128
+ "command": "npx",
129
+ "args": ["-y", "@ramme-io/devkit", "mcp"],
130
+ "env": { "RAMME_TOKEN": "rmk_…" }
131
+ }
132
+ }
133
+ }
134
+ ```
135
+
91
136
  Claude Code:
92
137
 
93
138
  ```bash