@loopstack/loopstack-studio 0.21.0 → 0.21.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/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/select.js +2 -2
- 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/events/sse-client-events.js +7 -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 +80 -67
- 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 +166 -99
- 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/useAuth.js +25 -4
- 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 +88 -10
- package/dist/index.js +11 -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/lodash/_Symbol.js +7 -0
- package/dist/node_modules/lodash/_baseGetTag.js +13 -0
- package/dist/node_modules/lodash/_baseTrim.js +11 -0
- package/dist/node_modules/lodash/_freeGlobal.js +6 -0
- package/dist/node_modules/lodash/_getRawTag.js +17 -0
- package/dist/node_modules/lodash/_objectToString.js +10 -0
- package/dist/node_modules/lodash/_root.js +8 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +11 -0
- package/dist/node_modules/lodash/debounce.js +53 -0
- package/dist/node_modules/lodash/isObject.js +10 -0
- package/dist/node_modules/lodash/isObjectLike.js +9 -0
- package/dist/node_modules/lodash/isSymbol.js +12 -0
- package/dist/node_modules/lodash/now.js +10 -0
- package/dist/node_modules/lodash/toNumber.js +22 -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/providers/InvalidationEventsProvider.js +43 -0
- package/dist/providers/SseProvider.js +44 -0
- package/dist/routing/LocalRouter.js +3 -0
- package/package.json +3 -3
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
var getDataUrl = (e, n) => e instanceof URL ? e.toString() : typeof e == "string" ? `data:${n || "application/octet-stream"};base64,${e}` : "#", TextPartRenderer = (n) => {
|
|
5
|
+
let r = c(2), { part: i } = n, a;
|
|
6
|
+
return r[0] === i.text ? a = r[1] : (a = /* @__PURE__ */ jsx("div", {
|
|
7
|
+
className: "text-sm leading-relaxed whitespace-pre-wrap",
|
|
8
|
+
children: i.text
|
|
9
|
+
}), r[0] = i.text, r[1] = a), a;
|
|
10
|
+
}, ImagePartRenderer = (n) => {
|
|
11
|
+
let a = c(11), { part: o } = n, s;
|
|
12
|
+
a[0] !== o.image || a[1] !== o.mediaType ? (s = getDataUrl(o.image, o.mediaType), a[0] = o.image, a[1] = o.mediaType, a[2] = s) : s = a[2];
|
|
13
|
+
let l;
|
|
14
|
+
a[3] === Symbol.for("react.memo_cache_sentinel") ? (l = { maxHeight: "400px" }, a[3] = l) : l = a[3];
|
|
15
|
+
let u;
|
|
16
|
+
a[4] === s ? u = a[5] : (u = /* @__PURE__ */ jsx("img", {
|
|
17
|
+
src: s,
|
|
18
|
+
alt: "Uploaded image",
|
|
19
|
+
className: "h-auto max-w-full rounded-lg border shadow-sm",
|
|
20
|
+
style: l
|
|
21
|
+
}), a[4] = s, a[5] = u);
|
|
22
|
+
let d;
|
|
23
|
+
a[6] === o.mediaType ? d = a[7] : (d = o.mediaType && /* @__PURE__ */ jsxs("div", {
|
|
24
|
+
className: "mt-1 text-xs text-gray-500",
|
|
25
|
+
children: ["Type: ", o.mediaType]
|
|
26
|
+
}), a[6] = o.mediaType, a[7] = d);
|
|
27
|
+
let f;
|
|
28
|
+
return a[8] !== u || a[9] !== d ? (f = /* @__PURE__ */ jsxs("div", { children: [u, d] }), a[8] = u, a[9] = d, a[10] = f) : f = a[10], f;
|
|
29
|
+
}, FilePartRenderer = (n) => {
|
|
30
|
+
let i = c(8), { part: a } = n, o;
|
|
31
|
+
i[0] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ jsx("div", {
|
|
32
|
+
className: "text-2xl",
|
|
33
|
+
children: "📎"
|
|
34
|
+
}), i[0] = o) : o = i[0];
|
|
35
|
+
let s = a.filename || "Unnamed file", l;
|
|
36
|
+
i[1] === s ? l = i[2] : (l = /* @__PURE__ */ jsx("div", {
|
|
37
|
+
className: "text-sm font-medium",
|
|
38
|
+
children: s
|
|
39
|
+
}), i[1] = s, i[2] = l);
|
|
40
|
+
let u;
|
|
41
|
+
i[3] === a.mediaType ? u = i[4] : (u = /* @__PURE__ */ jsx("div", {
|
|
42
|
+
className: "text-xs text-gray-500",
|
|
43
|
+
children: a.mediaType
|
|
44
|
+
}), i[3] = a.mediaType, i[4] = u);
|
|
45
|
+
let d;
|
|
46
|
+
return i[5] !== l || i[6] !== u ? (d = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", {
|
|
47
|
+
className: "flex items-center space-x-2",
|
|
48
|
+
children: [o, /* @__PURE__ */ jsxs("div", { children: [l, u] })]
|
|
49
|
+
}) }), i[5] = l, i[6] = u, i[7] = d) : d = i[7], d;
|
|
50
|
+
}, ReasoningPartRenderer = (n) => {
|
|
51
|
+
let i = c(2), { part: a } = n, o;
|
|
52
|
+
return i[0] === a.text ? o = i[1] : (o = a.text ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
|
|
53
|
+
className: "mb-2 flex items-center space-x-2",
|
|
54
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
55
|
+
className: "text-sm font-medium text-purple-600",
|
|
56
|
+
children: "Reasoning"
|
|
57
|
+
})
|
|
58
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
59
|
+
className: "text-sm whitespace-pre-wrap text-purple-800",
|
|
60
|
+
children: a.text
|
|
61
|
+
})] }) : "", i[0] = a.text, i[1] = o), o;
|
|
62
|
+
}, ToolCallPartRenderer = (n) => {
|
|
63
|
+
let i = c(17), { part: a } = n, o;
|
|
64
|
+
i[0] === a.toolName ? o = i[1] : (o = /* @__PURE__ */ jsx("div", {
|
|
65
|
+
className: "text-sm font-medium",
|
|
66
|
+
children: a.toolName
|
|
67
|
+
}), i[0] = a.toolName, i[1] = o);
|
|
68
|
+
let s;
|
|
69
|
+
i[2] === a.providerExecuted ? s = i[3] : (s = a.providerExecuted && /* @__PURE__ */ jsx("span", {
|
|
70
|
+
className: "rounded bg-green-100 px-2 py-1 text-xs text-green-800",
|
|
71
|
+
children: "Executed"
|
|
72
|
+
}), i[2] = a.providerExecuted, i[3] = s);
|
|
73
|
+
let l;
|
|
74
|
+
i[4] !== o || i[5] !== s ? (l = /* @__PURE__ */ jsxs("div", {
|
|
75
|
+
className: "flex items-center space-x-2",
|
|
76
|
+
children: [o, s]
|
|
77
|
+
}), i[4] = o, i[5] = s, i[6] = l) : l = i[6];
|
|
78
|
+
let u;
|
|
79
|
+
i[7] === a.toolCallId ? u = i[8] : (u = /* @__PURE__ */ jsxs("div", {
|
|
80
|
+
className: "ml-5 font-mono text-xs text-gray-500",
|
|
81
|
+
children: ["ID: ", a.toolCallId]
|
|
82
|
+
}), i[7] = a.toolCallId, i[8] = u);
|
|
83
|
+
let d;
|
|
84
|
+
i[9] !== l || i[10] !== u ? (d = /* @__PURE__ */ jsxs("div", {
|
|
85
|
+
className: "mb-2 flex items-center justify-between",
|
|
86
|
+
children: [l, u]
|
|
87
|
+
}), i[9] = l, i[10] = u, i[11] = d) : d = i[11];
|
|
88
|
+
let f;
|
|
89
|
+
i[12] === a.input ? f = i[13] : (f = a.input ? /* @__PURE__ */ jsxs("div", {
|
|
90
|
+
className: "rounded border bg-white p-2 text-xs",
|
|
91
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
92
|
+
className: "mb-1 text-gray-600",
|
|
93
|
+
children: "Input:"
|
|
94
|
+
}), /* @__PURE__ */ jsx("pre", {
|
|
95
|
+
className: "overflow-x-auto whitespace-pre-wrap",
|
|
96
|
+
children: JSON.stringify(a.input, null, 2)
|
|
97
|
+
})]
|
|
98
|
+
}) : "", i[12] = a.input, i[13] = f);
|
|
99
|
+
let p;
|
|
100
|
+
return i[14] !== d || i[15] !== f ? (p = /* @__PURE__ */ jsxs("div", { children: [d, f] }), i[14] = d, i[15] = f, i[16] = p) : p = i[16], p;
|
|
101
|
+
}, ToolResultPartRenderer = (n) => {
|
|
102
|
+
let i = c(14), { part: a } = n, o;
|
|
103
|
+
i[0] === a.toolName ? o = i[1] : (o = /* @__PURE__ */ jsxs("div", {
|
|
104
|
+
className: "text-sm font-medium",
|
|
105
|
+
children: [a.toolName, " Result"]
|
|
106
|
+
}), i[0] = a.toolName, i[1] = o);
|
|
107
|
+
let s;
|
|
108
|
+
i[2] === a.toolCallId ? s = i[3] : (s = /* @__PURE__ */ jsxs("div", {
|
|
109
|
+
className: "ml-5 font-mono text-xs text-gray-500",
|
|
110
|
+
children: ["ID: ", a.toolCallId]
|
|
111
|
+
}), i[2] = a.toolCallId, i[3] = s);
|
|
112
|
+
let l;
|
|
113
|
+
i[4] !== o || i[5] !== s ? (l = /* @__PURE__ */ jsxs("div", {
|
|
114
|
+
className: "mb-2 flex items-center justify-between",
|
|
115
|
+
children: [o, s]
|
|
116
|
+
}), i[4] = o, i[5] = s, i[6] = l) : l = i[6];
|
|
117
|
+
let u;
|
|
118
|
+
i[7] === a.output ? u = i[8] : (u = JSON.stringify(a.output, null, 2), i[7] = a.output, i[8] = u);
|
|
119
|
+
let d;
|
|
120
|
+
i[9] === u ? d = i[10] : (d = /* @__PURE__ */ jsx("div", {
|
|
121
|
+
className: "rounded border bg-white p-2 text-xs",
|
|
122
|
+
children: /* @__PURE__ */ jsx("pre", {
|
|
123
|
+
className: "overflow-x-auto whitespace-pre-wrap",
|
|
124
|
+
children: u
|
|
125
|
+
})
|
|
126
|
+
}), i[9] = u, i[10] = d);
|
|
127
|
+
let f;
|
|
128
|
+
return i[11] !== l || i[12] !== d ? (f = /* @__PURE__ */ jsxs("div", { children: [l, d] }), i[11] = l, i[12] = d, i[13] = f) : f = i[13], f;
|
|
129
|
+
}, AiMessageContent_default = (n) => {
|
|
130
|
+
let i = c(4), { message: o } = n, s = _temp, l;
|
|
131
|
+
i[0] === o ? l = i[1] : (l = () => {
|
|
132
|
+
if (o.role === "system") return /* @__PURE__ */ jsxs("div", {
|
|
133
|
+
className: "rounded-lg border-l-4 border-gray-400 bg-gray-50 p-3 text-sm text-gray-600 italic",
|
|
134
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
135
|
+
className: "mb-1 font-medium",
|
|
136
|
+
children: "System"
|
|
137
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
138
|
+
className: "whitespace-pre-wrap",
|
|
139
|
+
children: o.content
|
|
140
|
+
})]
|
|
141
|
+
});
|
|
142
|
+
let { content: e } = o;
|
|
143
|
+
return typeof e == "string" ? /* @__PURE__ */ jsx(TextPartRenderer, { part: {
|
|
144
|
+
type: "text",
|
|
145
|
+
text: e
|
|
146
|
+
} }) : Array.isArray(e) ? /* @__PURE__ */ jsx("div", {
|
|
147
|
+
className: "space-y-2",
|
|
148
|
+
children: e.map((e, n) => s(e, n))
|
|
149
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
150
|
+
className: "text-sm text-red-600",
|
|
151
|
+
children: "Invalid content format"
|
|
152
|
+
});
|
|
153
|
+
}, i[0] = o, i[1] = l);
|
|
154
|
+
let u = l, d;
|
|
155
|
+
return i[2] === u ? d = i[3] : (d = /* @__PURE__ */ jsx("div", {
|
|
156
|
+
className: "message-content",
|
|
157
|
+
children: u()
|
|
158
|
+
}), i[2] = u, i[3] = d), d;
|
|
159
|
+
};
|
|
160
|
+
function _temp(e, n) {
|
|
161
|
+
switch (e.type) {
|
|
162
|
+
case "text": return /* @__PURE__ */ jsx(TextPartRenderer, { part: e }, n);
|
|
163
|
+
case "image": return /* @__PURE__ */ jsx(ImagePartRenderer, { part: e }, n);
|
|
164
|
+
case "file": return /* @__PURE__ */ jsx(FilePartRenderer, { part: e }, n);
|
|
165
|
+
case "reasoning": return /* @__PURE__ */ jsx(ReasoningPartRenderer, { part: e }, n);
|
|
166
|
+
case "tool-call": return /* @__PURE__ */ jsx(ToolCallPartRenderer, { part: e }, n);
|
|
167
|
+
case "tool-result": return /* @__PURE__ */ jsx(ToolResultPartRenderer, { part: e }, n);
|
|
168
|
+
default: return /* @__PURE__ */ jsxs("div", {
|
|
169
|
+
className: "rounded bg-gray-100 p-2 text-sm",
|
|
170
|
+
children: ["Unknown content type: ", e.type]
|
|
171
|
+
}, n);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
export { AiMessageContent_default as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../../../../components/ui/collapsible.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronDown } from "lucide-react";
|
|
6
|
+
var DocumentDebugRenderer_default = (s) => {
|
|
7
|
+
let l = c(3), { document: u } = s, d;
|
|
8
|
+
l[0] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ jsxs(CollapsibleTrigger, {
|
|
9
|
+
className: "flex w-full items-center justify-between p-4 text-left",
|
|
10
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
11
|
+
className: "text-gray-500",
|
|
12
|
+
children: "Debug Info"
|
|
13
|
+
}), /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 text-gray-400" })]
|
|
14
|
+
}), l[0] = d) : d = l[0];
|
|
15
|
+
let f;
|
|
16
|
+
return l[1] === u.content ? f = l[2] : (f = /* @__PURE__ */ jsx("div", {
|
|
17
|
+
className: "mx-3 mb-2 flex justify-end",
|
|
18
|
+
children: /* @__PURE__ */ jsxs(Collapsible, {
|
|
19
|
+
className: "rounded-lg border-0 bg-gray-100 shadow-none",
|
|
20
|
+
children: [d, /* @__PURE__ */ jsx(CollapsibleContent, {
|
|
21
|
+
className: "px-4 pb-4",
|
|
22
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
23
|
+
className: "max-w-full overflow-scroll",
|
|
24
|
+
children: /* @__PURE__ */ jsx("pre", { children: u.content })
|
|
25
|
+
})
|
|
26
|
+
})]
|
|
27
|
+
})
|
|
28
|
+
}), l[1] = u.content, l[2] = f), f;
|
|
29
|
+
};
|
|
30
|
+
export { DocumentDebugRenderer_default as default };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import Form_default from "../../../../components/dynamic-form/Form.js";
|
|
2
|
+
import { useRunPipeline } from "../../../../hooks/useProcessor.js";
|
|
3
|
+
import UiActions_default from "../../../../components/ui-widgets/UiActions.js";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import React, { useEffect } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { useForm } from "react-hook-form";
|
|
8
|
+
import "zod";
|
|
9
|
+
var DocumentFormRenderer_default = (l) => {
|
|
10
|
+
let u = c(38), { pipeline: d, workflow: f, document: p, enabled: m, viewOnly: h } = l, g = useRunPipeline(), _;
|
|
11
|
+
u[0] !== p.content || u[1] !== p.schema.type ? (_ = p.schema.type === "object" ? p.content : { raw: p.content }, u[0] = p.content, u[1] = p.schema.type, u[2] = _) : _ = u[2];
|
|
12
|
+
let v;
|
|
13
|
+
u[3] === _ ? v = u[4] : (v = {
|
|
14
|
+
defaultValues: _,
|
|
15
|
+
mode: "onChange"
|
|
16
|
+
}, u[3] = _, u[4] = v);
|
|
17
|
+
let y = useForm(v), b, x;
|
|
18
|
+
u[5] !== p.validationError || u[6] !== y ? (b = () => {
|
|
19
|
+
p.validationError ? p.validationError.issues.forEach((e) => {
|
|
20
|
+
let s = e.path.join(".");
|
|
21
|
+
y.setError(s, {
|
|
22
|
+
type: e.code,
|
|
23
|
+
message: e.message
|
|
24
|
+
});
|
|
25
|
+
}) : y.clearErrors();
|
|
26
|
+
}, x = [p.validationError, y], u[5] = p.validationError, u[6] = y, u[7] = b, u[8] = x) : (b = u[7], x = u[8]), useEffect(b, x);
|
|
27
|
+
let S;
|
|
28
|
+
u[9] === f.availableTransitions ? S = u[10] : (S = f.availableTransitions?.map(_temp) ?? [], u[9] = f.availableTransitions, u[10] = S);
|
|
29
|
+
let C = S, w;
|
|
30
|
+
u[11] !== C || u[12] !== d || u[13] !== g || u[14] !== f.id ? (w = (e, s) => {
|
|
31
|
+
if (!C.includes(e)) {
|
|
32
|
+
console.error(`Transition ${e} not available.`);
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
g.mutate({
|
|
36
|
+
pipelineId: d.id,
|
|
37
|
+
runPipelinePayloadDto: { transition: {
|
|
38
|
+
id: e,
|
|
39
|
+
workflowId: f.id,
|
|
40
|
+
payload: s
|
|
41
|
+
} }
|
|
42
|
+
});
|
|
43
|
+
}, u[11] = C, u[12] = d, u[13] = g, u[14] = f.id, u[15] = w) : w = u[15];
|
|
44
|
+
let T = w, E;
|
|
45
|
+
u[16] !== p.schema.type || u[17] !== T ? (E = (e) => (s) => {
|
|
46
|
+
p.schema.type === "object" ? T(e, s) : T(e, s.raw);
|
|
47
|
+
}, u[16] = p.schema.type, u[17] = T, u[18] = E) : E = u[18];
|
|
48
|
+
let D = E, O;
|
|
49
|
+
u[19] !== y || u[20] !== D ? (O = (e) => {
|
|
50
|
+
y.handleSubmit(D(e))();
|
|
51
|
+
}, u[19] = y, u[20] = D, u[21] = O) : O = u[21];
|
|
52
|
+
let k = O, A = p.ui, j = p.schema, M = A?.form?.disabled, N = !m || M || !1, P;
|
|
53
|
+
u[22] === p.ui?.actions ? P = u[23] : (P = p.ui?.actions ?? [], u[22] = p.ui?.actions, u[23] = P);
|
|
54
|
+
let F = P, I = A ?? void 0, L = p.meta?.mimeType, R;
|
|
55
|
+
u[24] !== F || u[25] !== C || u[26] !== N || u[27] !== k || u[28] !== g.isPending ? (R = /* @__PURE__ */ jsx(UiActions_default, {
|
|
56
|
+
actions: F,
|
|
57
|
+
onSubmit: k,
|
|
58
|
+
availableTransitions: C,
|
|
59
|
+
disabled: N,
|
|
60
|
+
isLoading: g.isPending
|
|
61
|
+
}), u[24] = F, u[25] = C, u[26] = N, u[27] = k, u[28] = g.isPending, u[29] = R) : R = u[29];
|
|
62
|
+
let z;
|
|
63
|
+
return u[30] !== N || u[31] !== y || u[32] !== j || u[33] !== I || u[34] !== L || u[35] !== R || u[36] !== h ? (z = /* @__PURE__ */ jsx("div", {
|
|
64
|
+
className: "flex",
|
|
65
|
+
children: /* @__PURE__ */ jsx(Form_default, {
|
|
66
|
+
form: y,
|
|
67
|
+
schema: j,
|
|
68
|
+
ui: I,
|
|
69
|
+
mimeType: L,
|
|
70
|
+
disabled: N,
|
|
71
|
+
viewOnly: h,
|
|
72
|
+
actions: R
|
|
73
|
+
})
|
|
74
|
+
}), u[30] = N, u[31] = y, u[32] = j, u[33] = I, u[34] = L, u[35] = R, u[36] = h, u[37] = z) : z = u[37], z;
|
|
75
|
+
};
|
|
76
|
+
function _temp(e) {
|
|
77
|
+
return e.id;
|
|
78
|
+
}
|
|
79
|
+
export { DocumentFormRenderer_default as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import CompletionMessagePaper_default from "../../../../components/messages/CompletionMessagePaper.js";
|
|
2
|
+
import AiMessageContent_default from "./AiMessageContent.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var DocumentMessageRenderer_default = (i) => {
|
|
7
|
+
let a = c(2), { document: o } = i, s = o.content, l;
|
|
8
|
+
return a[0] === s ? l = a[1] : (l = /* @__PURE__ */ jsx(CompletionMessagePaper_default, { children: /* @__PURE__ */ jsx(AiMessageContent_default, { message: s }) }), a[0] = s, a[1] = l), l;
|
|
9
|
+
};
|
|
10
|
+
export { DocumentMessageRenderer_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Alert, AlertDescription } from "../../../../components/ui/alert.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var ErrorMessageRenderer_default = (i) => {
|
|
6
|
+
let a = c(2), { document: o } = i, s;
|
|
7
|
+
return a[0] === o.content.error ? s = a[1] : (s = /* @__PURE__ */ jsx(Alert, {
|
|
8
|
+
variant: "destructive",
|
|
9
|
+
className: "w-auto",
|
|
10
|
+
children: /* @__PURE__ */ jsx(AlertDescription, { children: o.content.error })
|
|
11
|
+
}), a[0] = o.content.error, a[1] = s), s;
|
|
12
|
+
};
|
|
13
|
+
export { ErrorMessageRenderer_default as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import link_default from "../../../../components/loopstack-elements/link.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var LinkMessageRenderer_default = (r) => {
|
|
6
|
+
let i = c(8), { document: a } = r, { icon: o, type: s, label: l, caption: u, href: d, embed: f, expanded: p } = a.content, m = o, h;
|
|
7
|
+
return i[0] !== u || i[1] !== f || i[2] !== p || i[3] !== d || i[4] !== l || i[5] !== m || i[6] !== s ? (h = /* @__PURE__ */ jsx(link_default, {
|
|
8
|
+
href: d,
|
|
9
|
+
label: l,
|
|
10
|
+
caption: u,
|
|
11
|
+
icon: m,
|
|
12
|
+
type: s,
|
|
13
|
+
embed: f,
|
|
14
|
+
defaultExpanded: p
|
|
15
|
+
}), i[0] = u, i[1] = f, i[2] = p, i[3] = d, i[4] = l, i[5] = m, i[6] = s, i[7] = h) : h = i[7], h;
|
|
16
|
+
};
|
|
17
|
+
export { LinkMessageRenderer_default as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import CompletionMessagePaper_default from "../../../../components/messages/CompletionMessagePaper.js";
|
|
2
|
+
import MarkdownContent_default from "../../../../components/dynamic-form/MarkdownContent.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var MarkdownMessageRenderer_default = (i) => {
|
|
7
|
+
let a = c(2), { document: o } = i, s;
|
|
8
|
+
return a[0] === o.content.markdown ? s = a[1] : (s = /* @__PURE__ */ jsx(CompletionMessagePaper_default, { children: /* @__PURE__ */ jsx(MarkdownContent_default, { content: o.content.markdown }) }), a[0] = o.content.markdown, a[1] = s), s;
|
|
9
|
+
};
|
|
10
|
+
export { MarkdownMessageRenderer_default as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import CompletionMessagePaper_default from "../../../../components/messages/CompletionMessagePaper.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
var PlainMessageRenderer_default = (r) => {
|
|
6
|
+
let i = c(2), { document: a } = r, o;
|
|
7
|
+
return i[0] === a.content.text ? o = i[1] : (o = /* @__PURE__ */ jsx(CompletionMessagePaper_default, { children: a.content.text }), i[0] = a.content.text, i[1] = o), o;
|
|
8
|
+
};
|
|
9
|
+
export { PlainMessageRenderer_default as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { useCallback, useEffect, useState } from "react";
|
|
3
|
+
function useScrollToBottom(i) {
|
|
4
|
+
let a = c(7), o = i === void 0 ? 50 : i, [s, l] = useState(!1), u;
|
|
5
|
+
a[0] === o ? u = a[1] : (u = () => {
|
|
6
|
+
let e = document.documentElement;
|
|
7
|
+
l(e.scrollHeight - e.scrollTop - e.clientHeight > o);
|
|
8
|
+
}, a[0] = o, a[1] = u);
|
|
9
|
+
let d = u, f = _temp, p, m;
|
|
10
|
+
a[2] === d ? (p = a[3], m = a[4]) : (p = () => {
|
|
11
|
+
window.addEventListener("scroll", d, { passive: !0 }), d();
|
|
12
|
+
let e = setInterval(d, 500);
|
|
13
|
+
return () => {
|
|
14
|
+
window.removeEventListener("scroll", d), clearInterval(e);
|
|
15
|
+
};
|
|
16
|
+
}, m = [d], a[2] = d, a[3] = p, a[4] = m), useEffect(p, m);
|
|
17
|
+
let h;
|
|
18
|
+
return a[5] === s ? h = a[6] : (h = {
|
|
19
|
+
canScrollDown: s,
|
|
20
|
+
scrollToBottom: f
|
|
21
|
+
}, a[5] = s, a[6] = h), h;
|
|
22
|
+
}
|
|
23
|
+
function _temp() {
|
|
24
|
+
window.scrollTo({
|
|
25
|
+
top: document.documentElement.scrollHeight,
|
|
26
|
+
behavior: "smooth"
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export { useScrollToBottom };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
3
|
+
const useIntersectionObserver = (o) => {
|
|
4
|
+
let l = c(7), u = o === void 0 ? "0px" : o, [d, f] = useState(null), p = useRef(null), m;
|
|
5
|
+
l[0] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ new Map(), l[0] = m) : m = l[0];
|
|
6
|
+
let h = useRef(m), g, _;
|
|
7
|
+
l[1] === u ? (g = l[2], _ = l[3]) : (g = () => {
|
|
8
|
+
let e = h.current;
|
|
9
|
+
return p.current = new IntersectionObserver((o) => {
|
|
10
|
+
o.forEach((o) => {
|
|
11
|
+
o.target.getAttribute("data-id") && (o.isIntersecting ? e.set(o.target, !0) : e.set(o.target, !1));
|
|
12
|
+
});
|
|
13
|
+
let s = Array.from(e.entries()).filter(_temp).map(_temp2).filter(_temp3).sort();
|
|
14
|
+
s.length && f(s[0]);
|
|
15
|
+
}, {
|
|
16
|
+
root: document.querySelector(".list-container"),
|
|
17
|
+
threshold: .05,
|
|
18
|
+
rootMargin: u
|
|
19
|
+
}), () => {
|
|
20
|
+
p.current?.disconnect(), e.clear();
|
|
21
|
+
};
|
|
22
|
+
}, _ = [u], l[1] = u, l[2] = g, l[3] = _), useEffect(g, _);
|
|
23
|
+
let v;
|
|
24
|
+
l[4] === Symbol.for("react.memo_cache_sentinel") ? (v = (e) => {
|
|
25
|
+
e && p.current?.observe(e);
|
|
26
|
+
}, l[4] = v) : v = l[4];
|
|
27
|
+
let y = v, b;
|
|
28
|
+
return l[5] === d ? b = l[6] : (b = {
|
|
29
|
+
activeId: d,
|
|
30
|
+
observe: y
|
|
31
|
+
}, l[5] = d, l[6] = b), b;
|
|
32
|
+
};
|
|
33
|
+
function _temp(e) {
|
|
34
|
+
let [, o] = e;
|
|
35
|
+
return o;
|
|
36
|
+
}
|
|
37
|
+
function _temp2(e) {
|
|
38
|
+
let [o] = e;
|
|
39
|
+
return o.getAttribute("data-id");
|
|
40
|
+
}
|
|
41
|
+
function _temp3(e) {
|
|
42
|
+
return e !== null;
|
|
43
|
+
}
|
|
44
|
+
export { useIntersectionObserver };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { useCallback, useRef } from "react";
|
|
3
|
+
const useScrollToListItem = () => {
|
|
4
|
+
let n = c(2), r = useRef(null), i;
|
|
5
|
+
n[0] === Symbol.for("react.memo_cache_sentinel") ? (i = (e) => {
|
|
6
|
+
if (r.current && e) {
|
|
7
|
+
let n = Array.from(r.current.children[0].children).find((n) => n.dataset.id?.endsWith(e));
|
|
8
|
+
if (n) {
|
|
9
|
+
let e = n.getBoundingClientRect().top + window.pageYOffset - 70;
|
|
10
|
+
window.scrollTo({
|
|
11
|
+
top: e,
|
|
12
|
+
behavior: "smooth"
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}, n[0] = i) : i = n[0];
|
|
17
|
+
let a = i, o;
|
|
18
|
+
return n[1] === Symbol.for("react.memo_cache_sentinel") ? (o = {
|
|
19
|
+
listRef: r,
|
|
20
|
+
scrollTo: a
|
|
21
|
+
}, n[1] = o) : o = n[1], o;
|
|
22
|
+
};
|
|
23
|
+
export { useScrollToListItem };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import React, { createContext, useContext, useState } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
var ScrollContext = createContext({
|
|
5
|
+
enableScrollTo: !0,
|
|
6
|
+
setScrollTo: () => {}
|
|
7
|
+
});
|
|
8
|
+
const ScrollProvider = (i) => {
|
|
9
|
+
let a = c(6), { children: o } = i, [s, l] = useState(!0), u;
|
|
10
|
+
a[0] === Symbol.for("react.memo_cache_sentinel") ? (u = (e) => l(e), a[0] = u) : u = a[0];
|
|
11
|
+
let d = u, f;
|
|
12
|
+
a[1] === s ? f = a[2] : (f = {
|
|
13
|
+
enableScrollTo: s,
|
|
14
|
+
setScrollTo: d
|
|
15
|
+
}, a[1] = s, a[2] = f);
|
|
16
|
+
let p;
|
|
17
|
+
return a[3] !== o || a[4] !== f ? (p = /* @__PURE__ */ jsx(ScrollContext.Provider, {
|
|
18
|
+
value: f,
|
|
19
|
+
children: o
|
|
20
|
+
}), a[3] = o, a[4] = f, a[5] = p) : p = a[5], p;
|
|
21
|
+
}, useScroll = () => useContext(ScrollContext);
|
|
22
|
+
export { ScrollProvider, useScroll };
|