scream-code 0.16.9 → 0.17.0
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/dist/{app-BJSym649.mjs → app-BL4emsvp.mjs} +9 -9
- package/dist/{dispatch-ChbwC2I5.mjs → dispatch-DXj2tzeV.mjs} +1 -1
- package/dist/{dispatch-CIOuINvn.mjs → dispatch-IFcnZsGX.mjs} +251 -176
- package/dist/main.mjs +1 -1
- package/dist/{markit-DG5XsAGz.mjs → markit-Dga2W6G6.mjs} +9 -9
- package/dist/public/assets/{index-DMGV8LA-.js → index-CKa_o5qA.js} +2 -2
- package/dist/public/assets/{index-DMGV8LA-.js.map → index-CKa_o5qA.js.map} +1 -1
- package/dist/public/assets/{index-DdPmkwIL.css → index-CVXe8l3P.css} +1 -1
- package/dist/public/index.html +2 -2
- package/package.json +2 -2
|
@@ -49723,8 +49723,9 @@ var import_lib = /* @__PURE__ */ __toESM(require_lib$1(), 1);
|
|
|
49723
49723
|
var import_turndown_cjs = /* @__PURE__ */ __toESM(require_turndown_cjs(), 1);
|
|
49724
49724
|
var import_turndown_plugin_gfm_cjs = require_turndown_plugin_gfm_cjs();
|
|
49725
49725
|
/**
|
|
49726
|
-
* Build a Turndown instance configured for GFM with the fixes
|
|
49727
|
-
* `~~strikethrough~~`, unescaped heading periods, and single-space list
|
|
49726
|
+
* Build a Turndown instance configured for GFM with the fixes this codebase
|
|
49727
|
+
* needs: `~~strikethrough~~`, unescaped heading periods, and single-space list
|
|
49728
|
+
* markers.
|
|
49728
49729
|
*
|
|
49729
49730
|
* Shared by the web scrapers (HTML → markdown) and the markit document engine
|
|
49730
49731
|
* (`src/markit`). The rule set must stay identical across both call sites.
|
|
@@ -54131,9 +54132,8 @@ function unzipSync(data, opts) {
|
|
|
54131
54132
|
* epub are all ZIP containers). Read-only: stored + deflate entries via
|
|
54132
54133
|
* fflate, which is pure JS and works on every platform.
|
|
54133
54134
|
*
|
|
54134
|
-
*
|
|
54135
|
-
*
|
|
54136
|
-
* fflate-backed equivalent keeps the surface tiny.
|
|
54135
|
+
* The converters only ever need `unzip`/`unzipText`, so a small fflate-backed
|
|
54136
|
+
* reader is enough; no tar support is required here.
|
|
54137
54137
|
*/
|
|
54138
54138
|
const UTF8_DECODER = new TextDecoder();
|
|
54139
54139
|
/** Read a single ZIP entry as UTF-8 text, or `undefined` when the entry is absent. */
|
|
@@ -56283,11 +56283,11 @@ function toArray(val) {
|
|
|
56283
56283
|
//#endregion
|
|
56284
56284
|
//#region ../../packages/agent-core/src/markit/registry.ts
|
|
56285
56285
|
/**
|
|
56286
|
-
* In-house document → markdown engine
|
|
56286
|
+
* In-house document → markdown engine.
|
|
56287
56287
|
*
|
|
56288
|
-
* Only the document converters
|
|
56289
|
-
* xlsx, epub). The first converter whose `accepts()` returns true and
|
|
56290
|
-
* `convert()` succeeds wins.
|
|
56288
|
+
* Only the document converters this codebase needs are registered (pdf, docx,
|
|
56289
|
+
* pptx, xlsx, epub). The first converter whose `accepts()` returns true and
|
|
56290
|
+
* whose `convert()` succeeds wins.
|
|
56291
56291
|
*/
|
|
56292
56292
|
var Markit = class {
|
|
56293
56293
|
#converters;
|