@bendyline/docblocks-cli 2.6.2 → 2.7.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/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @bendyline/docblocks-cli
2
2
 
3
3
  The DocBlocks command-line surface for document build and preview, linked-Squisq
4
- format conversion, MP4 rendering, document parsing, and a local MCP server for
5
- agents.
4
+ format conversion, MP4 rendering, document parsing, workspace catalog refresh, and
5
+ a local MCP server for agents.
6
6
 
7
7
  [CLI and MCP overview](https://docblocks.com/cli/)
8
8
 
@@ -25,16 +25,17 @@ directions, overwrite behavior, MCP authority, artifact lifecycle, and assurance
25
25
 
26
26
  ## Commands
27
27
 
28
- | Command | Purpose |
29
- | ---------------------------------- | ----------------------------------------------------- |
30
- | `docblocks build` | Recursively build Markdown into standalone HTML. |
31
- | `docblocks serve` | Run a constrained local preview server. |
32
- | `docblocks convert <input>` | Convert through the linked Squisq registry. |
33
- | `docblocks video <input> [output]` | Render a configurable MP4. |
34
- | `docblocks mcp` | Start the artifact-first MCP server over local stdio. |
35
- | `docblocks themes` | List linked Squisq theme IDs. |
36
- | `docblocks transforms` | List linked Squisq transform IDs. |
37
- | `docblocks parse <input>` | Parse UTF-8 Markdown into Squisq Markdown AST JSON. |
28
+ | Command | Purpose |
29
+ | ----------------------------------- | --------------------------------------------------------------- |
30
+ | `docblocks build` | Recursively build Markdown into standalone HTML. |
31
+ | `docblocks serve` | Run a constrained local preview server. |
32
+ | `docblocks convert <input>` | Convert through the linked Squisq registry. |
33
+ | `docblocks video <input> [output]` | Render a configurable MP4. |
34
+ | `docblocks mcp` | Start the artifact-first MCP server over local stdio. |
35
+ | `docblocks themes` | List linked Squisq theme IDs. |
36
+ | `docblocks transforms` | List linked Squisq transform IDs. |
37
+ | `docblocks parse <input>` | Parse UTF-8 Markdown into Squisq Markdown AST JSON. |
38
+ | `docblocks workspace refresh [dir]` | Refresh catalog outputs enabled in `.docblocks/workspace.json`. |
38
39
 
39
40
  Use `docblocks help <command>` for the installed option summary.
40
41
 
@@ -57,6 +58,10 @@ docblocks video story.md --quality high --orientation portrait
57
58
  # Render the Dashboard rendition to a square image with accent cards
58
59
  docblocks convert report.md --formats png --image-resolution square --image-style accent
59
60
 
61
+ # Regenerate the catalog.json / index.html a workspace opts into
62
+ docblocks workspace refresh ./docs --dry-run
63
+ docblocks workspace refresh ./docs
64
+
60
65
  # Discover authoring vocabulary from linked Squisq
61
66
  docblocks themes
62
67
  docblocks transforms
@@ -82,8 +87,15 @@ question only when the choice is materially ambiguous. The complete catalog rema
82
87
  available at `docblocks://authoring-guide`.
83
88
 
84
89
  `convert` and `video` accept Markdown, Squisq JSON Doc, DBK/ZIP, folders, and
85
- import-capable linked-registry formats. `build`/`serve` standalone HTML includes
86
- Copy controls for ordinary fenced code blocks; Mermaid fences remain diagrams. `build` replaces generated HTML files;
90
+ import-capable linked-registry formats. `video` also renders **Dynamic slides** from current text and saved design
91
+ preferences against narration sidecars; stale narration or missing timings fail
92
+ export. Legacy saved presentation plans remain readable. `build`/`serve` standalone HTML includes
93
+ Copy controls for ordinary fenced code blocks; Mermaid fences remain diagrams. Without
94
+ `--theme`, `build`/`serve` apply `documents.defaultTheme` from
95
+ `.docblocks/workspace.json` to documents whose frontmatter names no theme;
96
+ `--ignore-workspace-settings` opts out. `workspace refresh` writes only outputs the
97
+ settings enable, replaces only files carrying the DocBlocks catalog marker, writes
98
+ only when bytes differ, and exits 1 when a hand-written file blocks an output. `build` replaces generated HTML files;
87
99
  `convert` and `video` refuse existing destinations unless `--allow-overwrite` is
88
100
  passed. Multi-target conversion stages the complete batch and rolls back replacements
89
101
  if publication fails. Build traversal, input bytes, and output bytes are bounded, as
@@ -92,7 +104,7 @@ immutable session artifacts; only explicit `save_artifact` materializes one, usi
92
104
  no-replace or hash-conditional replacement semantics.
93
105
 
94
106
  The package root is a side-effect-free programmatic API for `runBuild`, `runConvert`,
95
- `runVideo`, and `runParse`. Importing it never starts Commander; the executable is
107
+ `runVideo`, `runParse`, and `runWorkspaceRefresh`. Importing it never starts Commander; the executable is
96
108
  the separate `docblocks` bin entry.
97
109
 
98
110
  The live linked registry currently covers Markdown, DOCX, PDF, PPTX, XLSX, CSV,