Skip to content

Releases: six-ddc/browser-cli

v0.3.2

23 Mar 01:11

Choose a tag to compare

v0.3.1

07 Mar 13:38

Choose a tag to compare

Changes

Optimization: Move defuddle from CLI to extension

Moved HTML-to-markdown extraction (defuddle) from CLI-side (jsdom) to the extension content script (native DOM), eliminating the heavyweight jsdom dependency from the CLI.

Size improvements:

  • CLI JS bundle: 6.6 MB → 654 KB (-90%)
  • Compiled binary (darwin-arm64): 62 MB → 52 MB (-16%)
  • npm package: ~1.5 MB → 225 KB (-85%)

Details:

  • Extension content script now uses defuddle/full directly on a cloned document
  • Removed jsdom, defuddle, @types/jsdom from CLI dependencies
  • Removed patchJsdomXhr build plugin (no longer needed)
  • Added esbuild charset: 'ascii' in wxt.config.ts (Chrome rejects non-ASCII bytes in content scripts)
  • Removed MarkdownRawResult intermediate type from shared protocol

Full Changelog: v0.3.0...v0.3.1

v0.3.0

07 Mar 13:04

Choose a tag to compare

v0.2.0

25 Feb 16:21

Choose a tag to compare