@bendyline/docblocks-cli 2.1.0 → 2.1.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/README.md CHANGED
@@ -66,13 +66,18 @@ docblocks mcp --allow-read ./documents --allow-write ./exports
66
66
  ```
67
67
 
68
68
  `convert` and `video` accept Markdown, Squisq JSON Doc, DBK/ZIP, folders, and
69
- import-capable linked-registry formats. Direct `build`, `convert`, and `video`
70
- outputs replace existing destination files; `convert` publishes each replacement
71
- atomically after enforcing bounded input and output sizes. `build` traversal and
72
- `parse` input/JSON output are also bounded. MCP conversions instead return
69
+ import-capable linked-registry formats. `build` replaces generated HTML files;
70
+ `convert` and `video` refuse existing destinations unless `--allow-overwrite` is
71
+ passed. Multi-target conversion stages the complete batch and rolls back replacements
72
+ if publication fails. Build traversal, input bytes, and output bytes are bounded, as
73
+ are parse input and JSON output. MCP conversions instead return
73
74
  immutable session artifacts; only explicit `save_artifact` materializes one, using
74
75
  no-replace or hash-conditional replacement semantics.
75
76
 
77
+ The package root is a side-effect-free programmatic API for `runBuild`, `runConvert`,
78
+ `runVideo`, and `runParse`. Importing it never starts Commander; the executable is
79
+ the separate `docblocks` bin entry.
80
+
76
81
  The live linked registry currently covers Markdown, DOCX, PDF, PPTX, XLSX, CSV,
77
82
  HTML, HTML ZIP, EPUB, DBK, MP4, and GIF. Direction varies by format, so use the
78
83
  CLI reference or MCP `list_formats` rather than assuming every format imports.
package/dist/bin.d.ts ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node