@ramme-io/devkit 0.4.0 → 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 +37 -0
- package/dist/app/approve.html +1152 -0
- package/dist/{chunk-Y7Q727ZC.js → chunk-NQ2K2FVH.js} +172 -12
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +48 -0
- package/dist/index.js +1 -1
- package/package.json +18 -5
package/README.md
CHANGED
|
@@ -93,9 +93,46 @@ validate before sending:
|
|
|
93
93
|
screen's light and dark are swapped, which of its apps is on show, and how
|
|
94
94
|
often they take turns. It needs a token that can change settings.
|
|
95
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
|
+
|
|
96
102
|
No tool installs firmware, or claims or releases a board. Those stay on the
|
|
97
103
|
board's page on ramme.io, for you to do.
|
|
98
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
|
+
|
|
99
136
|
Claude Code:
|
|
100
137
|
|
|
101
138
|
```bash
|