markstream-octane 0.0.56-beta.1 → 0.0.56-beta.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/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +1 -1
- package/package.json +3 -3
package/dist/tailwind.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const safeList = `octane
|
|
1
|
+
const safeList = `octane class=\"footnote-node flex text-sm leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2\"><div id typeof dependency is not install it to enable class=\"mb-4\"><dt class=\"definition-term font-semibold\"></dt><dd class=\"definition-desc definition data-index-key mb-4 dt definition-term font-semibold dd definition-desc ml-4 clsx name markstream-d2-root-svg string number window.requestAnimationFrame d2InstanceRef.current instance.render throw new instance missing object render returned empty top d2-block my-4 rounded-lg border overflow-hidden shadow-sm border-gray-700/30 bg-gray-900 text-gray-100 border-gray-200 bg-white text-gray-900 d2-block-header justify-between items-center px-4 py-2.5 border-b border-gray-400/5 gap-x-2 font-medium font-mono gap-x-1 rounded-md mode-btn px-2 py-1 text-xs !showSource showSource d2-action-btn p-2 transition-colors hover:bg-[var(--vscode-editor-selectionBackground)] aria-label aria-hidden w-3 h-3 none currentColor round aria-pressed m9 d2-block-body d2-source py-4 d2-code d2-error mt-2 d2-render d2-svg pb-3 click class=\"footnote-anchor hover:underline cursor-pointer\">\n ↩︎\n $$click href smooth keydown mouseenter mouseleave class=\"reference-node cursor-pointer bg-[hsl(var(--muted))] px-1.5 mx-0.5 $$mouseenter $$mouseleave $$keydown event.key w-4 h-4 flex-shrink-0 library failed text-red-500 p-4 error hidden transform ease center fullscreen auto touches rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-700 data-markstream-infographic hasPreview bg-gray-800 bg-gray-50 px-2.5 bg-gray-600 text-gray-200 text-gray-700 text-gray-500 m16 opacity-50 cursor-not-allowed m7 m14 relative absolute top-2 right-2 z-10 gap-2 backdrop-blur infographic-preview min-h-[360px] transition-all duration-100 inset-0 isDragging w-full text-center justify-center min-h-full markstream-octane fixed z-50 bg-black/70 dialog aria-modal dialog-panel h-full max-w-full max-h-full shadow-lg top-6 right-6 inline-flex !isDragging class=\"inline-code inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words text-node-stream-delta text-node-stream-delta--a text-node-stream-delta--b stream-markdown-parser primary fallback image async ?? placeholder image-node__placeholder image-node__spinner image-node__placeholder-text image… image-node__error load [mermaidWorkerClient] messageerror cleared worker inject via busy call timed out canParse findPrefix class=\"list-item pl-1.5 value list-item list-node my-5 pl-[calc(13/8*1em)] list-decimal list-disc max-lg:my-[calc(4/3*1em)] max-lg:pl-[calc(14/9*1em)] list markstream-core plaintext vitesse-dark vitesse-light canonicalLanguage shiki shiki-fallback console.warn('[MarkdownCodeBlockNode] dispose stream-markdown available [MarkdownCodeBlockNode] stale ready requires with and using default language register configured retrying without clientX navigator.clipboard navigator.clipboard.writeText code-block-container is-dark code-block-header space-x-2 icon-slot code-action-btn code-block-content code-block-render code-fallback-plain code-loading-placeholder loading-skeleton skeleton-line short class=\"checkbox-node\"><input class=\"footnote-reference\"><span>\n footnote-link className ref token.type block child safe ms-html text self_closing tag_open tag_close parse escape html-inline dynamic template html-inline-node html-inline-node--loading heading-node paragraph paragraph-node child.type renderNode ctx html-block-node html-block html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 mermaid loose strict viewBox gantt open-modal [data-mermaid-wrapper] mermaid-action-btn toggle-mode preview common.zoomIn common.zoomOut −\n common.resetZoom transition-[height] duration-150 data-mermaid-wrapper mermaid-loading mermaid-spinner diagram… mermaid-block-header space-x-1 common.preview source common.source common.export text-gray-300 whitespace-pre-wrap mermaid-error data-markstream-mermaid hasRenderedOnce mermaid-modal-overlay mermaid-modal-header mermaid-modal-title mermaid-modal-close common.close mermaid-modal-body mermaid-modal-content abort [markstream-octane] htmlPreviewSandbox contains both allow-scripts this only fully trusted content served an isolated en utf-8 viewport content="width=device-width initial-scale=1 html-preview-frame__header html-preview-frame__title html-preview-frame__dot html-preview-frame__label ×\n html-preview-frame__iframe no-referrer about:blank node.type next.maxHeight infographic langs code_block html_inline text_special heading list_item definition_list footnote footnote_reference footnote_anchor admonition hardbreak boolean inline_code emphasis strikethrough highlight insert subscript superscript checkbox checkbox_input emoji thematic_break math_inline math_block reference html_block vmr_container label_open label_close cannot delete global clearGlobalCustomComponents was provided in streamingComponents entry will be used parser-backed [katexWorkerClient] init cache-hit timeout waiting slot javascript typescript go python ruby shell powershell d2 plain cpp csharp objectivec objectivecpp yaml markdown rust kotlin zoom class=\"hr-node class=\"table-node-wrapper\"><table><!><thead class=\"border-[var(--table-border,#cbd5e1)]\"><tr p-[calc(4/7*1em)] table-node__resize-handle rowIdx bodyRows.length aria-busy text-left pointermove pointerup pointercancel my-8 isLoading table-node__loading status aria-live polite table-node__spinner sr-only dark window.matchMedia ms-tooltip z-[9999] inline-block text-base py-2 px-3 shadow-md whitespace-nowrap pointer-events-none tooltip-element text-white border-gray-700 tooltip animationend $$animationend text-node node.center class=\"unknown-node italic\">\n node type:\n class=\"admonition-header\"><!><span note admonition-icon admonition-toggle aria-expanded aria-controls collapsed admonition-content aria-labelledby target rel infinite node.title link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-text link-loading-indicator noopener noreferrer class children key data-language data-markstream-line-numbers diff !options.preserveBlankKind added context markstream-pre__diff-pane--inline original markstream-pre__diff-pane--original modified markstream-pre__diff-pane--modified removed no markstream-pre__diff-code markstream-pre__diff-line markstream-pre__diff-rail markstream-pre__diff-number markstream-pre__diff-content markstream-pre__diff-content-inner normalizedType thinking document class=\"math-block overflow-x-auto math-rendering viteEnv.MODE development process $$ math-inline__loading math-inline__spinner role aria-describedby °C sequencediagram classdiagram kind statediagram erdiagram flowchart graph indexKey prototype constructor module did expected globalThis.requestAnimationFrame globalThis.cancelAnimationFrame class=\"code-editor-layer\"><div></div><div code-height-placeholder m-0 style.visibility line-info legacy off never background night moon black dracula mocha frappe macchiato palenight ocean poimandres monokai laserwave tokyo slack-dark rose-pine github-dark material-theme one-dark catppuccin-mocha catppuccin-frappe catppuccin-macchiato visible max-height height onDidUpdateDiff onDidContentSizeChange onDidLayoutChange window.MutationObserver record.type explicit fontSize lineHeight paddingBottom paddingTop tabSize on same single window.cancelAnimationFrame flex-1 truncate evenodd next next.type window.requestIdleCallback [data-node-index] node-spacer data-custom-id node-slot data-node-index data-node-type fade-node node-placeholder typewriter-cursor [data-node-type="code_block"] [data-node-type="admonition"] [data-node-type="table"] [data-node-type="math_block"] [data-node-type="html_block"] [data-node-type="image"] performance [markstream-octane][perf] theme markdown-renderer katex stream-monaco cite existingEnv.getWorkerUrl`;
|
|
2
2
|
module.exports = safeList;
|
|
3
3
|
module.exports.safeList = safeList;
|
|
4
4
|
module.exports.default = safeList;
|
package/dist/tailwind.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const safeList = `octane
|
|
1
|
+
export const safeList = `octane class=\"footnote-node flex text-sm leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2\"><div id typeof dependency is not install it to enable class=\"mb-4\"><dt class=\"definition-term font-semibold\"></dt><dd class=\"definition-desc definition data-index-key mb-4 dt definition-term font-semibold dd definition-desc ml-4 clsx name markstream-d2-root-svg string number window.requestAnimationFrame d2InstanceRef.current instance.render throw new instance missing object render returned empty top d2-block my-4 rounded-lg border overflow-hidden shadow-sm border-gray-700/30 bg-gray-900 text-gray-100 border-gray-200 bg-white text-gray-900 d2-block-header justify-between items-center px-4 py-2.5 border-b border-gray-400/5 gap-x-2 font-medium font-mono gap-x-1 rounded-md mode-btn px-2 py-1 text-xs !showSource showSource d2-action-btn p-2 transition-colors hover:bg-[var(--vscode-editor-selectionBackground)] aria-label aria-hidden w-3 h-3 none currentColor round aria-pressed m9 d2-block-body d2-source py-4 d2-code d2-error mt-2 d2-render d2-svg pb-3 click class=\"footnote-anchor hover:underline cursor-pointer\">\n ↩︎\n $$click href smooth keydown mouseenter mouseleave class=\"reference-node cursor-pointer bg-[hsl(var(--muted))] px-1.5 mx-0.5 $$mouseenter $$mouseleave $$keydown event.key w-4 h-4 flex-shrink-0 library failed text-red-500 p-4 error hidden transform ease center fullscreen auto touches rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-700 data-markstream-infographic hasPreview bg-gray-800 bg-gray-50 px-2.5 bg-gray-600 text-gray-200 text-gray-700 text-gray-500 m16 opacity-50 cursor-not-allowed m7 m14 relative absolute top-2 right-2 z-10 gap-2 backdrop-blur infographic-preview min-h-[360px] transition-all duration-100 inset-0 isDragging w-full text-center justify-center min-h-full markstream-octane fixed z-50 bg-black/70 dialog aria-modal dialog-panel h-full max-w-full max-h-full shadow-lg top-6 right-6 inline-flex !isDragging class=\"inline-code inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words text-node-stream-delta text-node-stream-delta--a text-node-stream-delta--b stream-markdown-parser primary fallback image async ?? placeholder image-node__placeholder image-node__spinner image-node__placeholder-text image… image-node__error load [mermaidWorkerClient] messageerror cleared worker inject via busy call timed out canParse findPrefix class=\"list-item pl-1.5 value list-item list-node my-5 pl-[calc(13/8*1em)] list-decimal list-disc max-lg:my-[calc(4/3*1em)] max-lg:pl-[calc(14/9*1em)] list markstream-core plaintext vitesse-dark vitesse-light canonicalLanguage shiki shiki-fallback console.warn('[MarkdownCodeBlockNode] dispose stream-markdown available [MarkdownCodeBlockNode] stale ready requires with and using default language register configured retrying without clientX navigator.clipboard navigator.clipboard.writeText code-block-container is-dark code-block-header space-x-2 icon-slot code-action-btn code-block-content code-block-render code-fallback-plain code-loading-placeholder loading-skeleton skeleton-line short class=\"checkbox-node\"><input class=\"footnote-reference\"><span>\n footnote-link className ref token.type block child safe ms-html text self_closing tag_open tag_close parse escape html-inline dynamic template html-inline-node html-inline-node--loading heading-node paragraph paragraph-node child.type renderNode ctx html-block-node html-block html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 mermaid loose strict viewBox gantt open-modal [data-mermaid-wrapper] mermaid-action-btn toggle-mode preview common.zoomIn common.zoomOut −\n common.resetZoom transition-[height] duration-150 data-mermaid-wrapper mermaid-loading mermaid-spinner diagram… mermaid-block-header space-x-1 common.preview source common.source common.export text-gray-300 whitespace-pre-wrap mermaid-error data-markstream-mermaid hasRenderedOnce mermaid-modal-overlay mermaid-modal-header mermaid-modal-title mermaid-modal-close common.close mermaid-modal-body mermaid-modal-content abort [markstream-octane] htmlPreviewSandbox contains both allow-scripts this only fully trusted content served an isolated en utf-8 viewport content="width=device-width initial-scale=1 html-preview-frame__header html-preview-frame__title html-preview-frame__dot html-preview-frame__label ×\n html-preview-frame__iframe no-referrer about:blank node.type next.maxHeight infographic langs code_block html_inline text_special heading list_item definition_list footnote footnote_reference footnote_anchor admonition hardbreak boolean inline_code emphasis strikethrough highlight insert subscript superscript checkbox checkbox_input emoji thematic_break math_inline math_block reference html_block vmr_container label_open label_close cannot delete global clearGlobalCustomComponents was provided in streamingComponents entry will be used parser-backed [katexWorkerClient] init cache-hit timeout waiting slot javascript typescript go python ruby shell powershell d2 plain cpp csharp objectivec objectivecpp yaml markdown rust kotlin zoom class=\"hr-node class=\"table-node-wrapper\"><table><!><thead class=\"border-[var(--table-border,#cbd5e1)]\"><tr p-[calc(4/7*1em)] table-node__resize-handle rowIdx bodyRows.length aria-busy text-left pointermove pointerup pointercancel my-8 isLoading table-node__loading status aria-live polite table-node__spinner sr-only dark window.matchMedia ms-tooltip z-[9999] inline-block text-base py-2 px-3 shadow-md whitespace-nowrap pointer-events-none tooltip-element text-white border-gray-700 tooltip animationend $$animationend text-node node.center class=\"unknown-node italic\">\n node type:\n class=\"admonition-header\"><!><span note admonition-icon admonition-toggle aria-expanded aria-controls collapsed admonition-content aria-labelledby target rel infinite node.title link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-text link-loading-indicator noopener noreferrer class children key data-language data-markstream-line-numbers diff !options.preserveBlankKind added context markstream-pre__diff-pane--inline original markstream-pre__diff-pane--original modified markstream-pre__diff-pane--modified removed no markstream-pre__diff-code markstream-pre__diff-line markstream-pre__diff-rail markstream-pre__diff-number markstream-pre__diff-content markstream-pre__diff-content-inner normalizedType thinking document class=\"math-block overflow-x-auto math-rendering viteEnv.MODE development process $$ math-inline__loading math-inline__spinner role aria-describedby °C sequencediagram classdiagram kind statediagram erdiagram flowchart graph indexKey prototype constructor module did expected globalThis.requestAnimationFrame globalThis.cancelAnimationFrame class=\"code-editor-layer\"><div></div><div code-height-placeholder m-0 style.visibility line-info legacy off never background night moon black dracula mocha frappe macchiato palenight ocean poimandres monokai laserwave tokyo slack-dark rose-pine github-dark material-theme one-dark catppuccin-mocha catppuccin-frappe catppuccin-macchiato visible max-height height onDidUpdateDiff onDidContentSizeChange onDidLayoutChange window.MutationObserver record.type explicit fontSize lineHeight paddingBottom paddingTop tabSize on same single window.cancelAnimationFrame flex-1 truncate evenodd next next.type window.requestIdleCallback [data-node-index] node-spacer data-custom-id node-slot data-node-index data-node-type fade-node node-placeholder typewriter-cursor [data-node-type="code_block"] [data-node-type="admonition"] [data-node-type="table"] [data-node-type="math_block"] [data-node-type="html_block"] [data-node-type="image"] performance [markstream-octane][perf] theme markdown-renderer katex stream-monaco cite existingEnv.getWorkerUrl`;
|
|
2
2
|
export default safeList;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markstream-octane",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.56-beta.
|
|
4
|
+
"version": "0.0.56-beta.2",
|
|
5
5
|
"description": "Octane streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, Shiki, Monaco, and custom Octane components.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"@floating-ui/dom": "^1.8.0",
|
|
112
112
|
"clsx": "^2.1.1",
|
|
113
|
-
"
|
|
114
|
-
"
|
|
113
|
+
"stream-markdown-parser": "1.2.0",
|
|
114
|
+
"markstream-core": "1.0.3"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@octanejs/testing-library": "^0.1.18",
|