@tellandshow/story-assets 0.0.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/CLAUDE.md ADDED
@@ -0,0 +1,45 @@
1
+ # @tellandshow/story-assets — Agent Router
2
+
3
+ ## What this is
4
+
5
+ CC0 starter content for Story Studio: background SVGs, palette presets, ambient sound loops, font pairings. Consumed by genre presets (`@tellandshow/story-skills/genre/*`) and the drawing card (offers starter palettes per genre).
6
+
7
+ **M1.1 status: empty stub.** Assets land in M3 once the builder is wired to read from them.
8
+
9
+ ## Planned layout (M3)
10
+
11
+ ```
12
+ story-studio/packages/story-assets/
13
+ ├── assets/
14
+ │ ├── palettes/
15
+ │ │ ├── fairy-tale.json
16
+ │ │ ├── mystery.json
17
+ │ │ └── ...
18
+ │ ├── backgrounds/
19
+ │ │ ├── forest.svg
20
+ │ │ ├── castle.svg
21
+ │ │ └── ...
22
+ │ ├── sound-loops/
23
+ │ │ ├── fireplace.mp3
24
+ │ │ └── ...
25
+ │ └── fonts/
26
+ │ └── (Google Fonts subsets we ship)
27
+ ├── package.json
28
+ └── CLAUDE.md
29
+ ```
30
+
31
+ ## Always
32
+
33
+ - Every asset is **CC0** or otherwise public-domain. No CC-BY, no attribution-required content. We can't expect a 9-year-old to manage attribution.
34
+ - Pre-publish, scan that no third-party copyrighted material slipped in.
35
+
36
+ ## Ask first
37
+
38
+ - Adding a non-CC0-licensed asset (even if "free for non-commercial use").
39
+ - Bundling fonts that have name-restricted licenses (e.g., Adobe Originals).
40
+
41
+ ## Updates
42
+
43
+ | Date | Change | Author |
44
+ |------------|-----------------------------------------------------|--------|
45
+ | 2026-05-07 | Initial empty stub (M1.1). Assets land in M3. | jim |
package/LICENSE ADDED
@@ -0,0 +1,30 @@
1
+ MIT License
2
+
3
+ Copyright © 2026 Tell and Show
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
22
+
23
+ ---
24
+
25
+ NOTE ON BUNDLED ASSETS: The CC0 sprites, sounds, palettes, and other content
26
+ shipped under `assets/` are sourced from public-domain origins. Each asset's
27
+ provenance is documented in its sibling `<asset>.meta.json` file (when M3
28
+ content lands). Use of those assets is governed by CC0 — no attribution
29
+ required, but provenance metadata preserves the chain of custody for
30
+ auditability.
@@ -0,0 +1,62 @@
1
+ # Picker thumbnails
2
+
3
+ Tiny CC0 SVG icons that ride alongside `picker` / `image-picker` wizard
4
+ options. When a wizard option declares `image: "@tellandshow/story-assets/picker-thumbnails/<id>.svg"`,
5
+ the renderer grabs the thumbnail from this folder and shows it inside the
6
+ option tile. Kids see what each choice *looks like* before committing —
7
+ visual-forward all the way down.
8
+
9
+ ## Why this exists
10
+
11
+ Story Studio's wizards already lean on `image-picker` for mood / vibe / role
12
+ selection (see `kid/sketch-character`'s mood picker, `kid/sketch-scene`'s
13
+ mood picker, `kid/create-character`'s vibe + role pickers). Today those
14
+ options ship without `image` URLs because no thumbnail bank exists. This
15
+ folder is the bank.
16
+
17
+ ## Schema (`manifest.json`)
18
+
19
+ ```jsonc
20
+ {
21
+ "version": 1,
22
+ // Optional default size hint. Renderer reads this; falls back to its own
23
+ // 96×96 if absent.
24
+ "thumbSize": { "w": 96, "h": 96 },
25
+ // Map of option id → thumbnail path, relative to this folder.
26
+ // Keys MUST match the `id` of a picker option used in some wizard.
27
+ "thumbnails": {
28
+ "mood-brave": "moods/brave.svg",
29
+ "mood-mysterious": "moods/mysterious.svg",
30
+ "vibe-heroic": "vibes/heroic.svg",
31
+ "role-villain": "roles/villain.svg"
32
+ }
33
+ }
34
+ ```
35
+
36
+ The manifest is a **lookup table**, not a build artifact. Wizards reference
37
+ thumbnails by manifest key OR by relative path inside `picker-thumbnails/`
38
+ — both resolve. Keys win when both are valid.
39
+
40
+ ## Authoring rules (when M3 fills this in)
41
+
42
+ - **CC0 only.** No traced-from-copyrighted-source thumbnails. Each `.svg`
43
+ ships with a sibling `<id>.meta.json` recording origin (drawn fresh /
44
+ derived from open art / sourced from <link>) so the chain of custody is
45
+ auditable.
46
+ - **One concept per thumbnail.** A "brave" mood thumbnail isn't a busy
47
+ scene — it's a single iconic stick figure with the brave-pose silhouette.
48
+ Kids should read the meaning in under a second.
49
+ - **96×96 viewBox**, 2-color palette by default (paper + ink), accent
50
+ swatch optional for mood-keyed tints. Stroke 4–6px to read at thumbnail
51
+ size on a small screen.
52
+ - **Group by category.** `moods/`, `vibes/`, `roles/`, `genres/`. Lets
53
+ wizards reference a whole category at once via `manifest.byCategory`
54
+ (M3 expansion — not in v1 schema).
55
+
56
+ ## Status
57
+
58
+ **Placeholder.** This folder ships in `@tellandshow/story-assets@0.0.1`
59
+ with the manifest scaffold + this README, no SVGs yet. The first batch
60
+ arrives when M3 visual-forward authoring lands (Task #50 in the plan).
61
+ Wizards already ship with `description:` strings on every option; those
62
+ remain the textual fallback after thumbnails arrive.
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "thumbSize": { "w": 96, "h": 96 },
4
+ "thumbnails": {}
5
+ }
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@tellandshow/story-assets",
3
+ "version": "0.0.1",
4
+ "description": "CC0 starter assets for Tell and Show's Story Studio: backgrounds, palette presets, sound loops, font pairings. Consumed by genre presets and the drawing card.",
5
+ "files": [
6
+ "assets/",
7
+ "CLAUDE.md",
8
+ "LICENSE"
9
+ ],
10
+ "keywords": [
11
+ "tellandshow",
12
+ "story-assets",
13
+ "kids"
14
+ ],
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/EJKIV/tellandshow.git",
19
+ "directory": "story-studio/packages/story-assets"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ }
24
+ }