@sprid/cli 1.0.0 → 1.0.2
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/CHANGELOG.md +22 -0
- package/README-post.md +21 -15
- package/package.json +1 -1
- package/src/post/preview.mjs +382 -621
- package/src/post/recipes/screen.mjs +2 -1
- package/src/post/rules/video-safe-zones.d.mts +6 -0
- package/src/post/rules/video-safe-zones.mjs +27 -0
- package/src/post/screen/compose.mjs +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
sprid follows semver: a breaking change to a command's arguments, its output
|
|
4
4
|
shape or its exit codes is a major release.
|
|
5
5
|
|
|
6
|
+
## 1.0.2 - 2026-10-01
|
|
7
|
+
|
|
8
|
+
- Local video previews include a safe-zone toggle using the editor's approximate
|
|
9
|
+
bottom and right interface bands. Guides follow the actual picture through
|
|
10
|
+
letterboxing, resizing and feed view. They never appear in exported videos.
|
|
11
|
+
- Screen-reel captions stay above the bottom band and left of the action rail,
|
|
12
|
+
including their entrance animation. Oversized caption cards fail with a
|
|
13
|
+
readable error instead of drawing under the platform interface.
|
|
14
|
+
|
|
15
|
+
## 1.0.1 - 2026-10-01
|
|
16
|
+
|
|
17
|
+
- Local post previews use a compact artwork grid and a caption comparison list.
|
|
18
|
+
Clicking a post opens its media beside the caption, with icon controls and
|
|
19
|
+
file details on demand. Search and lane filters also scope post navigation.
|
|
20
|
+
- The preview follows the system theme, with a light/dark switch. Needs attention
|
|
21
|
+
includes missing files and captions, failed checks, and changed files or captions.
|
|
22
|
+
Carousel controls, keyboard navigation and the feed view remain available offline.
|
|
23
|
+
- A sound toggle above the grid also controls hover playback. The sun icon’s
|
|
24
|
+
diagonal rays render correctly.
|
|
25
|
+
- Feed previews preload every visible post plus one beyond each edge, and
|
|
26
|
+
keep outgoing video frames until scrolling stops.
|
|
27
|
+
|
|
6
28
|
## 1.0.0 - 2026-09-30
|
|
7
29
|
|
|
8
30
|
- Breaking: Sprid record IDs are UUIDs. Post and review references remain accepted. Incremental IDs are refused.
|
package/README-post.md
CHANGED
|
@@ -405,21 +405,27 @@ bunx @sprid/cli post preview --open # file://, fine for watching, cannot s
|
|
|
405
405
|
bunx @sprid/cli post preview --lane collage --copy --out ~/Desktop/reels
|
|
406
406
|
```
|
|
407
407
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
408
|
+
The video viewer has a **Safe zones** toggle: approximate bottom 20% and right 14% from 38% down to the bottom band. Hatching follows the video picture, including letterboxing; keep captions and important graphics outside it. This guide is not a guarantee of platform UI placement. Screen-reel captions use the same margins when rendered.
|
|
409
|
+
|
|
410
|
+
It reads the local registry and writes one self-contained HTML file. The preview
|
|
411
|
+
uses Sprid’s paper colours, follows the system theme, and works offline.
|
|
412
|
+
|
|
413
|
+
- **Grid.** A compact picture grid. Hover plays a reel or walks through a deck.
|
|
414
|
+
The sound button above the grid, or `m`, unmutes hover playback.
|
|
415
|
+
Click opens the post with its full caption beside the media, copy controls,
|
|
416
|
+
and file details. Missing files remain visible.
|
|
417
|
+
- **List.** One row per post, with the caption’s opening line, lane, length and
|
|
418
|
+
check state. Use it to compare captions across a batch.
|
|
419
|
+
- **Feed.** One post at reading size, with its caption underneath. Swipe sideways
|
|
420
|
+
or use arrow keys between posts, `m` for sound, and `esc` to return. Carousels
|
|
421
|
+
advance automatically; `space` pauses, `[` and `]` step slides manually.
|
|
422
|
+
Visible media and one extra post beyond each edge preload. Outgoing videos
|
|
423
|
+
stay loaded until scrolling stops.
|
|
424
|
+
|
|
425
|
+
Search matches the local ID, lane and caption. The lane selector and
|
|
426
|
+
**Needs attention** filter also apply to navigation between posts. Needs attention
|
|
427
|
+
includes failed checks, missing media or captions, and files or captions changed
|
|
428
|
+
since their saved record. Every post has a `#slug` address.
|
|
423
429
|
|
|
424
430
|
**`--serve` watches and reloads.** The registry, the lanes' media directories
|
|
425
431
|
and this package's own source are all watched; a change rebuilds the page and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprid/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "The Sprid command line: connect your app, review results, prepare posts and store screenshots, and release mobile apps.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|