@glassly/miniapp 0.3.1-dev.515 → 0.3.1-dev.517

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -4,7 +4,7 @@ SDK for building Glassly local miniapps: static web apps that run inside the Gla
4
4
 
5
5
  > Developing this SDK or running the in-repo example from a fresh clone? Start at the **[SDK developer guide](../../../sdk/README.md)** (setup, build loop, doc map).
6
6
  > Per-module deep dives (return shapes, events, error codes): **[`sdk/docs/`](../../../sdk/docs/README.md)**.
7
- > Companion package: **[`@glassly/miniapp-cli`](../../../sdk/miniapp-cli/README.md)**, the `glassly-miniapp` CLI (`dev`, `release`, `pack`, `manifest`, `permission`, `hardware`, `schema`). Per-command docs live there.
7
+ > Companion package: **[`@glassly/miniapp-cli`](../../../sdk/miniapp-cli/README.md)**, the tooling behind the `glassly` command (`dev`, `release`, `pack`, `manifest`, `permission`, `hardware`, `schema`). Per-command docs live there.
8
8
  > Scaffolder: `bunx @glassly/create-miniapp my-app`.
9
9
  > Reference miniapp: [`miniapps/example-miniapp/`](../../../miniapps/example-miniapp).
10
10
  > High-level walkthrough: [`notes/miniapp-sdk-overview.md`](../../../notes/miniapp-sdk-overview.md).
@@ -262,21 +262,21 @@ Components:
262
262
  - `permissions[].type` ∈ `MICROPHONE | CAMERA | CALENDAR | LOCATION | BACKGROUND_LOCATION | READ_NOTIFICATIONS | DISPLAY_MIRROR | POST_NOTIFICATIONS | API_KEYS | MEMORY | AI | SPEAKERS | MANAGE_MINIAPPS | PLATFORM_SETTINGS`
263
263
  - `hardwareRequirements[].type` ∈ `CAMERA | DISPLAY | MICROPHONE | SPEAKER | IMU | BUTTON | LIGHT | WIFI`, `level` ∈ `REQUIRED | OPTIONAL`. (`EXIST` also exists on the wire but the phone injects it at runtime; don't declare it.)
264
264
 
265
- The CLI validates the manifest on every `dev`, `release`, and `pack`. Run `glassly-miniapp schema print` for the canonical JSON Schema.
265
+ The CLI validates the manifest on every `dev`, `release`, and `pack`. Run `glassly schema print` for the canonical JSON Schema.
266
266
 
267
267
  ## CLI
268
268
 
269
- The author-facing CLI lives in a sibling package: **[`@glassly/miniapp-cli`](../../../sdk/miniapp-cli/README.md)** (binary: `glassly-miniapp`). Full per-command docs there. Quick map:
269
+ The author-facing CLI lives in a sibling package: **[`@glassly/miniapp-cli`](../../../sdk/miniapp-cli/README.md)** (driven by the `glassly` command from `@glassly/cli`). Full per-command docs there. Quick map:
270
270
 
271
271
  | Command | Purpose |
272
272
  | -------------------------------------------------------------- | ------------------------------------------------------------ |
273
- | `glassly-miniapp dev` | Hot-reload dev server + QR sideload onto a phone over LAN |
274
- | `glassly-miniapp release` | Build, pack, and serve a QR to install on a phone |
275
- | `glassly-miniapp pack` | Validate manifest and zip `dist/` into `<pkg>-<version>.zip` |
276
- | `glassly-miniapp manifest` | Interactive top-level wizard for `miniapp.json` |
277
- | `glassly-miniapp permission list \| add \| remove [TYPE]` | Object-verb manifest edits for permissions |
278
- | `glassly-miniapp hardware list \| add \| remove [TYPE] [LEVEL]` | Object-verb manifest edits for hardware requirements |
279
- | `glassly-miniapp schema print` | Print the canonical `miniapp.json` JSON Schema |
273
+ | `glassly dev` | Hot-reload dev server + QR sideload onto a phone over LAN |
274
+ | `glassly release` | Build, pack, and serve a QR to install on a phone |
275
+ | `glassly pack` | Validate manifest and zip `dist/` into `<pkg>-<version>.zip` |
276
+ | `glassly manifest` | Interactive top-level wizard for `miniapp.json` |
277
+ | `glassly permission list \| add \| remove [TYPE]` | Object-verb manifest edits for permissions |
278
+ | `glassly hardware list \| add \| remove [TYPE] [LEVEL]` | Object-verb manifest edits for hardware requirements |
279
+ | `glassly schema print` | Print the canonical `miniapp.json` JSON Schema |
280
280
 
281
281
  See [the CLI README](../../../sdk/miniapp-cli/README.md) for flags, semantics, and the `miniapp://` URL schemes the QR codes encode.
282
282
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glassly/miniapp",
3
- "version": "0.3.1-dev.515",
3
+ "version": "0.3.1-dev.517",
4
4
  "description": "SDK for building Glassly local miniapps (browser/WebView)",
5
5
  "author": "Glassly Labs",
6
6
  "license": "MIT",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "dependencies": {
72
- "@glassly/cloud-protocol": "0.3.1-dev.515",
72
+ "@glassly/cloud-protocol": "0.3.1-dev.517",
73
73
  "eventemitter3": "^5.0.1"
74
74
  },
75
75
  "devDependencies": {