@loopstack/loopstack-studio 0.21.0 → 0.21.1
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/components/LoadingCentered.js +2 -2
- package/dist/components/ai-elements/code-block.js +96 -0
- package/dist/components/ai-elements/message.js +87 -0
- package/dist/components/ai-elements/prompt-input.js +321 -0
- package/dist/components/ai-elements/reasoning.js +124 -0
- package/dist/components/ai-elements/shimmer.js +37 -0
- package/dist/components/ai-elements/sources.js +65 -0
- package/dist/components/ai-elements/tool.js +158 -0
- package/dist/components/content/ErrorAlert.js +17 -0
- package/dist/components/data-table/DataTable.js +99 -96
- package/dist/components/dynamic-form/CodeContent.js +2 -2
- package/dist/components/dynamic-form/FormElement.js +3 -3
- package/dist/components/dynamic-form/FormElementHeader.js +2 -2
- package/dist/components/dynamic-form/ObjectController.js +2 -2
- package/dist/components/layout/MainLayout.js +0 -1
- package/dist/components/lists/ListView.js +62 -59
- package/dist/components/loopstack-elements/link.js +115 -0
- package/dist/components/ui/button-group.js +13 -0
- package/dist/components/ui/command.js +7 -0
- package/dist/components/ui/context-menu.js +63 -0
- package/dist/components/ui/hover-card.js +6 -0
- package/dist/components/ui/input-group.js +85 -0
- package/dist/components/ui/table.js +2 -2
- package/dist/components/ui/tabs.js +54 -0
- package/dist/components/ui-widgets/UiActions.js +24 -0
- package/dist/components/ui-widgets/UiWidget.js +43 -0
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +43 -0
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +23 -0
- package/dist/components/ui-widgets/widgets/SubmitButton.js +23 -0
- package/dist/features/code-explorer/CodeExplorer.js +69 -0
- package/dist/features/code-explorer/components/CodeExplorerTree.js +43 -0
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +82 -0
- package/dist/features/code-explorer/components/FileContentViewer.js +237 -0
- package/dist/features/code-explorer/components/FileTabsBar.js +191 -0
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +165 -0
- package/dist/features/code-explorer/utils/fileIcons.js +42 -0
- package/dist/features/dashboard/Dashboard.js +125 -0
- package/dist/features/dashboard/RunItem.js +76 -0
- package/dist/features/dashboard/RunList.js +32 -0
- package/dist/features/debug/components/ConfigFlowViewer.js +79 -0
- package/dist/features/debug/components/PipelineDebugHeader.js +48 -0
- package/dist/features/debug/components/PipelineDebugLegend.js +68 -0
- package/dist/features/debug/components/PipelineFlowViewer.js +109 -0
- package/dist/features/debug/components/pipeline-flow/StateNode.js +111 -0
- package/dist/features/debug/components/pipeline-flow/WorkflowGraph.js +41 -0
- package/dist/features/debug/components/pipeline-flow/WorkflowTransitionEdge.js +97 -0
- package/dist/features/debug/lib/edge-paths.js +47 -0
- package/dist/features/debug/lib/flow-utils.js +247 -0
- package/dist/features/health/LocalHealthCheck.js +1 -1
- package/dist/features/oauth/OAuthCallbackPage.js +2 -0
- package/dist/features/oauth/OAuthPromptRenderer.js +223 -0
- package/dist/features/oauth/index.js +3 -0
- package/dist/features/oauth/useOAuthPopup.js +83 -0
- package/dist/features/workbench/NavigationItems.js +52 -0
- package/dist/features/workbench/Workbench.js +101 -0
- package/dist/features/workbench/WorkbenchNavigation.js +38 -0
- package/dist/features/workbench/WorkflowItem.js +67 -0
- package/dist/features/workbench/WorkflowList.js +110 -0
- package/dist/features/workbench/components/DocumentItem.js +27 -0
- package/dist/features/workbench/components/DocumentList.js +40 -0
- package/dist/features/workbench/components/DocumentMetadataPills.js +63 -0
- package/dist/features/workbench/components/DocumentRenderer.js +54 -0
- package/dist/features/workbench/components/NavigationItem.js +68 -0
- package/dist/features/workbench/components/PipelineHistoryList.js +56 -0
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +89 -0
- package/dist/features/workbench/components/WorkbenchSidebar.js +109 -0
- package/dist/features/workbench/components/WorkflowForms.js +22 -0
- package/dist/features/workbench/components/WorkflowHistoryItem.js +144 -0
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +85 -0
- package/dist/features/workbench/components/document-details/DocumentDetails.js +425 -0
- package/dist/features/workbench/components/document-details/PromptDetails.js +146 -0
- package/dist/features/workbench/components/document-renderer/AiMessage.js +56 -0
- package/dist/features/workbench/components/document-renderer/AiMessageContent.js +174 -0
- package/dist/features/workbench/components/document-renderer/DocumentDebugRenderer.js +30 -0
- package/dist/features/workbench/components/document-renderer/DocumentFormRenderer.js +79 -0
- package/dist/features/workbench/components/document-renderer/DocumentMessageRenderer.js +10 -0
- package/dist/features/workbench/components/document-renderer/ErrorMessageRenderer.js +13 -0
- package/dist/features/workbench/components/document-renderer/LinkMessageRenderer.js +17 -0
- package/dist/features/workbench/components/document-renderer/MarkdownMessageRenderer.js +10 -0
- package/dist/features/workbench/components/document-renderer/PlainMessageRenderer.js +9 -0
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +29 -0
- package/dist/features/workbench/hooks/useIntersectionObserver.js +44 -0
- package/dist/features/workbench/hooks/useScrollToListItem.js +23 -0
- package/dist/features/workbench/providers/ScrollProvider.js +22 -0
- package/dist/features/workbench/providers/WorkbenchContextProvider.js +3 -0
- package/dist/features/workspaces/Workspaces.js +156 -89
- package/dist/features/workspaces/components/CreateWorkspace.js +101 -78
- package/dist/features/workspaces/components/ExecutionTimeline.js +1 -1
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useDashboard.js +23 -0
- package/dist/hooks/useDocuments.js +45 -0
- package/dist/hooks/useFiles.js +63 -0
- package/dist/hooks/useNamespaceTree.js +27 -0
- package/dist/hooks/useNamespaces.js +34 -0
- package/dist/hooks/usePipelines.js +83 -6
- package/dist/hooks/useWorkflows.js +122 -0
- package/dist/hooks/useWorkspaces.js +49 -29
- package/dist/index.d.ts +75 -9
- package/dist/index.js +9 -1
- package/dist/lib/requireParam.js +6 -0
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@ai-sdk/provider/dist/index.js +65 -0
- package/dist/node_modules/@ai-sdk/provider-utils/dist/index.js +1008 -0
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1968 -0
- package/dist/node_modules/@shikijs/core/dist/index.js +1420 -0
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +236 -0
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/apl.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/astro.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/blade.js +18 -0
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/c.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/css.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/d.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/edge.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/erb.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/go.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hack.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/haml.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/html.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/http.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/java.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/json.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/julia.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/just.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/less.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/log.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/make.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/marko.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/move.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/nim.js +18 -0
- package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/perl.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/php.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/po.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/pug.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/python.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/r.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/razor.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/rst.js +20 -0
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +28 -0
- package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/templ.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/twig.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/v.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/vue.js +24 -0
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/red.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -0
- package/dist/node_modules/@shikijs/types/dist/index.js +6 -0
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +1580 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +51 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +91 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +3280 -0
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1839 -0
- package/dist/node_modules/ai/dist/index.js +1083 -0
- package/dist/node_modules/bail/index.js +4 -0
- package/dist/node_modules/character-entities-html4/index.js +255 -0
- package/dist/node_modules/character-entities-legacy/index.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +6 -1
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +4 -10
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +56 -65
- package/dist/node_modules/classcat/index.js +8 -0
- package/dist/node_modules/comma-separated-tokens/index.js +5 -1
- package/dist/node_modules/d3/src/index.js +5 -0
- package/dist/node_modules/d3-drag/src/constant.js +2 -0
- package/dist/node_modules/d3-drag/src/drag.js +112 -0
- package/dist/node_modules/d3-drag/src/event.js +60 -0
- package/dist/node_modules/d3-drag/src/nodrag.js +13 -0
- package/dist/node_modules/d3-drag/src/noevent.js +11 -0
- package/dist/node_modules/d3-interpolate/src/zoom.js +39 -0
- package/dist/node_modules/d3-selection/src/pointer.js +16 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.js +6 -0
- package/dist/node_modules/d3-zoom/src/constant.js +2 -0
- package/dist/node_modules/d3-zoom/src/event.js +26 -0
- package/dist/node_modules/d3-zoom/src/index.js +1 -1
- package/dist/node_modules/d3-zoom/src/noevent.js +7 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +214 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.js +8 -0
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +35 -0
- package/dist/node_modules/entities/dist/esm/decode.js +129 -0
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +5 -0
- package/dist/node_modules/extend/index.js +37 -0
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +121 -0
- package/dist/node_modules/hast-util-raw/lib/index.js +204 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +34 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +150 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +267 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +9 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +65 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +8 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +69 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1936 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +239 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +22 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +1451 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +75 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +155 -0
- package/dist/node_modules/hast-util-sanitize/lib/index.js +159 -0
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +73 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +47 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +27 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +5 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +6 -0
- package/dist/node_modules/hast-util-to-html/lib/index.js +46 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +84 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +8 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +37 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +12 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +251 -0
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +113 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +34 -0
- package/dist/node_modules/html-void-elements/index.js +23 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +88 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +555 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +101 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +20 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +54 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +16 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +57 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +22 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +33 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +17 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +106 -0
- package/dist/node_modules/micromark/lib/constructs.js +79 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +175 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +32 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +101 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +23 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +84 -0
- package/dist/node_modules/micromark/lib/parse.js +27 -0
- package/dist/node_modules/micromark/lib/postprocess.js +6 -0
- package/dist/node_modules/micromark/lib/preprocess.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +112 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +41 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +36 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +15 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +27 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +88 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +41 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +46 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +15 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +65 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +140 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +98 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +157 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +21 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +12 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +77 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +57 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +23 -0
- package/dist/node_modules/micromark-factory-destination/index.js +24 -0
- package/dist/node_modules/micromark-factory-label/index.js +18 -0
- package/dist/node_modules/micromark-factory-title/index.js +22 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +10 -0
- package/dist/node_modules/micromark-util-character/index.js +6 -5
- package/dist/node_modules/micromark-util-chunked/index.js +4 -1
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +5 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +15 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +7 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +16 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +33 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +55 -0
- package/dist/node_modules/motion/dist/es/react.js +3 -0
- package/dist/node_modules/nanoid/index.browser.js +7 -0
- package/dist/node_modules/nanoid/url-alphabet/index.js +2 -0
- package/dist/node_modules/property-information/index.js +1 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +20 -0
- package/dist/node_modules/rehype-harden/dist/index.js +168 -0
- package/dist/node_modules/rehype-raw/lib/index.js +10 -0
- package/dist/node_modules/rehype-sanitize/lib/index.js +7 -0
- package/dist/node_modules/remark-parse/lib/index.js +14 -0
- package/dist/node_modules/remark-rehype/lib/index.js +16 -0
- package/dist/node_modules/remend/dist/index.js +459 -0
- package/dist/node_modules/shiki/dist/bundle-full.js +11 -0
- package/dist/node_modules/shiki/dist/langs.js +1278 -0
- package/dist/node_modules/shiki/dist/themes.js +393 -0
- package/dist/node_modules/shiki/dist/wasm.js +2 -0
- package/dist/node_modules/space-separated-tokens/index.js +4 -1
- package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +2189 -0
- package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +33 -0
- package/dist/node_modules/streamdown/dist/index.js +2 -0
- package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +3 -0
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +1421 -0
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +11 -0
- package/dist/node_modules/stringify-entities/lib/core.js +21 -0
- package/dist/node_modules/stringify-entities/lib/index.js +6 -0
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +12 -0
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -0
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -0
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +15 -0
- package/dist/node_modules/style-to-js/cjs/index.js +17 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +16 -0
- package/dist/node_modules/style-to-object/cjs/index.js +21 -0
- package/dist/node_modules/trim-lines/index.js +19 -0
- package/dist/node_modules/trough/lib/index.js +48 -0
- package/dist/node_modules/unified/lib/callable-instance.js +7 -0
- package/dist/node_modules/unified/lib/index.js +160 -0
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +6 -0
- package/dist/node_modules/unist-util-position/lib/index.js +20 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +13 -0
- package/dist/node_modules/vfile/lib/index.js +87 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +97 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +5 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +29 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +4 -0
- package/dist/node_modules/vfile-location/lib/index.js +41 -0
- package/dist/node_modules/vfile-message/lib/index.js +22 -0
- package/dist/node_modules/zod/v3/ZodError.js +79 -0
- package/dist/node_modules/zod/v3/errors.js +6 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +5 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +90 -0
- package/dist/node_modules/zod/v3/helpers/util.js +72 -0
- package/dist/node_modules/zod/v3/locales/en.js +58 -0
- package/dist/node_modules/zod/v3/types.js +2425 -0
- package/dist/node_modules/zod/v4/classic/errors.js +21 -0
- package/dist/node_modules/zod/v4/classic/iso.js +29 -0
- package/dist/node_modules/zod/v4/classic/parse.js +4 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +392 -0
- package/dist/node_modules/zod/v4/core/api.js +532 -0
- package/dist/node_modules/zod/v4/core/checks.js +283 -0
- package/dist/node_modules/zod/v4/core/core.js +44 -0
- package/dist/node_modules/zod/v4/core/doc.js +21 -0
- package/dist/node_modules/zod/v4/core/errors.js +40 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +305 -0
- package/dist/node_modules/zod/v4/core/parse.js +66 -0
- package/dist/node_modules/zod/v4/core/regexes.js +28 -0
- package/dist/node_modules/zod/v4/core/registries.js +38 -0
- package/dist/node_modules/zod/v4/core/schemas.js +863 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +220 -0
- package/dist/node_modules/zod/v4/core/util.js +267 -0
- package/dist/node_modules/zod/v4/core/versions.js +6 -0
- package/dist/node_modules/zwitch/index.js +14 -0
- package/dist/pages/DashboardPage.js +58 -0
- package/dist/pages/DebugWorkflowDetailsPage.js +121 -0
- package/dist/pages/DebugWorkflowsPage.js +130 -0
- package/dist/pages/EmbedWorkbenchPage.js +73 -0
- package/dist/pages/PipelineDebugPage.js +114 -0
- package/dist/pages/WorkbenchPage.js +67 -0
- package/dist/pages/WorkspacePage.js +1 -1
- package/dist/providers/ComponentOverridesProvider.js +12 -0
- package/dist/routing/LocalRouter.js +3 -0
- package/package.json +3 -3
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { markdownLineEnding } from "../../micromark-util-character/index.js";
|
|
2
|
+
import { push, splice } from "../../micromark-util-chunked/index.js";
|
|
3
|
+
import { resolveAll } from "../../micromark-util-resolve-all/index.js";
|
|
4
|
+
function createTokenizer(i, s, c) {
|
|
5
|
+
let l = {
|
|
6
|
+
_bufferIndex: -1,
|
|
7
|
+
_index: 0,
|
|
8
|
+
line: c && c.line || 1,
|
|
9
|
+
column: c && c.column || 1,
|
|
10
|
+
offset: c && c.offset || 0
|
|
11
|
+
}, u = {}, d = [], f = [], p = [], m = {
|
|
12
|
+
attempt: k(D),
|
|
13
|
+
check: k(O),
|
|
14
|
+
consume: w,
|
|
15
|
+
enter: T,
|
|
16
|
+
exit: E,
|
|
17
|
+
interrupt: k(O, { interrupt: !0 })
|
|
18
|
+
}, h = {
|
|
19
|
+
code: null,
|
|
20
|
+
containerState: {},
|
|
21
|
+
defineSkip: x,
|
|
22
|
+
events: [],
|
|
23
|
+
now: b,
|
|
24
|
+
parser: i,
|
|
25
|
+
previous: null,
|
|
26
|
+
sliceSerialize: v,
|
|
27
|
+
sliceStream: y,
|
|
28
|
+
write: _
|
|
29
|
+
}, g = s.tokenize.call(h, m);
|
|
30
|
+
return s.resolveAll && d.push(s), h;
|
|
31
|
+
function _(e) {
|
|
32
|
+
return f = push(f, e), S(), f[f.length - 1] === null ? (A(s, 0), h.events = resolveAll(d, h.events, h), h.events) : [];
|
|
33
|
+
}
|
|
34
|
+
function v(e, t) {
|
|
35
|
+
return serializeChunks(y(e), t);
|
|
36
|
+
}
|
|
37
|
+
function y(e) {
|
|
38
|
+
return sliceChunks(f, e);
|
|
39
|
+
}
|
|
40
|
+
function b() {
|
|
41
|
+
let { _bufferIndex: e, _index: t, line: n, column: r, offset: i } = l;
|
|
42
|
+
return {
|
|
43
|
+
_bufferIndex: e,
|
|
44
|
+
_index: t,
|
|
45
|
+
line: n,
|
|
46
|
+
column: r,
|
|
47
|
+
offset: i
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function x(e) {
|
|
51
|
+
u[e.line] = e.column, M();
|
|
52
|
+
}
|
|
53
|
+
function S() {
|
|
54
|
+
let e;
|
|
55
|
+
for (; l._index < f.length;) {
|
|
56
|
+
let t = f[l._index];
|
|
57
|
+
if (typeof t == "string") for (e = l._index, l._bufferIndex < 0 && (l._bufferIndex = 0); l._index === e && l._bufferIndex < t.length;) C(t.charCodeAt(l._bufferIndex));
|
|
58
|
+
else C(t);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function C(e) {
|
|
62
|
+
g = g(e);
|
|
63
|
+
}
|
|
64
|
+
function w(t) {
|
|
65
|
+
markdownLineEnding(t) ? (l.line++, l.column = 1, l.offset += t === -3 ? 2 : 1, M()) : t !== -1 && (l.column++, l.offset++), l._bufferIndex < 0 ? l._index++ : (l._bufferIndex++, l._bufferIndex === f[l._index].length && (l._bufferIndex = -1, l._index++)), h.previous = t;
|
|
66
|
+
}
|
|
67
|
+
function T(e, t) {
|
|
68
|
+
let n = t || {};
|
|
69
|
+
return n.type = e, n.start = b(), h.events.push([
|
|
70
|
+
"enter",
|
|
71
|
+
n,
|
|
72
|
+
h
|
|
73
|
+
]), p.push(n), n;
|
|
74
|
+
}
|
|
75
|
+
function E(e) {
|
|
76
|
+
let t = p.pop();
|
|
77
|
+
return t.end = b(), h.events.push([
|
|
78
|
+
"exit",
|
|
79
|
+
t,
|
|
80
|
+
h
|
|
81
|
+
]), t;
|
|
82
|
+
}
|
|
83
|
+
function D(e, t) {
|
|
84
|
+
A(e, t.from);
|
|
85
|
+
}
|
|
86
|
+
function O(e, t) {
|
|
87
|
+
t.restore();
|
|
88
|
+
}
|
|
89
|
+
function k(e, t) {
|
|
90
|
+
return n;
|
|
91
|
+
function n(n, r, i) {
|
|
92
|
+
let a, o, s, c;
|
|
93
|
+
return Array.isArray(n) ? u(n) : "tokenize" in n ? u([n]) : l(n);
|
|
94
|
+
function l(e) {
|
|
95
|
+
return t;
|
|
96
|
+
function t(t) {
|
|
97
|
+
let n = t !== null && e[t], r = t !== null && e.null;
|
|
98
|
+
return u([...Array.isArray(n) ? n : n ? [n] : [], ...Array.isArray(r) ? r : r ? [r] : []])(t);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function u(e) {
|
|
102
|
+
return a = e, o = 0, e.length === 0 ? i : d(e[o]);
|
|
103
|
+
}
|
|
104
|
+
function d(e) {
|
|
105
|
+
return n;
|
|
106
|
+
function n(n) {
|
|
107
|
+
return c = j(), s = e, e.partial || (h.currentConstruct = e), e.name && h.parser.constructs.disable.null.includes(e.name) ? p(n) : e.tokenize.call(t ? Object.assign(Object.create(h), t) : h, m, f, p)(n);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function f(t) {
|
|
111
|
+
return e(s, c), r;
|
|
112
|
+
}
|
|
113
|
+
function p(e) {
|
|
114
|
+
return c.restore(), ++o < a.length ? d(a[o]) : i;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function A(e, t) {
|
|
119
|
+
e.resolveAll && !d.includes(e) && d.push(e), e.resolve && splice(h.events, t, h.events.length - t, e.resolve(h.events.slice(t), h)), e.resolveTo && (h.events = e.resolveTo(h.events, h));
|
|
120
|
+
}
|
|
121
|
+
function j() {
|
|
122
|
+
let e = b(), t = h.previous, n = h.currentConstruct, r = h.events.length, i = Array.from(p);
|
|
123
|
+
return {
|
|
124
|
+
from: r,
|
|
125
|
+
restore: a
|
|
126
|
+
};
|
|
127
|
+
function a() {
|
|
128
|
+
l = e, h.previous = t, h.currentConstruct = n, h.events.length = r, p = i, M();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function M() {
|
|
132
|
+
l.line in u && l.column < 2 && (l.column = u[l.line], l.offset += u[l.line] - 1);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function sliceChunks(e, t) {
|
|
136
|
+
let n = t.start._index, r = t.start._bufferIndex, i = t.end._index, a = t.end._bufferIndex, o;
|
|
137
|
+
if (n === i) o = [e[n].slice(r, a)];
|
|
138
|
+
else {
|
|
139
|
+
if (o = e.slice(n, i), r > -1) {
|
|
140
|
+
let e = o[0];
|
|
141
|
+
typeof e == "string" ? o[0] = e.slice(r) : o.shift();
|
|
142
|
+
}
|
|
143
|
+
a > 0 && o.push(e[i].slice(0, a));
|
|
144
|
+
}
|
|
145
|
+
return o;
|
|
146
|
+
}
|
|
147
|
+
function serializeChunks(e, t) {
|
|
148
|
+
let n = -1, r = [], i;
|
|
149
|
+
for (; ++n < e.length;) {
|
|
150
|
+
let a = e[n], o;
|
|
151
|
+
if (typeof a == "string") o = a;
|
|
152
|
+
else switch (a) {
|
|
153
|
+
case -5:
|
|
154
|
+
o = "\r";
|
|
155
|
+
break;
|
|
156
|
+
case -4:
|
|
157
|
+
o = "\n";
|
|
158
|
+
break;
|
|
159
|
+
case -3:
|
|
160
|
+
o = "\r\n";
|
|
161
|
+
break;
|
|
162
|
+
case -2:
|
|
163
|
+
o = t ? " " : " ";
|
|
164
|
+
break;
|
|
165
|
+
case -1:
|
|
166
|
+
if (!t && i) continue;
|
|
167
|
+
o = " ";
|
|
168
|
+
break;
|
|
169
|
+
default: o = String.fromCharCode(a);
|
|
170
|
+
}
|
|
171
|
+
i = a === -2, r.push(o);
|
|
172
|
+
}
|
|
173
|
+
return r.join("");
|
|
174
|
+
}
|
|
175
|
+
export { createTokenizer };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { markdownLineEnding } from "../../../micromark-util-character/index.js";
|
|
2
|
+
import { factorySpace } from "../../../micromark-factory-space/index.js";
|
|
3
|
+
const content = { tokenize: initializeContent };
|
|
4
|
+
function initializeContent(n) {
|
|
5
|
+
let r = n.attempt(this.parser.constructs.contentInitial, a, o), i;
|
|
6
|
+
return r;
|
|
7
|
+
function a(e) {
|
|
8
|
+
if (e === null) {
|
|
9
|
+
n.consume(e);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
return n.enter("lineEnding"), n.consume(e), n.exit("lineEnding"), factorySpace(n, r, "linePrefix");
|
|
13
|
+
}
|
|
14
|
+
function o(e) {
|
|
15
|
+
return n.enter("paragraph"), s(e);
|
|
16
|
+
}
|
|
17
|
+
function s(e) {
|
|
18
|
+
let t = n.enter("chunkText", {
|
|
19
|
+
contentType: "text",
|
|
20
|
+
previous: i
|
|
21
|
+
});
|
|
22
|
+
return i && (i.next = t), i = t, c(e);
|
|
23
|
+
}
|
|
24
|
+
function c(t) {
|
|
25
|
+
if (t === null) {
|
|
26
|
+
n.exit("chunkText"), n.exit("paragraph"), n.consume(t);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
return markdownLineEnding(t) ? (n.consume(t), n.exit("chunkText"), s) : (n.consume(t), c);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export { content };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { markdownLineEnding } from "../../../micromark-util-character/index.js";
|
|
2
|
+
import { splice } from "../../../micromark-util-chunked/index.js";
|
|
3
|
+
import { factorySpace } from "../../../micromark-factory-space/index.js";
|
|
4
|
+
const document = { tokenize: initializeDocument };
|
|
5
|
+
var containerConstruct = { tokenize: tokenizeContainer };
|
|
6
|
+
function initializeDocument(n) {
|
|
7
|
+
let r = this, a = [], o = 0, s, c, l;
|
|
8
|
+
return u;
|
|
9
|
+
function u(e) {
|
|
10
|
+
if (o < a.length) {
|
|
11
|
+
let t = a[o];
|
|
12
|
+
return r.containerState = t[1], n.attempt(t[0].continuation, d, f)(e);
|
|
13
|
+
}
|
|
14
|
+
return f(e);
|
|
15
|
+
}
|
|
16
|
+
function d(e) {
|
|
17
|
+
if (o++, r.containerState._closeFlow) {
|
|
18
|
+
r.containerState._closeFlow = void 0, s && x();
|
|
19
|
+
let n = r.events.length, i = n, a;
|
|
20
|
+
for (; i--;) if (r.events[i][0] === "exit" && r.events[i][1].type === "chunkFlow") {
|
|
21
|
+
a = r.events[i][1].end;
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
24
|
+
b(o);
|
|
25
|
+
let c = n;
|
|
26
|
+
for (; c < r.events.length;) r.events[c][1].end = { ...a }, c++;
|
|
27
|
+
return splice(r.events, i + 1, 0, r.events.slice(n)), r.events.length = c, f(e);
|
|
28
|
+
}
|
|
29
|
+
return u(e);
|
|
30
|
+
}
|
|
31
|
+
function f(e) {
|
|
32
|
+
if (o === a.length) {
|
|
33
|
+
if (!s) return h(e);
|
|
34
|
+
if (s.currentConstruct && s.currentConstruct.concrete) return _(e);
|
|
35
|
+
r.interrupt = !!(s.currentConstruct && !s._gfmTableDynamicInterruptHack);
|
|
36
|
+
}
|
|
37
|
+
return r.containerState = {}, n.check(containerConstruct, p, m)(e);
|
|
38
|
+
}
|
|
39
|
+
function p(e) {
|
|
40
|
+
return s && x(), b(o), h(e);
|
|
41
|
+
}
|
|
42
|
+
function m(e) {
|
|
43
|
+
return r.parser.lazy[r.now().line] = o !== a.length, l = r.now().offset, _(e);
|
|
44
|
+
}
|
|
45
|
+
function h(e) {
|
|
46
|
+
return r.containerState = {}, n.attempt(containerConstruct, g, _)(e);
|
|
47
|
+
}
|
|
48
|
+
function g(e) {
|
|
49
|
+
return o++, a.push([r.currentConstruct, r.containerState]), h(e);
|
|
50
|
+
}
|
|
51
|
+
function _(e) {
|
|
52
|
+
if (e === null) {
|
|
53
|
+
s && x(), b(0), n.consume(e);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
return s ||= r.parser.flow(r.now()), n.enter("chunkFlow", {
|
|
57
|
+
_tokenizer: s,
|
|
58
|
+
contentType: "flow",
|
|
59
|
+
previous: c
|
|
60
|
+
}), v(e);
|
|
61
|
+
}
|
|
62
|
+
function v(t) {
|
|
63
|
+
if (t === null) {
|
|
64
|
+
y(n.exit("chunkFlow"), !0), b(0), n.consume(t);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
return markdownLineEnding(t) ? (n.consume(t), y(n.exit("chunkFlow")), o = 0, r.interrupt = void 0, u) : (n.consume(t), v);
|
|
68
|
+
}
|
|
69
|
+
function y(e, n) {
|
|
70
|
+
let i = r.sliceStream(e);
|
|
71
|
+
if (n && i.push(null), e.previous = c, c && (c.next = e), c = e, s.defineSkip(e.start), s.write(i), r.parser.lazy[e.start.line]) {
|
|
72
|
+
let e = s.events.length;
|
|
73
|
+
for (; e--;) if (s.events[e][1].start.offset < l && (!s.events[e][1].end || s.events[e][1].end.offset > l)) return;
|
|
74
|
+
let n = r.events.length, i = n, a, c;
|
|
75
|
+
for (; i--;) if (r.events[i][0] === "exit" && r.events[i][1].type === "chunkFlow") {
|
|
76
|
+
if (a) {
|
|
77
|
+
c = r.events[i][1].end;
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
a = !0;
|
|
81
|
+
}
|
|
82
|
+
for (b(o), e = n; e < r.events.length;) r.events[e][1].end = { ...c }, e++;
|
|
83
|
+
splice(r.events, i + 1, 0, r.events.slice(n)), r.events.length = e;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function b(e) {
|
|
87
|
+
let t = a.length;
|
|
88
|
+
for (; t-- > e;) {
|
|
89
|
+
let e = a[t];
|
|
90
|
+
r.containerState = e[1], e[0].exit.call(r, n);
|
|
91
|
+
}
|
|
92
|
+
a.length = e;
|
|
93
|
+
}
|
|
94
|
+
function x() {
|
|
95
|
+
s.write([null]), c = void 0, s = void 0, r.containerState._closeFlow = void 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function tokenizeContainer(e, t, r) {
|
|
99
|
+
return factorySpace(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
100
|
+
}
|
|
101
|
+
export { document };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { factorySpace } from "../../../micromark-factory-space/index.js";
|
|
2
|
+
import { blankLine } from "../../../micromark-core-commonmark/lib/blank-line.js";
|
|
3
|
+
import { content } from "../../../micromark-core-commonmark/lib/content.js";
|
|
4
|
+
const flow = { tokenize: initializeFlow };
|
|
5
|
+
function initializeFlow(r) {
|
|
6
|
+
let i = this, a = r.attempt(blankLine, o, r.attempt(this.parser.constructs.flowInitial, s, factorySpace(r, r.attempt(this.parser.constructs.flow, s, r.attempt(content, s)), "linePrefix")));
|
|
7
|
+
return a;
|
|
8
|
+
function o(e) {
|
|
9
|
+
if (e === null) {
|
|
10
|
+
r.consume(e);
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return r.enter("lineEndingBlank"), r.consume(e), r.exit("lineEndingBlank"), i.currentConstruct = void 0, a;
|
|
14
|
+
}
|
|
15
|
+
function s(e) {
|
|
16
|
+
if (e === null) {
|
|
17
|
+
r.consume(e);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
return r.enter("lineEnding"), r.consume(e), r.exit("lineEnding"), i.currentConstruct = void 0, a;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export { flow };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
const resolver = { resolveAll: createResolver() }, string = initializeFactory("string"), text = initializeFactory("text");
|
|
2
|
+
function initializeFactory(e) {
|
|
3
|
+
return {
|
|
4
|
+
resolveAll: createResolver(e === "text" ? resolveAllLineSuffixes : void 0),
|
|
5
|
+
tokenize: t
|
|
6
|
+
};
|
|
7
|
+
function t(t) {
|
|
8
|
+
let n = this, r = this.parser.constructs[e], i = t.attempt(r, a, o);
|
|
9
|
+
return a;
|
|
10
|
+
function a(e) {
|
|
11
|
+
return c(e) ? i(e) : o(e);
|
|
12
|
+
}
|
|
13
|
+
function o(e) {
|
|
14
|
+
if (e === null) {
|
|
15
|
+
t.consume(e);
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
return t.enter("data"), t.consume(e), s;
|
|
19
|
+
}
|
|
20
|
+
function s(e) {
|
|
21
|
+
return c(e) ? (t.exit("data"), i(e)) : (t.consume(e), s);
|
|
22
|
+
}
|
|
23
|
+
function c(e) {
|
|
24
|
+
if (e === null) return !0;
|
|
25
|
+
let t = r[e], i = -1;
|
|
26
|
+
if (t) for (; ++i < t.length;) {
|
|
27
|
+
let e = t[i];
|
|
28
|
+
if (!e.previous || e.previous.call(n, n.previous)) return !0;
|
|
29
|
+
}
|
|
30
|
+
return !1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function createResolver(e) {
|
|
35
|
+
return t;
|
|
36
|
+
function t(t, n) {
|
|
37
|
+
let r = -1, i;
|
|
38
|
+
for (; ++r <= t.length;) i === void 0 ? t[r] && t[r][1].type === "data" && (i = r, r++) : (!t[r] || t[r][1].type !== "data") && (r !== i + 2 && (t[i][1].end = t[r - 1][1].end, t.splice(i + 2, r - i - 2), r = i + 2), i = void 0);
|
|
39
|
+
return e ? e(t, n) : t;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function resolveAllLineSuffixes(e, t) {
|
|
43
|
+
let n = 0;
|
|
44
|
+
for (; ++n <= e.length;) if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
|
|
45
|
+
let r = e[n - 1][1], i = t.sliceStream(r), a = i.length, o = -1, s = 0, c;
|
|
46
|
+
for (; a--;) {
|
|
47
|
+
let e = i[a];
|
|
48
|
+
if (typeof e == "string") {
|
|
49
|
+
for (o = e.length; e.charCodeAt(o - 1) === 32;) s++, o--;
|
|
50
|
+
if (o) break;
|
|
51
|
+
o = -1;
|
|
52
|
+
} else if (e === -2) c = !0, s++;
|
|
53
|
+
else if (e !== -1) {
|
|
54
|
+
a++;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (t._contentTypeTextTrailing && n === e.length && (s = 0), s) {
|
|
59
|
+
let i = {
|
|
60
|
+
type: n === e.length || c || s < 2 ? "lineSuffix" : "hardBreakTrailing",
|
|
61
|
+
start: {
|
|
62
|
+
_bufferIndex: a ? o : r.start._bufferIndex + o,
|
|
63
|
+
_index: r.start._index + a,
|
|
64
|
+
line: r.end.line,
|
|
65
|
+
column: r.end.column - s,
|
|
66
|
+
offset: r.end.offset - s
|
|
67
|
+
},
|
|
68
|
+
end: { ...r.end }
|
|
69
|
+
};
|
|
70
|
+
r.end = { ...i.start }, r.start.offset === r.end.offset ? Object.assign(r, i) : (e.splice(n, 0, [
|
|
71
|
+
"enter",
|
|
72
|
+
i,
|
|
73
|
+
t
|
|
74
|
+
], [
|
|
75
|
+
"exit",
|
|
76
|
+
i,
|
|
77
|
+
t
|
|
78
|
+
]), n += 2);
|
|
79
|
+
}
|
|
80
|
+
n++;
|
|
81
|
+
}
|
|
82
|
+
return e;
|
|
83
|
+
}
|
|
84
|
+
export { resolver, string, text };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { combineExtensions } from "../../micromark-util-combine-extensions/index.js";
|
|
2
|
+
import { content } from "./initialize/content.js";
|
|
3
|
+
import { document } from "./initialize/document.js";
|
|
4
|
+
import { flow } from "./initialize/flow.js";
|
|
5
|
+
import { string, text } from "./initialize/text.js";
|
|
6
|
+
import { constructs_exports } from "./constructs.js";
|
|
7
|
+
import { createTokenizer } from "./create-tokenizer.js";
|
|
8
|
+
function parse(c) {
|
|
9
|
+
let l = {
|
|
10
|
+
constructs: combineExtensions([constructs_exports, ...(c || {}).extensions || []]),
|
|
11
|
+
content: u(content),
|
|
12
|
+
defined: [],
|
|
13
|
+
document: u(document),
|
|
14
|
+
flow: u(flow),
|
|
15
|
+
lazy: {},
|
|
16
|
+
string: u(string),
|
|
17
|
+
text: u(text)
|
|
18
|
+
};
|
|
19
|
+
return l;
|
|
20
|
+
function u(e) {
|
|
21
|
+
return s;
|
|
22
|
+
function s(s) {
|
|
23
|
+
return createTokenizer(l, e, s);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export { parse };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var search = /[\0\t\n\r]/g;
|
|
2
|
+
function preprocess() {
|
|
3
|
+
let t = 1, n = "", r = !0, i;
|
|
4
|
+
return a;
|
|
5
|
+
function a(a, o, s) {
|
|
6
|
+
let c = [], l, u, d, f, p;
|
|
7
|
+
for (a = n + (typeof a == "string" ? a.toString() : new TextDecoder(o || void 0).decode(a)), d = 0, n = "", r &&= (a.charCodeAt(0) === 65279 && d++, void 0); d < a.length;) {
|
|
8
|
+
if (search.lastIndex = d, l = search.exec(a), f = l && l.index !== void 0 ? l.index : a.length, p = a.charCodeAt(f), !l) {
|
|
9
|
+
n = a.slice(d);
|
|
10
|
+
break;
|
|
11
|
+
}
|
|
12
|
+
if (p === 10 && d === f && i) c.push(-3), i = void 0;
|
|
13
|
+
else switch (i &&= (c.push(-5), void 0), d < f && (c.push(a.slice(d, f)), t += f - d), p) {
|
|
14
|
+
case 0:
|
|
15
|
+
c.push(65533), t++;
|
|
16
|
+
break;
|
|
17
|
+
case 9:
|
|
18
|
+
for (u = Math.ceil(t / 4) * 4, c.push(-2); t++ < u;) c.push(-1);
|
|
19
|
+
break;
|
|
20
|
+
case 10:
|
|
21
|
+
c.push(-4), t = 1;
|
|
22
|
+
break;
|
|
23
|
+
default: i = !0, t = 1;
|
|
24
|
+
}
|
|
25
|
+
d = f + 1;
|
|
26
|
+
}
|
|
27
|
+
return s && (i && c.push(-5), n && c.push(n), c.push(null)), c;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export { preprocess };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { classifyCharacter } from "../../micromark-util-classify-character/index.js";
|
|
2
|
+
import { push, splice } from "../../micromark-util-chunked/index.js";
|
|
3
|
+
import { resolveAll } from "../../micromark-util-resolve-all/index.js";
|
|
4
|
+
const attention = {
|
|
5
|
+
name: "attention",
|
|
6
|
+
resolveAll: resolveAllAttention,
|
|
7
|
+
tokenize: tokenizeAttention
|
|
8
|
+
};
|
|
9
|
+
function resolveAllAttention(e, i) {
|
|
10
|
+
let a = -1, o, c, l, u, d, f, p, m;
|
|
11
|
+
for (; ++a < e.length;) if (e[a][0] === "enter" && e[a][1].type === "attentionSequence" && e[a][1]._close) {
|
|
12
|
+
for (o = a; o--;) if (e[o][0] === "exit" && e[o][1].type === "attentionSequence" && e[o][1]._open && i.sliceSerialize(e[o][1]).charCodeAt(0) === i.sliceSerialize(e[a][1]).charCodeAt(0)) {
|
|
13
|
+
if ((e[o][1]._close || e[a][1]._open) && (e[a][1].end.offset - e[a][1].start.offset) % 3 && !((e[o][1].end.offset - e[o][1].start.offset + e[a][1].end.offset - e[a][1].start.offset) % 3)) continue;
|
|
14
|
+
f = e[o][1].end.offset - e[o][1].start.offset > 1 && e[a][1].end.offset - e[a][1].start.offset > 1 ? 2 : 1;
|
|
15
|
+
let h = { ...e[o][1].end }, g = { ...e[a][1].start };
|
|
16
|
+
movePoint(h, -f), movePoint(g, f), u = {
|
|
17
|
+
type: f > 1 ? "strongSequence" : "emphasisSequence",
|
|
18
|
+
start: h,
|
|
19
|
+
end: { ...e[o][1].end }
|
|
20
|
+
}, d = {
|
|
21
|
+
type: f > 1 ? "strongSequence" : "emphasisSequence",
|
|
22
|
+
start: { ...e[a][1].start },
|
|
23
|
+
end: g
|
|
24
|
+
}, l = {
|
|
25
|
+
type: f > 1 ? "strongText" : "emphasisText",
|
|
26
|
+
start: { ...e[o][1].end },
|
|
27
|
+
end: { ...e[a][1].start }
|
|
28
|
+
}, c = {
|
|
29
|
+
type: f > 1 ? "strong" : "emphasis",
|
|
30
|
+
start: { ...u.start },
|
|
31
|
+
end: { ...d.end }
|
|
32
|
+
}, e[o][1].end = { ...u.start }, e[a][1].start = { ...d.end }, p = [], e[o][1].end.offset - e[o][1].start.offset && (p = push(p, [[
|
|
33
|
+
"enter",
|
|
34
|
+
e[o][1],
|
|
35
|
+
i
|
|
36
|
+
], [
|
|
37
|
+
"exit",
|
|
38
|
+
e[o][1],
|
|
39
|
+
i
|
|
40
|
+
]])), p = push(p, [
|
|
41
|
+
[
|
|
42
|
+
"enter",
|
|
43
|
+
c,
|
|
44
|
+
i
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"enter",
|
|
48
|
+
u,
|
|
49
|
+
i
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
"exit",
|
|
53
|
+
u,
|
|
54
|
+
i
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
"enter",
|
|
58
|
+
l,
|
|
59
|
+
i
|
|
60
|
+
]
|
|
61
|
+
]), p = push(p, resolveAll(i.parser.constructs.insideSpan.null, e.slice(o + 1, a), i)), p = push(p, [
|
|
62
|
+
[
|
|
63
|
+
"exit",
|
|
64
|
+
l,
|
|
65
|
+
i
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
"enter",
|
|
69
|
+
d,
|
|
70
|
+
i
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
"exit",
|
|
74
|
+
d,
|
|
75
|
+
i
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
"exit",
|
|
79
|
+
c,
|
|
80
|
+
i
|
|
81
|
+
]
|
|
82
|
+
]), e[a][1].end.offset - e[a][1].start.offset ? (m = 2, p = push(p, [[
|
|
83
|
+
"enter",
|
|
84
|
+
e[a][1],
|
|
85
|
+
i
|
|
86
|
+
], [
|
|
87
|
+
"exit",
|
|
88
|
+
e[a][1],
|
|
89
|
+
i
|
|
90
|
+
]])) : m = 0, splice(e, o - 1, a - o + 3, p), a = o + p.length - m - 2;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
for (a = -1; ++a < e.length;) e[a][1].type === "attentionSequence" && (e[a][1].type = "data");
|
|
95
|
+
return e;
|
|
96
|
+
}
|
|
97
|
+
function tokenizeAttention(t, n) {
|
|
98
|
+
let r = this.parser.constructs.attentionMarkers.null, i = this.previous, a = classifyCharacter(i), o;
|
|
99
|
+
return s;
|
|
100
|
+
function s(e) {
|
|
101
|
+
return o = e, t.enter("attentionSequence"), c(e);
|
|
102
|
+
}
|
|
103
|
+
function c(s) {
|
|
104
|
+
if (s === o) return t.consume(s), c;
|
|
105
|
+
let l = t.exit("attentionSequence"), u = classifyCharacter(s), d = !u || u === 2 && a || r.includes(s), f = !a || a === 2 && u || r.includes(i);
|
|
106
|
+
return l._open = !!(o === 42 ? d : d && (a || !f)), l._close = !!(o === 42 ? f : f && (u || !d)), n(s);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function movePoint(e, t) {
|
|
110
|
+
e.column += t, e.offset += t, e._bufferIndex += t;
|
|
111
|
+
}
|
|
112
|
+
export { attention };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { asciiAlpha, asciiAlphanumeric, asciiAtext, asciiControl } from "../../micromark-util-character/index.js";
|
|
2
|
+
const autolink = {
|
|
3
|
+
name: "autolink",
|
|
4
|
+
tokenize: tokenizeAutolink
|
|
5
|
+
};
|
|
6
|
+
function tokenizeAutolink(i, a, o) {
|
|
7
|
+
let s = 0;
|
|
8
|
+
return c;
|
|
9
|
+
function c(e) {
|
|
10
|
+
return i.enter("autolink"), i.enter("autolinkMarker"), i.consume(e), i.exit("autolinkMarker"), i.enter("autolinkProtocol"), l;
|
|
11
|
+
}
|
|
12
|
+
function l(r) {
|
|
13
|
+
return asciiAlpha(r) ? (i.consume(r), u) : r === 64 ? o(r) : p(r);
|
|
14
|
+
}
|
|
15
|
+
function u(e) {
|
|
16
|
+
return e === 43 || e === 45 || e === 46 || asciiAlphanumeric(e) ? (s = 1, d(e)) : p(e);
|
|
17
|
+
}
|
|
18
|
+
function d(e) {
|
|
19
|
+
return e === 58 ? (i.consume(e), s = 0, f) : (e === 43 || e === 45 || e === 46 || asciiAlphanumeric(e)) && s++ < 32 ? (i.consume(e), d) : (s = 0, p(e));
|
|
20
|
+
}
|
|
21
|
+
function f(e) {
|
|
22
|
+
return e === 62 ? (i.exit("autolinkProtocol"), i.enter("autolinkMarker"), i.consume(e), i.exit("autolinkMarker"), i.exit("autolink"), a) : e === null || e === 32 || e === 60 || asciiControl(e) ? o(e) : (i.consume(e), f);
|
|
23
|
+
}
|
|
24
|
+
function p(e) {
|
|
25
|
+
return e === 64 ? (i.consume(e), m) : asciiAtext(e) ? (i.consume(e), p) : o(e);
|
|
26
|
+
}
|
|
27
|
+
function m(e) {
|
|
28
|
+
return asciiAlphanumeric(e) ? h(e) : o(e);
|
|
29
|
+
}
|
|
30
|
+
function h(e) {
|
|
31
|
+
return e === 46 ? (i.consume(e), s = 0, m) : e === 62 ? (i.exit("autolinkProtocol").type = "autolinkEmail", i.enter("autolinkMarker"), i.consume(e), i.exit("autolinkMarker"), i.exit("autolink"), a) : g(e);
|
|
32
|
+
}
|
|
33
|
+
function g(e) {
|
|
34
|
+
if ((e === 45 || asciiAlphanumeric(e)) && s++ < 63) {
|
|
35
|
+
let r = e === 45 ? g : h;
|
|
36
|
+
return i.consume(e), r;
|
|
37
|
+
}
|
|
38
|
+
return o(e);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export { autolink };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { markdownSpace } from "../../micromark-util-character/index.js";
|
|
2
|
+
import { factorySpace } from "../../micromark-factory-space/index.js";
|
|
3
|
+
const blockQuote = {
|
|
4
|
+
continuation: { tokenize: tokenizeBlockQuoteContinuation },
|
|
5
|
+
exit,
|
|
6
|
+
name: "blockQuote",
|
|
7
|
+
tokenize: tokenizeBlockQuoteStart
|
|
8
|
+
};
|
|
9
|
+
function tokenizeBlockQuoteStart(t, n, r) {
|
|
10
|
+
let i = this;
|
|
11
|
+
return a;
|
|
12
|
+
function a(e) {
|
|
13
|
+
if (e === 62) {
|
|
14
|
+
let n = i.containerState;
|
|
15
|
+
return n.open ||= (t.enter("blockQuote", { _container: !0 }), !0), t.enter("blockQuotePrefix"), t.enter("blockQuoteMarker"), t.consume(e), t.exit("blockQuoteMarker"), o;
|
|
16
|
+
}
|
|
17
|
+
return r(e);
|
|
18
|
+
}
|
|
19
|
+
function o(r) {
|
|
20
|
+
return markdownSpace(r) ? (t.enter("blockQuotePrefixWhitespace"), t.consume(r), t.exit("blockQuotePrefixWhitespace"), t.exit("blockQuotePrefix"), n) : (t.exit("blockQuotePrefix"), n(r));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function tokenizeBlockQuoteContinuation(r, i, a) {
|
|
24
|
+
let o = this;
|
|
25
|
+
return s;
|
|
26
|
+
function s(n) {
|
|
27
|
+
return markdownSpace(n) ? factorySpace(r, c, "linePrefix", o.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : c(n);
|
|
28
|
+
}
|
|
29
|
+
function c(e) {
|
|
30
|
+
return r.attempt(blockQuote, i, a)(e);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function exit(e) {
|
|
34
|
+
e.exit("blockQuote");
|
|
35
|
+
}
|
|
36
|
+
export { blockQuote };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { asciiPunctuation } from "../../micromark-util-character/index.js";
|
|
2
|
+
const characterEscape = {
|
|
3
|
+
name: "characterEscape",
|
|
4
|
+
tokenize: tokenizeCharacterEscape
|
|
5
|
+
};
|
|
6
|
+
function tokenizeCharacterEscape(t, n, r) {
|
|
7
|
+
return i;
|
|
8
|
+
function i(e) {
|
|
9
|
+
return t.enter("characterEscape"), t.enter("escapeMarker"), t.consume(e), t.exit("escapeMarker"), a;
|
|
10
|
+
}
|
|
11
|
+
function a(i) {
|
|
12
|
+
return asciiPunctuation(i) ? (t.enter("characterEscapeValue"), t.consume(i), t.exit("characterEscapeValue"), t.exit("characterEscape"), n) : r(i);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export { characterEscape };
|