hyperdecks 0.1.10 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +15 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -79,16 +79,11 @@ and JSON stats distinguish narration started/finished from unknown legacy
79
79
  playback. Production is the default for login, import, share and statistics;
80
80
  `--dev` with an explicit backend is only for implementation testing.
81
81
 
82
- The 0.1.10 release is prepared here; npm publication remains a separate
83
- coordinated step after backend/frontend rollout. Both `hyperdecks` and `decks`
84
- resolve to the same implementation.
82
+ Both `hyperdecks` and `decks` resolve to the same implementation.
85
83
 
86
- Existing published 0.1.9 supports production login, import and ordinary share
87
- creation; publishing 0.1.10 is not required for those flows.
84
+ ## Animated email previews (0.1.10+)
88
85
 
89
- ## Animated email previews (prepared 0.1.10; publication pending)
90
-
91
- This command is implemented in the prepared CLI source. npm publication, deployment of the owner-only `previews:get` Convex query, and upgrading a global CLI are coordinated release steps still pending. Local-file export needs no login or backend deployment. Both `hyperdecks` and `decks` accept the same command; the canonical package is `@hypersocial/decks-cli`.
86
+ Published in 0.1.10; the owner-only `previews:get` query is live in production. Local-file export needs no login. Both `hyperdecks` and `decks` accept the same command; the canonical package is `@hypersocial/decks-cli`.
92
87
 
93
88
  ```sh
94
89
  hyperdecks preview setup
@@ -101,7 +96,18 @@ Generate locally, select an existing same-deck recipient share, then explicitly
101
96
 
102
97
  Capture defaults to the initial slide, 4 seconds, 600px width and 10 fps, with a play/watch badge on GIF, PNG and silent MP4. `--duration` accepts 1–10 seconds, `--width` 240–1200 pixels (odd widths round up for MP4), `--delay` 0–10000 milliseconds (default 1000), and `--label "Watch · 2:41"` supplies an explicit label; no whole-deck narration duration is inferred. Aspect comes from `--aspect-ratio W:H`, `<meta name="preview-aspect-ratio" content="16:9">`, or the first slide/canvas bounds; otherwise 16:9. Output height rounds to an even pixel. Fonts get up to 5 seconds to settle. Inspect readiness warnings/poster for slow modules or media and increase the bounded delay if needed.
103
98
 
104
- `--json` prints one result on stdout; errors/progress use stderr and failures exit nonzero. `manifest.json` records source, status, absolute artifact paths, MIME types, bytes, dimensions, clip durations/fps, share URL, warnings and each completed upload. Files larger than 5 MiB warn: reduce duration/width for email. On upload failure local artifacts survive; inspect the manifest's URLs and `upload` records (an uploaded storage blob can exist even if saving its asset failed). Retry in a fresh directory; never overwrite an image already used in an email.
99
+ `--json` prints one line on stdout, identical to `<out>/manifest.json`:
100
+
101
+ ```json
102
+ { "status": "exported | uploaded | failed", "shareUrl": "https://decks.hypersocial.ai/v/<token>",
103
+ "files": [{ "type": "gif | png | mp4", "path": "...", "url": "https://...convex.cloud/api/storage/...", "bytes": 74662, "width": 600, "height": 338 }],
104
+ "email": { "sendable": true, "path": "<out>/email.html", "html": "<a href=\"<shareUrl>\"><img src=\"<gif url>\" ...></a>" },
105
+ "warnings": [] }
106
+ ```
107
+
108
+ `email.html` is the embed: drop it into any HTML email body or API send. `url` and `email` exist only after `--upload`.
109
+
110
+ Errors/progress use stderr and failures exit nonzero. `manifest.json` records source, status, absolute artifact paths, MIME types, bytes, dimensions, clip durations/fps, share URL, warnings and each completed upload. Files larger than 5 MiB warn: reduce duration/width for email. On upload failure local artifacts survive; inspect the manifest's URLs and `upload` records (an uploaded storage blob can exist even if saving its asset failed). Retry in a fresh directory; never overwrite an image already used in an email.
105
111
 
106
112
  Only successful explicit uploads produce `email.html` and `email.sendable: true`, with the GIF wrapped in the exact recipient link. Use that HTML/GIF in your draft manually. Some email clients show only the first GIF frame: the PNG poster and the visible watch badge provide a static fallback. MP4 is for other channels; email video support varies. Local exports provide files to insert manually and a separate share URL when selected, with no claim of sendable remote-image HTML. Static image downloads do not open the deck, start narration, record engagement, or notify the owner.
107
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperdecks",
3
- "version": "0.1.10",
3
+ "version": "0.2.0",
4
4
  "description": "Friendly CLI for Hypersocial Decks live analytics and share management.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -16,7 +16,7 @@
16
16
  "node": ">=20"
17
17
  },
18
18
  "dependencies": {
19
- "@hypersocial/decks-cli": "^0.1.10"
19
+ "@hypersocial/decks-cli": "^0.2.0"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"