@wafflebase/cli 0.6.12 → 0.6.14

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 (3) hide show
  1. package/README.md +19 -0
  2. package/dist/bin.js +19308 -17345
  3. package/package.json +7 -6
package/README.md CHANGED
@@ -39,6 +39,20 @@ export WAFFLEBASE_API_KEY=wfb_…
39
39
  export WAFFLEBASE_WORKSPACE=ws-…
40
40
  ```
41
41
 
42
+ ## Rendering slides to PNG
43
+
44
+ ```bash
45
+ wafflebase slides render <doc-id> --out ./shots # slide-1.png … slide-N.png
46
+ wafflebase slides render <doc-id> --slide 3 --out ./shots # only slide 3
47
+ ```
48
+
49
+ Writes one 1920-wide PNG per slide using the web app's own renderer, in a
50
+ headless Chromium (not soffice). It needs a login session (`wafflebase login`;
51
+ API keys cannot sign a browser in) and Playwright, which is optional and not
52
+ installed with the CLI: `npm i playwright && npx playwright install chromium`.
53
+ `--frontend <url>` (or `WAFFLEBASE_FRONTEND_URL`) names the web app when it
54
+ cannot be inferred from `--server`; `--force` overwrites existing PNGs.
55
+
42
56
  ## Image fetching
43
57
 
44
58
  `docs export` / `slides export` fetch the images a document references. An
@@ -252,6 +266,11 @@ the YAML frontmatter for safety + tool list, and `wafflebase schema
252
266
  <command>` for parameter shapes. See [`skills/SKILL.md`](skills/SKILL.md)
253
267
  for the index.
254
268
 
269
+ The [Claude Code plugin](../../plugins/wafflebase/README.md) carries
270
+ copies of these files as references. After changing a skill, a command,
271
+ or the package version, run `pnpm cli build:plugin`; `pnpm cli test`
272
+ fails until the copies match.
273
+
255
274
  ## Design
256
275
 
257
276
  Full design in [`/docs/design/rest-api.md`](../../docs/design/rest-api.md)