You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release-readiness review (3 auditors: publish surface / docs coherence /
diff sweep). Publish surface and diff hygiene came back clean (attw green,
purely-additive d.ts vs published 1.5.1, pack contents sane, deps correct,
release workflow gate green locally); every finding was documentation:
- both READMEs now surface the release: incrementalParseEnabled row in the
config tables (the npm front page omitted 1.6.0's headline flag) and a
createRemendPreprocessor pointer on contentPreprocessors
- release-highlights 1.6.0: headline number relabeled (84–94% MEASURED
pipeline saving, superseding the 70–89% parse-only estimate that was
misattributed to the benchmark); the v1-era "footnote bypass became
sticky" line qualified as superseded by v2's injection replay; a v2
hardening bullet added (two review rounds, terminator + mention gate,
table-first regression, plan cache, throw fence, SSR guard, checkpoint
slimming) so the new splice capabilities don't read as unaudited
- experiments/prefixFreeze README + detectorConsistency pin: the "shipped
rule is strictly TIGHTER" claim was probe-FALSIFIED (inline code-span
masking makes production LOOSER than L4 on bracket-bearing spans);
reworded to the honest two-way divergence with the pin scoped to its
corpora and safety authority assigned to the arbiter
- fifth stale v1 fallback claim fixed (IncrementalParseCompare story
JSDoc); remend JSDoc "both overridable" contradiction fixed; p50 rounding
unified to 32.4→7.5 ms across three docs; bare bracket pseudo-links in
benchmark methodology unwrapped
810 tests green; lint/prettier/typechecks clean.
|`content`|`string`|**required**| Raw markdown to render |
394
+
|`streaming`|`boolean`|`false`| Propagated via context for streaming-aware renderers |
395
+
|`fontSize`|`number \| string`|`'0.9375rem'`| Base font size (numbers → px). Anchors `--aim-font-size-root`|
396
+
|`variant`|`AIMarkdownVariant`|`'default'`| Typography variant name |
397
+
|`colorScheme`|`AIMarkdownColorScheme`|`'light'`|`'light'`, `'dark'`, or custom |
398
+
|`config`|`PartialDeep<TConfig>`| — | Partial render config, deep-merged with defaults |
399
+
|`defaultConfig`|`TConfig`|`defaultAIMarkdownRenderConfig`| Base config (sub-packages can override) |
400
+
|`metadata`|`TRenderData`| — | Arbitrary data for custom components (separate context) |
401
+
|`contentPreprocessors`|`AIMDContentPreprocessor[]`|`[]`| Extra string transforms applied after the LaTeX preprocessor. Ships an optional `createRemendPreprocessor()` factory for streaming tail repair — see [Content Preprocessors](./docs/content-preprocessors.md)|
|`blockMemoEnabled`|`boolean`|`true`| Per-block memoization. Output is byte-identical when disabled; set `false` only for debugging |
435
-
|`preserveOrphanReferences`|`boolean`|`true`| Protect orphan `[^x]: …` defs from being silently dropped during streaming when the reference hasn't arrived yet |
|`blockMemoEnabled`|`boolean`|`true`| Per-block memoization. Output is byte-identical when disabled; set `false` only for debugging |
435
+
|`incrementalParseEnabled`|`boolean`|`false`| EXPERIMENTAL. Prefix-freeze incremental parsing: append-only streaming re-parses only the tail (84–94% less pipeline stage time on the benchmark payloads). Output stays deep-equal to a full parse; see [Streaming & Performance](./docs/streaming-and-performance.md)|
436
+
|`preserveOrphanReferences`|`boolean`|`true`| Protect orphan `[^x]: …` defs from being silently dropped during streaming when the reference hasn't arrived yet |
0 commit comments