@easysociable/cli 0.1.19 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easysociable/cli",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Agent-first CLI for EasySociable: Content Engine, Template, Slideshow, and MCP",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -106,14 +106,18 @@ Structure (step 3) and look are chosen separately. The look comes from a
106
106
  decoration). Drop any the previous Run used, take the least conventional
107
107
  one, and pick references whose `style` fits it.
108
108
  5. Otherwise → the content decides: get candidates for the cover with
109
- `easysociable templates references --role hook,cover [--no-image] --json`
109
+ `easysociable templates references --role hook,cover --json`
110
110
  (results are shuffled) and take the first that fits the content. Its
111
111
  `style` is the deck's style; for each other page ask for that page's roles
112
112
  with `--style <style>`. A number → `metric,proof`; a list item →
113
113
  `point,value,steps`; a comparison → `compare`; a real product →
114
114
  `screenshot`. No match in that style → any style, keeping the cover's chrome.
115
115
 
116
- `--no-image` unless you have (or will leave a placeholder for) a real image.
116
+ Don't filter out references that need an image just because you have none:
117
+ most covers in the library have an image area. Use one and fill that area
118
+ without a photo (references/REFERENCES.md, "A reference's image area"). Keep a
119
+ placeholder only where the content needs a real screenshot or photo (step 5).
120
+ `--no-image` is for when you specifically want designs drawn with type alone.
117
121
  Read each chosen design with `easysociable templates source --family <familyId> --json`
118
122
  and adapt it as in `references/REFERENCES.md` ("Adapting a reference" and
119
123
  "Avoid"). Put the result in the pack as a generated page:
@@ -9,7 +9,7 @@ no reference at all.
9
9
  Find references for a page role, shuffled, as short summaries:
10
10
 
11
11
  ```bash
12
- easysociable templates references --role hook,cover [--no-image] [--style <style>] [--exclude <familyIds>] --json
12
+ easysociable templates references --role hook,cover [--style <style>] [--exclude <familyIds>] [--no-image] --json
13
13
  easysociable templates source --family <familyId> --json # the design's Studio source
14
14
  ```
15
15
 
@@ -29,6 +29,13 @@ Roles overlap in the catalog, so pass related ones together: `hook,cover` ·
29
29
  `height` = lines × lineHeight + ~12% of fontSize for descenders.
30
30
  4. Remove what you do not need; add only elements copied from another reference
31
31
  with the same `style` (rule rows, a stat row).
32
+ 4a. **A reference's image area** when you have no image and the content does
33
+ not need a real one: keep the area's box and fill it from the content with a
34
+ large number or keyword, a short quote with an oversized quote mark, an
35
+ accent-colour block carrying one word, or one icon from
36
+ `easysociable icons search` on a tinted block. Never a grey placeholder or an
37
+ empty box on the cover. If nothing fits, delete the area and give the
38
+ headline its space.
32
39
  5. Brand chrome: the header label is the Brand name (or the topic when there is
33
40
  no Brand); the CTA names the Brand handle. Never leave a reference's original
34
41
  name or handle (e.g. "Will.AI.m") on a page. **Bind them** so a Brand change