markstream-octane 2.0.12 → 2.0.14
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/client/index.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.px.css +1 -1
- package/dist/index.tailwind.css +7 -0
- 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 class=\"
|
|
1
|
+
const safeList = `octane class=\"list-item pl-1.5 value typeof list-item clsx 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 class=\"unknown-node text-sm text-gray-500 italic\">\n node type:\n ?? image paragraph auto paragraph-node child.type renderNode ctx markstream-core stream-markdown-parser mermaid none loose strict hidden viewBox gantt top open-modal keydown fullscreen [data-mermaid-wrapper] mermaid-action-btn p-2 text-xs rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-700 toggle-mode preview touch relative absolute top-2 right-2 z-10 rounded-lg flex items-center gap-2 backdrop-blur transition-colors common.zoomIn common.zoomOut −\n common.resetZoom min-h-[360px] overflow-hidden block transition-[height] duration-150 data-mermaid-wrapper inset-0 w-full text-center justify-center min-h-full mermaid-loading mermaid-spinner diagram… mermaid-block-header justify-between px-4 py-2.5 border-b bg-gray-800 border-gray-700/30 bg-gray-50 border-gray-200 space-x-2 icon-slot h-4 w-4 flex-shrink-0 font-medium font-mono space-x-1 rounded-md px-2.5 py-1 bg-gray-600 text-gray-200 shadow-sm bg-white text-gray-700 common.preview aria-hidden w-3 h-3 currentColor round source common.source m16 aria-pressed m9 opacity-50 common.export m7 m14 p-4 bg-gray-900 text-gray-300 whitespace-pre-wrap mermaid-error data-markstream-mermaid showSource hasRenderedOnce my-4 border markstream-octane mermaid-modal-overlay dialog aria-modal mermaid-modal-header mermaid-modal-title mermaid-modal-close common.close mermaid-modal-body mermaid-modal-content not available abort timed out class=\"hr-node string cannot delete global call clearGlobalCustomComponents was provided in both streamingComponents and entry will be used parser-backed boolean dark window.matchMedia fixed 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 is-dark text-gray-900 tooltip class=\"table-node-wrapper\"><table><!><thead class=\"border-[var(--table-border,#cbd5e1)]\"><tr font-semibold p-[calc(4/7*1em)] table-node__resize-handle aria-label rowIdx bodyRows.length data-index-key aria-busy text-left pointermove pointerup pointercancel my-8 isLoading table-node__loading status aria-live polite table-node__spinner sr-only className ref click mouseenter mouseleave class=\"reference-node cursor-pointer bg-[hsl(var(--muted))] px-1.5 mx-0.5 $$click $$mouseenter $$mouseleave $$keydown event.key class=\"admonition-header\"><!><span id note admonition-icon admonition-toggle aria-expanded aria-controls collapsed admonition-content aria-labelledby animationend $$animationend text-node-stream-delta text-node-stream-delta--a text-node-stream-delta--b text-node node.center class=\"checkbox-node\"><input zoom failed to load node.type safe next.maxHeight infographic language code_block html_inline text text_special heading list_item definition_list footnote footnote_reference footnote_anchor admonition hardbreak 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 dependency is install it enable [markstream-octane] htmlPreviewSandbox contains 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 name markstream-d2-root-svg number window.requestAnimationFrame d2InstanceRef.current instance.render throw new instance missing object render returned empty d2-block text-gray-100 d2-block-header border-gray-400/5 gap-x-2 gap-x-1 mode-btn px-2 !showSource d2-action-btn hover:bg-[var(--vscode-editor-selectionBackground)] d2-block-body d2-source py-4 d2-code d2-error mt-2 d2-render d2-svg pb-3 javascript typescript go python ruby shell powershell d2 plain cpp csharp objectivec objectivecpp yaml markdown rust kotlin plaintext zsh objective-c objective-cpp diff java php sql class=\"mb-4\"><dt class=\"definition-term font-semibold\"></dt><dd class=\"definition-desc definition mb-4 dt definition-term dd definition-desc ml-4 [katexWorkerClient] worker inject via init cache-hit busy timeout waiting slot html-block-node escape html-block html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 heading-node class=\"footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2\"><div class=\"footnote-reference\"><span>\n footnote-link smooth primary fallback async placeholder image-node__placeholder image-node__spinner image-node__placeholder-text image… image-node__error error [mermaidWorkerClient] messageerror cleared canParse findPrefix class=\"inline-code inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words class=\"footnote-anchor hover:underline cursor-pointer\">\n ↩︎\n href token.type child ms-html self_closing tag_open tag_close parse html-inline dynamic template html-inline-node html-inline-node--loading library rendered text-red-500 transform ease center data-markstream-infographic data-markstream-mode hasPreview cursor-not-allowed infographic-preview transition-all duration-100 overflow-auto isDragging z-50 bg-black/70 dialog-panel h-full max-w-full max-h-full shadow-lg top-6 right-6 inline-flex !isDragging target rel infinite node.title link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-text link-loading-indicator noopener noreferrer thinking key indexKey prototype constructor data-language data-markstream-line-numbers !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 markstream-pre__line-numbers markstream-pre__line-numbers-text markstream-pre__code module did expected $$ math-inline__loading math-inline__spinner class=\"math-block overflow-x-auto math-rendering viteEnv.MODE development process class children normalizedType sequencediagram classdiagram kind statediagram erdiagram flowchart graph document globalThis.requestAnimationFrame globalThis.cancelAnimationFrame role aria-describedby °C 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] markdown-renderer class=\"code-editor-layer\"><div></div><div code-height-placeholder code-fallback-plain m-0 style.visibility theme themes themeType languages stream disableFileHeader onThemeChange renderCustomHeader renderHeaderMetadata renderHeaderPrefix wrap split line-info 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 transparent visible max-height height onDidUpdateDiff onDidContentSizeChange onDidLayoutChange window.MutationObserver record.type resolvedOptions.padding vitesse-dark vitesse-light monospace unified fontSize lineHeight maxHeight paddingBottom paddingTop tabSize resolvedOptions.overflow fontFamily nextOptions.unsafeCSS [data-file] [data-diff] canonicalLanguage single window.cancelAnimationFrame clientX navigator.clipboard navigator.clipboard.writeText code-block-container code-block-header flex-1 truncate code-action-btn evenodd code-loading-placeholder loading-skeleton skeleton-line short katex value?.useMonaco stream-diffs/markstream stream-diffs runtime cite`;
|
|
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 class=\"
|
|
1
|
+
export const safeList = `octane class=\"list-item pl-1.5 value typeof list-item clsx 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 class=\"unknown-node text-sm text-gray-500 italic\">\n node type:\n ?? image paragraph auto paragraph-node child.type renderNode ctx markstream-core stream-markdown-parser mermaid none loose strict hidden viewBox gantt top open-modal keydown fullscreen [data-mermaid-wrapper] mermaid-action-btn p-2 text-xs rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-700 toggle-mode preview touch relative absolute top-2 right-2 z-10 rounded-lg flex items-center gap-2 backdrop-blur transition-colors common.zoomIn common.zoomOut −\n common.resetZoom min-h-[360px] overflow-hidden block transition-[height] duration-150 data-mermaid-wrapper inset-0 w-full text-center justify-center min-h-full mermaid-loading mermaid-spinner diagram… mermaid-block-header justify-between px-4 py-2.5 border-b bg-gray-800 border-gray-700/30 bg-gray-50 border-gray-200 space-x-2 icon-slot h-4 w-4 flex-shrink-0 font-medium font-mono space-x-1 rounded-md px-2.5 py-1 bg-gray-600 text-gray-200 shadow-sm bg-white text-gray-700 common.preview aria-hidden w-3 h-3 currentColor round source common.source m16 aria-pressed m9 opacity-50 common.export m7 m14 p-4 bg-gray-900 text-gray-300 whitespace-pre-wrap mermaid-error data-markstream-mermaid showSource hasRenderedOnce my-4 border markstream-octane mermaid-modal-overlay dialog aria-modal mermaid-modal-header mermaid-modal-title mermaid-modal-close common.close mermaid-modal-body mermaid-modal-content not available abort timed out class=\"hr-node string cannot delete global call clearGlobalCustomComponents was provided in both streamingComponents and entry will be used parser-backed boolean dark window.matchMedia fixed 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 is-dark text-gray-900 tooltip class=\"table-node-wrapper\"><table><!><thead class=\"border-[var(--table-border,#cbd5e1)]\"><tr font-semibold p-[calc(4/7*1em)] table-node__resize-handle aria-label rowIdx bodyRows.length data-index-key aria-busy text-left pointermove pointerup pointercancel my-8 isLoading table-node__loading status aria-live polite table-node__spinner sr-only className ref click mouseenter mouseleave class=\"reference-node cursor-pointer bg-[hsl(var(--muted))] px-1.5 mx-0.5 $$click $$mouseenter $$mouseleave $$keydown event.key class=\"admonition-header\"><!><span id note admonition-icon admonition-toggle aria-expanded aria-controls collapsed admonition-content aria-labelledby animationend $$animationend text-node-stream-delta text-node-stream-delta--a text-node-stream-delta--b text-node node.center class=\"checkbox-node\"><input zoom failed to load node.type safe next.maxHeight infographic language code_block html_inline text text_special heading list_item definition_list footnote footnote_reference footnote_anchor admonition hardbreak 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 dependency is install it enable [markstream-octane] htmlPreviewSandbox contains 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 name markstream-d2-root-svg number window.requestAnimationFrame d2InstanceRef.current instance.render throw new instance missing object render returned empty d2-block text-gray-100 d2-block-header border-gray-400/5 gap-x-2 gap-x-1 mode-btn px-2 !showSource d2-action-btn hover:bg-[var(--vscode-editor-selectionBackground)] d2-block-body d2-source py-4 d2-code d2-error mt-2 d2-render d2-svg pb-3 javascript typescript go python ruby shell powershell d2 plain cpp csharp objectivec objectivecpp yaml markdown rust kotlin plaintext zsh objective-c objective-cpp diff java php sql class=\"mb-4\"><dt class=\"definition-term font-semibold\"></dt><dd class=\"definition-desc definition mb-4 dt definition-term dd definition-desc ml-4 [katexWorkerClient] worker inject via init cache-hit busy timeout waiting slot html-block-node escape html-block html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 heading-node class=\"footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2\"><div class=\"footnote-reference\"><span>\n footnote-link smooth primary fallback async placeholder image-node__placeholder image-node__spinner image-node__placeholder-text image… image-node__error error [mermaidWorkerClient] messageerror cleared canParse findPrefix class=\"inline-code inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words class=\"footnote-anchor hover:underline cursor-pointer\">\n ↩︎\n href token.type child ms-html self_closing tag_open tag_close parse html-inline dynamic template html-inline-node html-inline-node--loading library rendered text-red-500 transform ease center data-markstream-infographic data-markstream-mode hasPreview cursor-not-allowed infographic-preview transition-all duration-100 overflow-auto isDragging z-50 bg-black/70 dialog-panel h-full max-w-full max-h-full shadow-lg top-6 right-6 inline-flex !isDragging target rel infinite node.title link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-text link-loading-indicator noopener noreferrer thinking key indexKey prototype constructor data-language data-markstream-line-numbers !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 markstream-pre__line-numbers markstream-pre__line-numbers-text markstream-pre__code module did expected $$ math-inline__loading math-inline__spinner class=\"math-block overflow-x-auto math-rendering viteEnv.MODE development process class children normalizedType sequencediagram classdiagram kind statediagram erdiagram flowchart graph document globalThis.requestAnimationFrame globalThis.cancelAnimationFrame role aria-describedby °C 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] markdown-renderer class=\"code-editor-layer\"><div></div><div code-height-placeholder code-fallback-plain m-0 style.visibility theme themes themeType languages stream disableFileHeader onThemeChange renderCustomHeader renderHeaderMetadata renderHeaderPrefix wrap split line-info 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 transparent visible max-height height onDidUpdateDiff onDidContentSizeChange onDidLayoutChange window.MutationObserver record.type resolvedOptions.padding vitesse-dark vitesse-light monospace unified fontSize lineHeight maxHeight paddingBottom paddingTop tabSize resolvedOptions.overflow fontFamily nextOptions.unsafeCSS [data-file] [data-diff] canonicalLanguage single window.cancelAnimationFrame clientX navigator.clipboard navigator.clipboard.writeText code-block-container code-block-header flex-1 truncate code-action-btn evenodd code-loading-placeholder loading-skeleton skeleton-line short katex value?.useMonaco stream-diffs/markstream stream-diffs runtime cite`;
|
|
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": "2.0.
|
|
4
|
+
"version": "2.0.14",
|
|
5
5
|
"description": "Octane streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, stream-diffs powered code blocks, and custom Octane components.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@floating-ui/dom": "^1.8.0",
|
|
106
106
|
"clsx": "^2.1.1",
|
|
107
|
-
"markstream-core": "2.0.
|
|
108
|
-
"stream-markdown-parser": "1.2.
|
|
107
|
+
"markstream-core": "2.0.14",
|
|
108
|
+
"stream-markdown-parser": "1.2.17"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@octanejs/testing-library": "^0.1.18",
|