@ramme-io/devkit 0.2.0 → 0.2.1

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
@@ -4,7 +4,7 @@ Make Ramme apps on your own machine, with your own coding agent and your own
4
4
  model keys. The devkit checks an app the way the boards do, lists your boards
5
5
  and sends one an app — as the `ramme` command, or as a local MCP server any
6
6
  agent can use. ramme.io only checks and delivers; it never runs a model for
7
- you. Why it exists: `docs/superpowers/community-platform-plan.md`.
7
+ you.
8
8
 
9
9
  A Ramme app is a JSON document the board draws, never code it runs.
10
10
  `ramme guide` prints the whole format.
@@ -91,27 +91,8 @@ claude mcp add ramme --env RAMME_TOKEN=rmk_… -- npx -y @ramme-io/devkit mcp
91
91
  Any other client takes the same command with `RAMME_TOKEN` (and, for your
92
92
  own server, `RAMME_API_URL`) in its environment. Nothing but protocol messages is ever written to stdout.
93
93
 
94
- ## From this repo
95
-
96
- Build it, then run the built command:
97
-
98
- ```bash
99
- pnpm --filter @ramme-io/devkit build
100
- ```
101
-
102
- ```bash
103
- node framework/devkit/dist/cli.js boards
104
- ```
105
-
106
- Its tests run offline against a fake ramme.io:
107
-
108
- ```bash
109
- pnpm --filter @ramme-io/devkit test
110
- ```
111
-
112
94
  ## What the server still checks
113
95
 
114
96
  Everything. A token reaches only your own boards and only what its scopes
115
97
  allow, 60 requests a minute; every app is validated again on arrival; and a
116
98
  token cannot make tokens, change your account or see anyone else's boards.
117
- See `products/ramme-marketing/lib/auth/guard.ts`.
@@ -119,9 +119,11 @@ var describeValidation = (v) => v.ok ? `Valid: \u201C${v.document.name}\u201D ($
119
119
  ${v.issues.map((i) => ` - ${i}`).join("\n")}`;
120
120
 
121
121
  // src/mcp.ts
122
+ import { createRequire } from "module";
122
123
  import { createInterface } from "readline";
123
124
  import { APP_DOCUMENT_SYSTEM_PROMPT } from "@ramme-io/shared";
124
- var SERVER_INFO = { name: "ramme", version: "0.1.0" };
125
+ var { version } = createRequire(import.meta.url)("../package.json");
126
+ var SERVER_INFO = { name: "ramme", version };
125
127
  var PROTOCOL_VERSION = "2025-06-18";
126
128
  var INSTRUCTIONS = [
127
129
  "Ramme boards are 2.8-inch touch screens that draw apps described as JSON documents \u2014 never code.",
package/dist/cli.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  serveMcp,
15
15
  serverLabel,
16
16
  validateAppText
17
- } from "./chunk-LEO24C5C.js";
17
+ } from "./chunk-23KDE6U6.js";
18
18
 
19
19
  // src/cli.ts
20
20
  import { readFileSync, realpathSync } from "fs";
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  serveMcp,
17
17
  validateApp,
18
18
  validateAppText
19
- } from "./chunk-LEO24C5C.js";
19
+ } from "./chunk-23KDE6U6.js";
20
20
  export {
21
21
  DEFAULT_API,
22
22
  RammeApiError,
package/package.json CHANGED
@@ -1,8 +1,18 @@
1
1
  {
2
2
  "name": "@ramme-io/devkit",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Make Ramme apps on your own machine with your own coding agent: validate an app, list your boards, send it to one — as a CLI or a local MCP server.",
5
5
  "license": "MIT",
6
+ "homepage": "https://www.ramme.io",
7
+ "keywords": [
8
+ "ramme",
9
+ "esp32",
10
+ "mcp",
11
+ "iot",
12
+ "display",
13
+ "devkit",
14
+ "cli"
15
+ ],
6
16
  "private": false,
7
17
  "type": "module",
8
18
  "engines": {
@@ -21,7 +31,7 @@
21
31
  "access": "public"
22
32
  },
23
33
  "dependencies": {
24
- "@ramme-io/shared": "4.0.0"
34
+ "@ramme-io/shared": "4.1.0"
25
35
  },
26
36
  "devDependencies": {
27
37
  "@types/node": "^20.14.10",