@pipelex/mthds-ui 0.5.0

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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/shiki/highlighter.ts","../../src/shiki/mthds.tmLanguage.json","../../src/shiki/pipelexDarkTheme.ts","../../src/shiki/themes.ts"],"sourcesContent":["import {\n createHighlighterCore,\n type HighlighterCore,\n type LanguageRegistration,\n type ThemeRegistrationRaw,\n} from \"@shikijs/core\";\nimport { createOnigurumaEngine } from \"@shikijs/engine-oniguruma\";\nimport darkPlus from \"@shikijs/themes/dark-plus\";\nimport dracula from \"@shikijs/themes/dracula\";\nimport monokai from \"@shikijs/themes/monokai\";\nimport oneDarkPro from \"@shikijs/themes/one-dark-pro\";\nimport mthdsGrammar from \"./mthds.tmLanguage.json\";\nimport { pipelexDarkTheme } from \"./pipelexDarkTheme\";\nimport { type MthdsThemeName, MTHDS_THEMES } from \"./themes\";\n\nconst mthdsLang = {\n ...mthdsGrammar,\n name: \"mthds\",\n} as unknown as LanguageRegistration;\n\nlet highlighterPromise: Promise<HighlighterCore> | null = null;\n\nfunction getHighlighter(): Promise<HighlighterCore> {\n if (!highlighterPromise) {\n highlighterPromise = createHighlighterCore({\n engine: createOnigurumaEngine(import(\"@shikijs/engine-oniguruma/wasm-inlined\")),\n themes: [pipelexDarkTheme, darkPlus, monokai, dracula, oneDarkPro],\n langs: [mthdsLang],\n }).catch((err) => {\n highlighterPromise = null;\n throw err;\n });\n }\n return highlighterPromise;\n}\n\nexport async function highlightMthds(\n code: string,\n theme: MthdsThemeName = \"pipelex-dark\",\n): Promise<string> {\n const highlighter = await getHighlighter();\n return highlighter.codeToHtml(code, {\n lang: \"mthds\",\n theme,\n });\n}\n\nexport function getAvailableThemes(): MthdsThemeName[] {\n return [...MTHDS_THEMES];\n}\n\nexport function getMthdsGrammar(): LanguageRegistration {\n return mthdsLang;\n}\n\nexport function getMthdsTheme(): ThemeRegistrationRaw {\n return pipelexDarkTheme;\n}\n","{\n \"version\": \"1.0.0\",\n \"scopeName\": \"source.mthds\",\n \"uuid\": \"8b4e5008-c50d-11ea-a91b-54ee75aeeb97\",\n \"information_for_contributors\": [\n \"Originally was maintained by aster (galaster@foxmail.com). This notice is only kept here for the record, please don't send e-mails about bugs and other issues.\"\n ],\n \"patterns\": [\n {\n \"include\": \"#commentDirective\"\n },\n {\n \"include\": \"#comment\"\n },\n {\n \"include\": \"#table\"\n },\n {\n \"include\": \"#entryBegin\"\n },\n {\n \"include\": \"#value\"\n }\n ],\n \"repository\": {\n \"comment\": {\n \"captures\": {\n \"1\": {\n \"name\": \"comment.line.number-sign.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.definition.comment.mthds\"\n }\n },\n \"comment\": \"Comments\",\n \"match\": \"\\\\s*((#).*)$\"\n },\n \"commentDirective\": {\n \"captures\": {\n \"1\": {\n \"name\": \"meta.preprocessor.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.definition.meta.preprocessor.mthds\"\n }\n },\n \"comment\": \"Comments\",\n \"match\": \"\\\\s*((#):.*)$\"\n },\n \"table\": {\n \"patterns\": [\n {\n \"name\": \"meta.table.concept.mthds\",\n \"match\": \"^\\\\s*(\\\\[)\\\\s*(concept(?:\\\\.[A-Z][A-Za-z0-9]*)?)\\\\s*(\\\\])\",\n \"captures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.mthds\"\n },\n \"2\": {\n \"patterns\": [\n {\n \"match\": \"concept\",\n \"name\": \"entity.name.type.concept.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n {\n \"match\": \"[A-Z][A-Za-z0-9]*\",\n \"name\": \"entity.name.type.concept.mthds\"\n }\n ]\n },\n \"3\": {\n \"name\": \"punctuation.definition.table.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.table.pipe.mthds\",\n \"match\": \"^\\\\s*(\\\\[)\\\\s*(pipe(?:\\\\.[a-z][a-z0-9_]*)?)\\\\s*(\\\\])\",\n \"captures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.mthds\"\n },\n \"2\": {\n \"patterns\": [\n {\n \"match\": \"pipe\",\n \"name\": \"entity.name.tag.pipe.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n {\n \"match\": \"[a-z][a-z0-9_]*\",\n \"name\": \"entity.name.tag.pipe.mthds\"\n }\n ]\n },\n \"3\": {\n \"name\": \"punctuation.definition.table.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.table.mthds\",\n \"match\": \"^\\\\s*(\\\\[)\\\\s*((?:(?:(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+'))\\\\s*\\\\.?\\\\s*)+)\\\\s*(\\\\])\",\n \"captures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.mthds\"\n },\n \"2\": {\n \"patterns\": [\n {\n \"match\": \"(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+')\",\n \"name\": \"support.type.property-name.table.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.separator.dot.mthds\"\n }\n ]\n },\n \"3\": {\n \"name\": \"punctuation.definition.table.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.array.table.mthds\",\n \"match\": \"^\\\\s*(\\\\[\\\\[)\\\\s*((?:(?:(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+'))\\\\s*\\\\.?\\\\s*)+)\\\\s*(\\\\]\\\\])\",\n \"captures\": {\n \"1\": {\n \"name\": \"punctuation.definition.array.table.mthds\"\n },\n \"2\": {\n \"patterns\": [\n {\n \"match\": \"(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+')\",\n \"name\": \"support.type.property-name.array.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.separator.dot.mthds\"\n }\n ]\n },\n \"3\": {\n \"name\": \"punctuation.definition.array.table.mthds\"\n }\n }\n },\n {\n \"begin\": \"(\\\\{)\",\n \"end\": \"(\\\\})\",\n \"name\": \"meta.table.inline.mthds\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.inline.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.inline.mthds\"\n }\n },\n \"patterns\": [\n {\n \"include\": \"#comment\"\n },\n {\n \"match\": \",\",\n \"name\": \"punctuation.separator.table.inline.mthds\"\n },\n {\n \"include\": \"#entryBegin\"\n },\n {\n \"include\": \"#value\"\n }\n ]\n }\n ]\n },\n \"entryBegin\": {\n \"patterns\": [\n {\n \"name\": \"meta.entry.pipe-ref-package.mthds\",\n \"match\": \"\\\\s*(pipe)\\\\s*(=)\\\\s*(\\\")([a-z][a-z0-9.-]*(?:/[A-Za-z][A-Za-z0-9_-]*){2})(/[a-z][a-z0-9_]*)(->)(?:([a-z][a-z0-9_]*(?:\\\\.[a-z][a-z0-9_]*)*)(\\\\.))?([a-z][a-z0-9_]*)(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"6\": {\n \"name\": \"keyword.operator.arrow.mthds\"\n },\n \"7\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"8\": {\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n \"9\": {\n \"name\": \"entity.name.tag.pipe-name.mthds\"\n },\n \"10\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.pipe-ref.mthds\",\n \"match\": \"\\\\s*(pipe)\\\\s*(=)\\\\s*(\\\")(?:([a-z][a-z0-9_]*(?:\\\\.[a-z][a-z0-9_]*)*)(\\\\.))?([a-z][a-z0-9_]*)(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n \"6\": {\n \"name\": \"entity.name.tag.pipe-name.mthds\"\n },\n \"7\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.pipe.mthds\",\n \"match\": \"^\\\\s*(pipe(?:\\\\.(?:[A-Za-z0-9_+-]+|\\\"[^\\\"]+\\\"|'[^']+'))?)\\\\s*(=)\",\n \"captures\": {\n \"1\": {\n \"patterns\": [\n {\n \"match\": \"pipe\",\n \"name\": \"entity.name.tag.pipe.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n {\n \"match\": \"(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+')\",\n \"name\": \"entity.name.tag.pipe.mthds\"\n }\n ]\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.output-type.mthds\",\n \"match\": \"\\\\s*(output)\\\\s*(=)\\\\s*(\\\")(?:([a-z][a-z0-9_]*)(\\\\.))?([A-Z][A-Za-z0-9]*)(\\\\[\\\\d*\\\\])?(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n \"6\": {\n \"name\": \"entity.name.type.concept.mthds\"\n },\n \"7\": {\n \"name\": \"punctuation.definition.multiplicity.mthds\"\n },\n \"8\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.refines-type.mthds\",\n \"match\": \"\\\\s*(refines)\\\\s*(=)\\\\s*(\\\")(?:([a-z][a-z0-9_]*)(\\\\.))?([A-Z][A-Za-z0-9]*)(\\\\[\\\\d*\\\\])?(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n \"6\": {\n \"name\": \"entity.name.type.concept.mthds\"\n },\n \"7\": {\n \"name\": \"punctuation.definition.multiplicity.mthds\"\n },\n \"8\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.type.mthds\",\n \"match\": \"\\\\s*(type)\\\\s*(=)\\\\s*(\\\")(Pipe[A-Z][A-Za-z0-9]*)(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"entity.name.tag.pipe-type.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.model.mthds\",\n \"match\": \"\\\\s*(model)\\\\s*(=)\\\\s*(\\\")([$@~#])([a-zA-Z][a-zA-Z0-9_-]*)(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"storage.modifier.mthds\"\n },\n \"5\": {\n \"name\": \"constant.other.symbol.mthds\"\n },\n \"6\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.model.mthds\",\n \"match\": \"\\\\s*(model)\\\\s*(=)\\\\s*(\\\")([a-zA-Z][a-zA-Z0-9_.:-]*)(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"constant.other.symbol.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.jinja2-template.mthds\",\n \"begin\": \"\\\\s*(jinja2)\\\\s*(=)\\\\s*(\\\"\\\"\\\")\",\n \"end\": \"(\\\"\\\"\\\")\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n },\n \"contentName\": \"string.quoted.triple.basic.block.jinja2.mthds\",\n \"patterns\": [\n {\n \"include\": \"#jinjaTemplateContent\"\n },\n {\n \"include\": \"#htmlContent\"\n },\n {\n \"include\": \"#stringEscapes\"\n },\n {\n \"include\": \"#dataInjection\"\n },\n {\n \"include\": \"#templateVariable\"\n }\n ]\n },\n {\n \"name\": \"meta.entry.jinja2-template-line.mthds\",\n \"begin\": \"\\\\s*(jinja2)\\\\s*(=)\\\\s*(\\\")\",\n \"end\": \"(\\\")\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n },\n \"contentName\": \"string.quoted.single.basic.line.jinja2.mthds\",\n \"patterns\": [\n {\n \"include\": \"#jinjaTemplateContent\"\n },\n {\n \"include\": \"#htmlContent\"\n },\n {\n \"include\": \"#stringEscapes\"\n },\n {\n \"include\": \"#dataInjection\"\n },\n {\n \"include\": \"#templateVariable\"\n }\n ]\n },\n {\n \"name\": \"meta.entry.prompt-template.mthds\",\n \"begin\": \"\\\\s*(prompt_template)\\\\s*(=)\\\\s*(\\\"\\\"\\\")\",\n \"end\": \"(\\\"\\\"\\\")\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n },\n \"contentName\": \"string.quoted.triple.basic.block.prompt.mthds\",\n \"patterns\": [\n {\n \"include\": \"#jinjaTemplateContent\"\n },\n {\n \"include\": \"#stringEscapes\"\n },\n {\n \"include\": \"#dataInjection\"\n },\n {\n \"include\": \"#templateVariable\"\n }\n ]\n },\n {\n \"name\": \"meta.entry.prompt-template-line.mthds\",\n \"begin\": \"\\\\s*(prompt_template)\\\\s*(=)\\\\s*(\\\")\",\n \"end\": \"(\\\")\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n },\n \"contentName\": \"string.quoted.single.basic.line.prompt.mthds\",\n \"patterns\": [\n {\n \"include\": \"#jinjaTemplateContent\"\n },\n {\n \"include\": \"#stringEscapes\"\n },\n {\n \"include\": \"#dataInjection\"\n },\n {\n \"include\": \"#templateVariable\"\n }\n ]\n },\n {\n \"name\": \"meta.entry.concept-value.mthds\",\n \"match\": \"\\\\s*((?!(?:description|prompt|system_prompt|name|model_to_structure)\\\\b)[a-z][a-z0-9_]*)\\\\s*(=)\\\\s*(\\\")(?:([a-z][a-z0-9_]*)(\\\\.))?([A-Z][A-Za-z0-9]*)(\\\\[\\\\d*\\\\])?(\\\")\",\n \"captures\": {\n \"1\": {\n \"name\": \"support.type.property-name.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n },\n \"3\": {\n \"name\": \"punctuation.definition.string.begin.mthds\"\n },\n \"4\": {\n \"name\": \"punctuation.separator.namespace.mthds\"\n },\n \"5\": {\n \"name\": \"punctuation.separator.dot.mthds\"\n },\n \"6\": {\n \"name\": \"entity.name.type.concept.mthds\"\n },\n \"7\": {\n \"name\": \"punctuation.definition.multiplicity.mthds\"\n },\n \"8\": {\n \"name\": \"punctuation.definition.string.end.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.entry.mthds\",\n \"match\": \"\\\\s*((?:(?:(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+'))\\\\s*\\\\.?\\\\s*)+)\\\\s*(=)\",\n \"captures\": {\n \"1\": {\n \"patterns\": [\n {\n \"match\": \"(?:(?:[A-Za-z0-9_+-]+))|(?:\\\"[^\\\"]+\\\")|(?:'[^']+')\",\n \"name\": \"support.type.property-name.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.separator.dot.mthds\"\n }\n ]\n },\n \"2\": {\n \"name\": \"punctuation.eq.mthds\"\n }\n }\n }\n ]\n },\n \"value\": {\n \"patterns\": [\n {\n \"name\": \"string.quoted.triple.basic.block.mthds\",\n \"begin\": \"\\\"\\\"\\\"\",\n \"end\": \"\\\"\\\"\\\"\",\n \"patterns\": [\n {\n \"include\": \"#jinjaTemplateContent\"\n },\n {\n \"include\": \"#htmlContent\"\n },\n {\n \"include\": \"#stringEscapes\"\n },\n {\n \"include\": \"#dataInjection\"\n },\n {\n \"include\": \"#templateVariable\"\n }\n ]\n },\n {\n \"name\": \"string.quoted.single.basic.line.mthds\",\n \"begin\": \"\\\"\",\n \"end\": \"\\\"\",\n \"patterns\": [\n {\n \"include\": \"#jinjaTemplateContent\"\n },\n {\n \"include\": \"#htmlContent\"\n },\n {\n \"include\": \"#stringEscapes\"\n },\n {\n \"include\": \"#dataInjection\"\n },\n {\n \"include\": \"#templateVariable\"\n }\n ]\n },\n {\n \"name\": \"string.quoted.triple.literal.block.mthds\",\n \"begin\": \"'''\",\n \"end\": \"'''\"\n },\n {\n \"name\": \"string.quoted.single.literal.line.mthds\",\n \"begin\": \"'\",\n \"end\": \"'\"\n },\n {\n \"captures\": {\n \"1\": {\n \"name\": \"constant.other.time.datetime.offset.mthds\"\n }\n },\n \"match\": \"(?<!\\\\w)(\\\\d{4}\\\\-\\\\d{2}\\\\-\\\\d{2}[T ]\\\\d{2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d+)?(?:Z|[\\\\+\\\\-]\\\\d{2}:\\\\d{2}))(?!\\\\w)\"\n },\n {\n \"captures\": {\n \"1\": {\n \"name\": \"constant.other.time.datetime.local.mthds\"\n }\n },\n \"match\": \"(\\\\d{4}\\\\-\\\\d{2}\\\\-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d+)?)\"\n },\n {\n \"name\": \"constant.other.time.date.mthds\",\n \"match\": \"\\\\d{4}\\\\-\\\\d{2}\\\\-\\\\d{2}\"\n },\n {\n \"name\": \"constant.other.time.time.mthds\",\n \"match\": \"\\\\d{2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d+)?\"\n },\n {\n \"match\": \"(?<!\\\\w)(true|false)(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.language.boolean.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)([\\\\+\\\\-]?(0|([1-9](([0-9]|_[0-9])+)?))(?:(?:\\\\.([0-9]+))?[eE][\\\\+\\\\-]?[1-9]_?[0-9]*|(?:\\\\.[0-9_]*)))(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.float.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)((?:[\\\\+\\\\-]?(0|([1-9](([0-9]|_[0-9])+)?))))(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.integer.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)([\\\\+\\\\-]?inf)(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.inf.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)([\\\\+\\\\-]?nan)(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.nan.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)((?:0x(([0-9a-fA-F](([0-9a-fA-F]|_[0-9a-fA-F])+)?))))(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.hex.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)(0o[0-7](_?[0-7])*)(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.oct.mthds\"\n }\n }\n },\n {\n \"match\": \"(?<!\\\\w)(0b[01](_?[01])*)(?!\\\\w)\",\n \"captures\": {\n \"1\": {\n \"name\": \"constant.numeric.bin.mthds\"\n }\n }\n },\n {\n \"name\": \"meta.array.mthds\",\n \"begin\": \"(?<!\\\\w)(\\\\[)\\\\s*\",\n \"end\": \"\\\\s*(\\\\])(?!\\\\w)\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.array.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.array.mthds\"\n }\n },\n \"patterns\": [\n {\n \"match\": \",\",\n \"name\": \"punctuation.separator.array.mthds\"\n },\n {\n \"include\": \"#comment\"\n },\n {\n \"include\": \"#value\"\n }\n ]\n },\n {\n \"begin\": \"(\\\\{)\",\n \"end\": \"(\\\\})\",\n \"name\": \"meta.table.inline.mthds\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.inline.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.table.inline.mthds\"\n }\n },\n \"patterns\": [\n {\n \"include\": \"#comment\"\n },\n {\n \"match\": \",\",\n \"name\": \"punctuation.separator.table.inline.mthds\"\n },\n {\n \"include\": \"#entryBegin\"\n },\n {\n \"include\": \"#value\"\n }\n ]\n }\n ]\n },\n \"jinjaTemplateContent\": {\n \"patterns\": [\n {\n \"name\": \"meta.embedded.block.jinja.mthds\",\n \"begin\": \"(\\\\{%)\",\n \"end\": \"(%\\\\})\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.jinja.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.jinja.mthds\"\n }\n },\n \"patterns\": [\n {\n \"include\": \"#jinjaStatements\"\n }\n ]\n },\n {\n \"name\": \"meta.embedded.expression.jinja.mthds\",\n \"begin\": \"(\\\\{\\\\{)\",\n \"end\": \"(\\\\}\\\\})\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.jinja.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.jinja.mthds\"\n }\n },\n \"patterns\": [\n {\n \"include\": \"#jinjaExpressions\"\n }\n ]\n },\n {\n \"name\": \"comment.block.jinja.mthds\",\n \"begin\": \"(\\\\{#)\",\n \"end\": \"(#\\\\})\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.comment.begin.jinja.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.comment.end.jinja.mthds\"\n }\n }\n }\n ]\n },\n \"jinjaStatements\": {\n \"patterns\": [\n {\n \"match\": \"\\\\b(if|elif|else|endif|for|endfor|set|with|endwith|block|endblock|macro|endmacro|call|endcall|filter|endfilter|autoescape|endautoescape|raw|endraw|extends|include|import|from)\\\\b\",\n \"name\": \"keyword.control.jinja.mthds\"\n },\n {\n \"match\": \"\\\\b(and|or|not|in|is|true|false|none)\\\\b\",\n \"name\": \"keyword.operator.jinja.mthds\"\n },\n {\n \"match\": \"\\\\b(selectattr|rejectattr|map|select|reject|join|list|sort|reverse|length|first|last|random|min|max|sum|abs|round|int|float|string)\\\\b\",\n \"name\": \"support.function.jinja.mthds\"\n },\n {\n \"match\": \"[a-zA-Z_][a-zA-Z0-9_]*\",\n \"name\": \"variable.other.jinja.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.accessor.jinja.mthds\"\n },\n {\n \"match\": \"\\\\|\",\n \"name\": \"punctuation.separator.filter.jinja.mthds\"\n }\n ]\n },\n \"jinjaExpressions\": {\n \"patterns\": [\n {\n \"match\": \"\\\\b(and|or|not|in|is|true|false|none)\\\\b\",\n \"name\": \"keyword.operator.jinja.mthds\"\n },\n {\n \"match\": \"\\\\b(selectattr|rejectattr|map|select|reject|join|list|sort|reverse|length|first|last|random|min|max|sum|abs|round|int|float|string|equalto)\\\\b\",\n \"name\": \"support.function.jinja.mthds\"\n },\n {\n \"match\": \"[a-zA-Z_][a-zA-Z0-9_]*\",\n \"name\": \"variable.other.jinja.mthds\"\n },\n {\n \"match\": \"\\\\.\",\n \"name\": \"punctuation.accessor.jinja.mthds\"\n },\n {\n \"match\": \"\\\\|\",\n \"name\": \"punctuation.separator.filter.jinja.mthds\"\n },\n {\n \"match\": \"\\\"[^\\\"]*\\\"\",\n \"name\": \"string.quoted.double.jinja.mthds\"\n },\n {\n \"match\": \"'[^']*'\",\n \"name\": \"string.quoted.single.jinja.mthds\"\n },\n {\n \"match\": \"\\\\d+\",\n \"name\": \"constant.numeric.jinja.mthds\"\n }\n ]\n },\n \"htmlContent\": {\n \"patterns\": [\n {\n \"name\": \"meta.tag.html.mthds\",\n \"begin\": \"(<)([a-zA-Z][a-zA-Z0-9]*)\",\n \"end\": \"(>)\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.tag.begin.html.mthds\"\n },\n \"2\": {\n \"name\": \"entity.name.tag.html.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.tag.end.html.mthds\"\n }\n },\n \"patterns\": [\n {\n \"include\": \"#htmlAttributes\"\n }\n ]\n },\n {\n \"name\": \"meta.tag.html.mthds\",\n \"begin\": \"(</)([a-zA-Z][a-zA-Z0-9]*)\",\n \"end\": \"(>)\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.tag.begin.html.mthds\"\n },\n \"2\": {\n \"name\": \"entity.name.tag.html.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.tag.end.html.mthds\"\n }\n }\n },\n {\n \"name\": \"comment.block.html.mthds\",\n \"begin\": \"(<!--)\",\n \"end\": \"(-->)\",\n \"beginCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.comment.begin.html.mthds\"\n }\n },\n \"endCaptures\": {\n \"1\": {\n \"name\": \"punctuation.definition.comment.end.html.mthds\"\n }\n }\n }\n ]\n },\n \"htmlAttributes\": {\n \"patterns\": [\n {\n \"match\": \"([a-zA-Z-]+)(=)(\\\"[^\\\"]*\\\"|'[^']*')\",\n \"captures\": {\n \"1\": {\n \"name\": \"entity.other.attribute-name.html.mthds\"\n },\n \"2\": {\n \"name\": \"punctuation.separator.key-value.html.mthds\"\n },\n \"3\": {\n \"name\": \"string.quoted.html.mthds\"\n }\n }\n },\n {\n \"match\": \"[a-zA-Z-]+\",\n \"name\": \"entity.other.attribute-name.html.mthds\"\n }\n ]\n },\n \"dataInjection\": {\n \"match\": \"(@)([a-z][a-zA-Z0-9_]*(?:\\\\.[a-z][a-zA-Z0-9_]*)*)\",\n \"captures\": {\n \"1\": {\n \"name\": \"storage.modifier.mthds\"\n },\n \"2\": {\n \"name\": \"variable.other.readwrite.mthds\"\n }\n }\n },\n \"templateVariable\": {\n \"match\": \"(\\\\$)([a-z][a-zA-Z0-9_]*(?:\\\\.[a-z][a-zA-Z0-9_]*)*)\",\n \"captures\": {\n \"1\": {\n \"name\": \"storage.modifier.mthds\"\n },\n \"2\": {\n \"name\": \"variable.other.readwrite.mthds\"\n }\n }\n },\n \"stringEscapes\": {\n \"patterns\": [\n {\n \"match\": \"\\\\\\\\([btnfr\\\"\\\\\\\\\\\\n/ ]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})\",\n \"name\": \"constant.character.escape.mthds\"\n },\n {\n \"match\": \"\\\\\\\\[^btnfr/\\\"\\\\\\\\\\\\n]\",\n \"name\": \"invalid.illegal.escape.mthds\"\n }\n ]\n }\n }\n}\n","import type { ThemeRegistrationRaw } from \"@shikijs/core\";\n\nexport const pipelexDarkTheme: ThemeRegistrationRaw = {\n name: \"pipelex-dark\",\n type: \"dark\",\n colors: {\n \"editor.background\": \"#1e1e1e\",\n \"editor.foreground\": \"#d4d4d4\",\n },\n settings: [\n // Default text\n {\n scope: [],\n settings: {\n foreground: \"#d4d4d4\",\n },\n },\n\n // ── Coral Red #FF6B6B bold ──────────────────────────────\n // Pipe sections, pipe types, pipe names\n {\n scope: [\n \"entity.name.tag.pipe.mthds\",\n \"entity.name.tag.pipe-type.mthds\",\n \"entity.name.tag.pipe-name.mthds\",\n ],\n settings: {\n foreground: \"#FF6B6B\",\n fontStyle: \"bold\",\n },\n },\n\n // ── Teal #4ECDC4 bold ───────────────────────────────────\n // Concept sections, concept types\n {\n scope: [\"entity.name.type.concept.mthds\"],\n settings: {\n foreground: \"#4ECDC4\",\n fontStyle: \"bold\",\n },\n },\n\n // ── Pale Green #98FB98 bold ─────────────────────────────\n // Data variables\n {\n scope: [\"variable.other.readwrite.mthds\"],\n settings: {\n foreground: \"#98FB98\",\n fontStyle: \"bold\",\n },\n },\n\n // ── Magenta #FF79C6 (no bold) ───────────────────────────\n // Template markers, sigils, escape sequences\n {\n scope: [\"storage.modifier.mthds\", \"constant.character.escape.mthds\"],\n settings: {\n foreground: \"#FF79C6\",\n },\n },\n\n // ── Magenta #FF79C6 bold (Jinja keywords) ───────────────\n {\n scope: [\"keyword.control.jinja.mthds\"],\n settings: {\n foreground: \"#FF79C6\",\n fontStyle: \"bold\",\n },\n },\n\n // ── Magenta #FF79C6 (Jinja operators) ───────────────────\n {\n scope: [\"keyword.operator.jinja.mthds\"],\n settings: {\n foreground: \"#FF79C6\",\n },\n },\n\n // ── Magenta #FF79C6 (HTML tags) ─────────────────────────\n {\n scope: [\"entity.name.tag.html.mthds\"],\n settings: {\n foreground: \"#FF79C6\",\n },\n },\n\n // ── Orange #FFB86C bold (model refs) ────────────────────\n {\n scope: [\"constant.other.symbol.mthds\"],\n settings: {\n foreground: \"#FFB86C\",\n fontStyle: \"bold\",\n },\n },\n\n // ── Orange #FFB86C (Jinja delimiters) ───────────────────\n {\n scope: [\"punctuation.definition.jinja.mthds\"],\n settings: {\n foreground: \"#FFB86C\",\n },\n },\n\n // ── Salmon #ce9178 (strings) ────────────────────────────\n {\n scope: [\n \"string.quoted.triple.basic.block.mthds\",\n \"string.quoted.single.basic.line.mthds\",\n \"string.quoted.triple.literal.block.mthds\",\n \"string.quoted.single.literal.line.mthds\",\n \"string.quoted.triple.basic.block.jinja2.mthds\",\n \"string.quoted.single.basic.line.jinja2.mthds\",\n \"string.quoted.triple.basic.block.prompt.mthds\",\n \"string.quoted.single.basic.line.prompt.mthds\",\n \"string.quoted.html.mthds\",\n ],\n settings: {\n foreground: \"#ce9178\",\n },\n },\n\n // ── Green #6a9955 italic (comments) ─────────────────────\n {\n scope: [\n \"comment\",\n \"comment.line.number-sign.mthds\",\n \"comment.block.jinja.mthds\",\n \"comment.block.html.mthds\",\n ],\n settings: {\n foreground: \"#6a9955\",\n fontStyle: \"italic\",\n },\n },\n\n // ── Green #6a9955 italic (preprocessor directives) ──────\n {\n scope: [\"meta.preprocessor.mthds\"],\n settings: {\n foreground: \"#6a9955\",\n fontStyle: \"italic\",\n },\n },\n\n // ── Light Blue #9cdcfe (generic property names) ─────────\n {\n scope: [\"support.type.property-name.mthds\"],\n settings: {\n foreground: \"#9cdcfe\",\n },\n },\n\n // ── Blue #569cd6 (booleans) ───────────────────────────\n {\n scope: [\"constant.language.boolean.mthds\"],\n settings: {\n foreground: \"#569cd6\",\n },\n },\n\n // ── Light Green #b5cea8 (numbers) ─────────────────────\n {\n scope: [\"constant.numeric\", \"constant.other.time\"],\n settings: {\n foreground: \"#b5cea8\",\n },\n },\n\n // ── Light Blue #9cdcfe (table/array property names) ──────\n {\n scope: [\"support.type.property-name.table.mthds\", \"support.type.property-name.array.mthds\"],\n settings: {\n foreground: \"#9cdcfe\",\n },\n },\n\n // ── Yellow #dcdcaa (Jinja functions, HTML attributes) ────\n {\n scope: [\"support.function.jinja.mthds\", \"entity.other.attribute-name.html.mthds\"],\n settings: {\n foreground: \"#dcdcaa\",\n },\n },\n\n // ── Light Blue #9cdcfe (Jinja variables) ────────────────\n {\n scope: [\"variable.other.jinja.mthds\"],\n settings: {\n foreground: \"#9cdcfe\",\n },\n },\n\n // ── Standard foreground #d4d4d4 (punctuation) ───────────\n {\n scope: [\n \"punctuation.definition.table.mthds\",\n \"punctuation.definition.array.table.mthds\",\n \"punctuation.definition.array.mthds\",\n \"punctuation.definition.table.inline.mthds\",\n \"punctuation.separator.dot.mthds\",\n \"punctuation.separator.array.mthds\",\n \"punctuation.separator.table.inline.mthds\",\n \"punctuation.eq.mthds\",\n \"punctuation.definition.string.begin.mthds\",\n \"punctuation.definition.string.end.mthds\",\n ],\n settings: {\n foreground: \"#d4d4d4\",\n },\n },\n\n // ── Pink #FF79C6 (pipe ref arrow) ───────────────────────\n {\n scope: [\"keyword.operator.arrow.mthds\"],\n settings: {\n foreground: \"#FF79C6\",\n },\n },\n\n // ── Muted slate #7C7C9C (namespace/package address) ───\n {\n scope: [\"punctuation.separator.namespace.mthds\"],\n settings: {\n foreground: \"#7C7C9C\",\n },\n },\n\n // ── Red #FF5555 underline (invalid) ─────────────────────\n {\n scope: [\"invalid.illegal.escape.mthds\"],\n settings: {\n foreground: \"#FF5555\",\n fontStyle: \"underline\",\n },\n },\n ],\n};\n","export const MTHDS_THEMES = [\n \"pipelex-dark\",\n \"dark-plus\",\n \"monokai\",\n \"dracula\",\n \"one-dark-pro\",\n] as const;\n\nexport type MthdsThemeName = (typeof MTHDS_THEMES)[number];\n"],"mappings":";;;;;;AAAA;AAAA,EACE;AAAA,OAIK;AACP,SAAS,6BAA6B;AACtC,OAAO,cAAc;AACrB,OAAO,aAAa;AACpB,OAAO,aAAa;AACpB,OAAO,gBAAgB;;;ACVvB;AAAA,EACE,SAAW;AAAA,EACX,WAAa;AAAA,EACb,MAAQ;AAAA,EACR,8BAAgC;AAAA,IAC9B;AAAA,EACF;AAAA,EACA,UAAY;AAAA,IACV;AAAA,MACE,SAAW;AAAA,IACb;AAAA,IACA;AAAA,MACE,SAAW;AAAA,IACb;AAAA,IACA;AAAA,MACE,SAAW;AAAA,IACb;AAAA,IACA;AAAA,MACE,SAAW;AAAA,IACb;AAAA,IACA;AAAA,MACE,SAAW;AAAA,IACb;AAAA,EACF;AAAA,EACA,YAAc;AAAA,IACZ,SAAW;AAAA,MACT,UAAY;AAAA,QACV,KAAK;AAAA,UACH,MAAQ;AAAA,QACV;AAAA,QACA,KAAK;AAAA,UACH,MAAQ;AAAA,QACV;AAAA,MACF;AAAA,MACA,SAAW;AAAA,MACX,OAAS;AAAA,IACX;AAAA,IACA,kBAAoB;AAAA,MAClB,UAAY;AAAA,QACV,KAAK;AAAA,UACH,MAAQ;AAAA,QACV;AAAA,QACA,KAAK;AAA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A,IAGA;AAAA,MACE,OAAO,CAAC,8BAA8B;AAAA,MACtC,UAAU;AAAA,QACR,YAAY;AAAA,MACd;AAAA,IACF;AAAA;AAAA,IAGA;AAAA,MACE,OAAO,CAAC,uCAAuC;AAAA,MAC/C,UAAU;AAAA,QACR,YAAY;AAAA,MACd;AAAA,IACF;AAAA;AAAA,IAGA;AAAA,MACE,OAAO,CAAC,8BAA8B;AAAA,MACtC,UAAU;AAAA,QACR,YAAY;AAAA,QACZ,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF;;;AC5OO,IAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;AHSA,IAAM,YAAY,iCACb,2BADa;AAAA,EAEhB,MAAM;AACR;AAEA,IAAI,qBAAsD;AAE1D,SAAS,iBAA2C;AAClD,MAAI,CAAC,oBAAoB;AACvB,yBAAqB,sBAAsB;AAAA,MACzC,QAAQ,sBAAsB,OAAO,wCAAwC,CAAC;AAAA,MAC9E,QAAQ,CAAC,kBAAkB,UAAU,SAAS,SAAS,UAAU;AAAA,MACjE,OAAO,CAAC,SAAS;AAAA,IACnB,CAAC,EAAE,MAAM,CAAC,QAAQ;AAChB,2BAAqB;AACrB,YAAM;AAAA,IACR,CAAC;AAAA,EACH;AACA,SAAO;AACT;AAEA,eAAsB,eACpB,MACA,QAAwB,gBACP;AACjB,QAAM,cAAc,MAAM,eAAe;AACzC,SAAO,YAAY,WAAW,MAAM;AAAA,IAClC,MAAM;AAAA,IACN;AAAA,EACF,CAAC;AACH;AAEO,SAAS,qBAAuC;AACrD,SAAO,CAAC,GAAG,YAAY;AACzB;AAEO,SAAS,kBAAwC;AACtD,SAAO;AACT;AAEO,SAAS,gBAAsC;AACpD,SAAO;AACT;","names":[]}
@@ -0,0 +1,366 @@
1
+ type PipeOperatorType = "PipeLLM" | "PipeExtract" | "PipeCompose" | "PipeImgGen" | "PipeSearch" | "PipeFunc";
2
+ type PipeControllerType = "PipeSequence" | "PipeParallel" | "PipeCondition" | "PipeBatch";
3
+ type PipeType = PipeOperatorType | PipeControllerType;
4
+ type PipeStatus = "succeeded" | "failed" | "running" | "scheduled" | "skipped";
5
+ declare const NODE_TYPE_PIPE_CARD: "pipeCard";
6
+ declare const NODE_TYPE_STUFF: "default";
7
+ declare const NODE_TYPE_CONTROLLER: "controllerGroup";
8
+ declare const STUFF_ID_PREFIX = "stuff_";
9
+ declare function stuffNodeId(digest: string): string;
10
+ declare function isStuffNodeId(id: string): boolean;
11
+ declare function stuffDigestFromId(id: string): string;
12
+ interface GraphSpecNodeIoItem {
13
+ name?: string;
14
+ digest?: string;
15
+ concept?: string;
16
+ content_type?: string;
17
+ preview?: string;
18
+ size?: number;
19
+ data?: unknown;
20
+ data_text?: string;
21
+ data_html?: string;
22
+ extra?: Record<string, unknown>;
23
+ }
24
+ interface GraphSpecNodeIo {
25
+ inputs?: GraphSpecNodeIoItem[];
26
+ outputs?: GraphSpecNodeIoItem[];
27
+ }
28
+ type NodeKind = "pipe_call" | "controller" | "operator" | "input" | "output" | "artifact" | "error";
29
+ interface GraphSpecNodeTiming {
30
+ started_at: string;
31
+ ended_at: string;
32
+ duration: number;
33
+ }
34
+ interface GraphSpecNodeError {
35
+ error_type: string;
36
+ message: string;
37
+ stack?: string;
38
+ }
39
+ interface GraphSpecNode {
40
+ id: string;
41
+ kind?: NodeKind;
42
+ pipe_code?: string;
43
+ pipe_type?: PipeType;
44
+ description?: string;
45
+ status?: PipeStatus;
46
+ timing?: GraphSpecNodeTiming;
47
+ io?: GraphSpecNodeIo;
48
+ error?: GraphSpecNodeError;
49
+ tags?: Record<string, string>;
50
+ metrics?: Record<string, number>;
51
+ execution_data?: Record<string, unknown>;
52
+ }
53
+ type GraphSpecEdgeKind = "contains" | "data" | "control" | "selected_outcome" | "batch_item" | "batch_aggregate" | "parallel_combine";
54
+ interface GraphSpecEdge {
55
+ id?: string;
56
+ source: string;
57
+ target: string;
58
+ kind: GraphSpecEdgeKind;
59
+ label?: string;
60
+ source_stuff_digest?: string;
61
+ target_stuff_digest?: string;
62
+ meta?: Record<string, unknown>;
63
+ }
64
+ interface ConceptInfo {
65
+ code: string;
66
+ domain_code: string;
67
+ description: string;
68
+ structure_class_name: string;
69
+ refines: string | null;
70
+ json_schema?: Record<string, unknown>;
71
+ }
72
+ interface StuffSpecInfo {
73
+ concept: ConceptInfo;
74
+ multiplicity: number | boolean | null;
75
+ }
76
+ interface TemplateBlueprint {
77
+ template: string;
78
+ templating_style: string | null;
79
+ category: string;
80
+ extra_context: Record<string, unknown> | null;
81
+ }
82
+ interface SubPipeSpec {
83
+ pipe_code: string;
84
+ output_name: string | null;
85
+ output_multiplicity: string | number | boolean | null;
86
+ batch_params: {
87
+ input_list_stuff_name: string;
88
+ input_item_stuff_name: string;
89
+ } | null;
90
+ }
91
+ interface PipeBlueprintBase {
92
+ type: PipeType;
93
+ pipe_category: "PipeOperator" | "PipeController";
94
+ code: string;
95
+ domain_code: string;
96
+ description: string;
97
+ inputs: Record<string, StuffSpecInfo>;
98
+ output: StuffSpecInfo;
99
+ }
100
+ interface PipeLLMBlueprint extends PipeBlueprintBase {
101
+ type: "PipeLLM";
102
+ llm_prompt_spec: {
103
+ templating_style: string | null;
104
+ system_prompt_blueprint: TemplateBlueprint | null;
105
+ prompt_blueprint: TemplateBlueprint | null;
106
+ user_image_references: unknown[] | null;
107
+ user_document_references: unknown[] | null;
108
+ system_image_references: unknown[] | null;
109
+ system_document_references: unknown[] | null;
110
+ };
111
+ llm_choices: {
112
+ for_text: string | null;
113
+ for_object: string | null;
114
+ } | null;
115
+ structuring_method: string | null;
116
+ output_multiplicity: string | number | null;
117
+ }
118
+ interface PipeImgGenBlueprint extends PipeBlueprintBase {
119
+ type: "PipeImgGen";
120
+ img_gen_prompt_blueprint: {
121
+ prompt_blueprint: TemplateBlueprint | null;
122
+ negative_prompt_blueprint: TemplateBlueprint | null;
123
+ image_references: unknown[] | null;
124
+ };
125
+ img_gen_choice: string | null;
126
+ aspect_ratio: string | null;
127
+ is_raw: boolean | null;
128
+ seed: number | string | null;
129
+ background: string | null;
130
+ output_format: string | null;
131
+ output_multiplicity: number;
132
+ }
133
+ /**
134
+ * A single field in a PipeCompose construct blueprint. Mirrors the
135
+ * `ConstructFieldBlueprint` Pydantic model in pipelex. Exactly one of
136
+ * `fixed_value` / `from_path` / `template` / `nested` is populated, matching
137
+ * the `method` discriminator.
138
+ *
139
+ * - `fixed` → `fixed_value` holds a literal (string, number, bool, list)
140
+ * - `from_var` → `from_path` holds a dotted path into working memory,
141
+ * optionally with a `list_to_dict_keyed_by` modifier
142
+ * - `template` → `template` holds a Jinja2 template string (per-field)
143
+ * - `nested` → `nested` holds a recursive construct blueprint for building
144
+ * nested structured content
145
+ */
146
+ interface PipeComposeConstructField {
147
+ method: "from_var" | "fixed" | "template" | "nested";
148
+ fixed_value?: unknown;
149
+ from_path?: string | null;
150
+ template?: string | null;
151
+ nested?: PipeComposeConstructBlueprint | null;
152
+ list_to_dict_keyed_by?: string | null;
153
+ }
154
+ /**
155
+ * A PipeCompose construct blueprint, parsed from `[pipe.X.construct]` in MTHDS.
156
+ * Mirrors the `ConstructBlueprint` Pydantic model in pipelex.
157
+ */
158
+ interface PipeComposeConstructBlueprint {
159
+ fields: Record<string, PipeComposeConstructField>;
160
+ }
161
+ interface PipeComposeBlueprint extends PipeBlueprintBase {
162
+ type: "PipeCompose";
163
+ /** Legacy monolithic template. Null when construct_blueprint is used instead. */
164
+ template: string | null;
165
+ templating_style: string | null;
166
+ category: string;
167
+ extra_context: Record<string, unknown> | null;
168
+ /** Field-level construct form (e.g. `[pipe.X.construct]` in MTHDS). */
169
+ construct_blueprint: PipeComposeConstructBlueprint | null;
170
+ }
171
+ interface PipeExtractBlueprint extends PipeBlueprintBase {
172
+ type: "PipeExtract";
173
+ extract_choice: string | null;
174
+ should_caption_images: boolean;
175
+ max_page_images: number | null;
176
+ should_include_page_views: boolean;
177
+ page_views_dpi: number | null;
178
+ render_js: boolean | null;
179
+ include_raw_html: boolean | null;
180
+ image_stuff_name: string | null;
181
+ document_stuff_name: string;
182
+ }
183
+ interface PipeSearchBlueprint extends PipeBlueprintBase {
184
+ type: "PipeSearch";
185
+ search_choice: string | null;
186
+ prompt_blueprint: TemplateBlueprint;
187
+ include_images_override: boolean | null;
188
+ max_results_override: number | null;
189
+ from_date: string | null;
190
+ to_date: string | null;
191
+ include_domains: string[] | null;
192
+ exclude_domains: string[] | null;
193
+ is_structured_output: boolean;
194
+ }
195
+ interface PipeFuncBlueprint extends PipeBlueprintBase {
196
+ type: "PipeFunc";
197
+ }
198
+ interface PipeSequenceBlueprint extends PipeBlueprintBase {
199
+ type: "PipeSequence";
200
+ sequential_sub_pipes: SubPipeSpec[];
201
+ }
202
+ interface PipeParallelBlueprint extends PipeBlueprintBase {
203
+ type: "PipeParallel";
204
+ parallel_sub_pipes: SubPipeSpec[];
205
+ add_each_output: boolean;
206
+ combined_output: string | null;
207
+ }
208
+ interface PipeConditionBlueprint extends PipeBlueprintBase {
209
+ type: "PipeCondition";
210
+ expression: string;
211
+ outcome_map: Record<string, string>;
212
+ default_outcome: string;
213
+ add_alias_from_expression_to: string | null;
214
+ }
215
+ interface PipeBatchBlueprint extends PipeBlueprintBase {
216
+ type: "PipeBatch";
217
+ branch_pipe_code: string;
218
+ batch_params: {
219
+ input_list_stuff_name: string;
220
+ input_item_stuff_name: string;
221
+ };
222
+ }
223
+ type PipeBlueprintUnion = PipeLLMBlueprint | PipeImgGenBlueprint | PipeComposeBlueprint | PipeExtractBlueprint | PipeSearchBlueprint | PipeFuncBlueprint | PipeSequenceBlueprint | PipeParallelBlueprint | PipeConditionBlueprint | PipeBatchBlueprint;
224
+ interface GraphSpec {
225
+ graph_id?: string;
226
+ created_at?: string;
227
+ pipeline_ref?: {
228
+ domain?: string;
229
+ main_pipe?: string;
230
+ entrypoint?: string;
231
+ };
232
+ nodes: GraphSpecNode[];
233
+ edges: GraphSpecEdge[];
234
+ meta?: Record<string, unknown>;
235
+ pipe_registry?: Record<string, PipeBlueprintUnion>;
236
+ concept_registry?: Record<string, ConceptInfo>;
237
+ }
238
+ interface DataflowAnalysis {
239
+ readonly stuffRegistry: Readonly<Record<string, {
240
+ name?: string;
241
+ concept?: string;
242
+ contentType?: string;
243
+ }>>;
244
+ readonly stuffProducers: Readonly<Record<string, string>>;
245
+ readonly stuffConsumers: Readonly<Record<string, readonly string[]>>;
246
+ readonly controllerNodeIds: ReadonlySet<string>;
247
+ readonly childNodeIds: ReadonlySet<string>;
248
+ readonly containmentTree: Readonly<Record<string, readonly string[]>>;
249
+ }
250
+ declare const GRAPH_DIRECTION: {
251
+ readonly TB: "TB";
252
+ readonly BT: "BT";
253
+ readonly LR: "LR";
254
+ readonly RL: "RL";
255
+ };
256
+ type GraphDirection = (typeof GRAPH_DIRECTION)[keyof typeof GRAPH_DIRECTION];
257
+ declare const EDGE_TYPE: {
258
+ /** Bezier curve — ReactFlow v12 renamed this type from "bezier" to "default". */
259
+ readonly DEFAULT: "default";
260
+ readonly STEP: "step";
261
+ readonly STRAIGHT: "straight";
262
+ readonly SMOOTH_STEP: "smoothstep";
263
+ };
264
+ type EdgeType = (typeof EDGE_TYPE)[keyof typeof EDGE_TYPE];
265
+ interface GraphConfig {
266
+ direction?: GraphDirection;
267
+ showControllers?: boolean;
268
+ nodesep?: number;
269
+ ranksep?: number;
270
+ edgeType?: EdgeType;
271
+ initialZoom?: number | null;
272
+ panToTop?: boolean;
273
+ paletteColors?: Record<string, string>;
274
+ }
275
+ type LabelDescriptor = {
276
+ kind: "pipe";
277
+ label: string;
278
+ isFailed: boolean;
279
+ } | {
280
+ kind: "stuff";
281
+ label: string;
282
+ concept: string;
283
+ };
284
+ interface PipeCardPayload {
285
+ pipeCode: string;
286
+ pipeType: PipeOperatorType;
287
+ description?: string;
288
+ status: PipeStatus;
289
+ inputs: {
290
+ name: string;
291
+ concept: string;
292
+ }[];
293
+ outputs: {
294
+ name: string;
295
+ concept: string;
296
+ }[];
297
+ /** Layout direction — injected by the layout engine */
298
+ direction?: "LR" | "TB";
299
+ }
300
+ type StuffRole = "input" | "output";
301
+ interface GraphNodeData extends Record<string, unknown> {
302
+ labelDescriptor?: LabelDescriptor;
303
+ label?: unknown;
304
+ nodeData?: GraphSpecNode;
305
+ isPipe: boolean;
306
+ isStuff: boolean;
307
+ isController?: boolean;
308
+ labelText: string;
309
+ pipeCode?: string;
310
+ pipeType?: PipeType;
311
+ pipeCardData?: PipeCardPayload;
312
+ /** For stuff nodes: "input" (no producer), "output" (no consumer), or undefined (intermediate). */
313
+ stuffRole?: StuffRole;
314
+ /** For stuff nodes: the digest used to build the node ID. */
315
+ stuffDigest?: string;
316
+ }
317
+ interface GraphNode {
318
+ id: string;
319
+ type: string;
320
+ data: GraphNodeData;
321
+ position: {
322
+ x: number;
323
+ y: number;
324
+ };
325
+ style?: Record<string, string | number>;
326
+ sourcePosition?: "top" | "bottom" | "left" | "right";
327
+ targetPosition?: "top" | "bottom" | "left" | "right";
328
+ parentId?: string;
329
+ extent?: "parent";
330
+ selected?: boolean;
331
+ }
332
+ interface GraphEdge {
333
+ id: string;
334
+ source: string;
335
+ target: string;
336
+ type: string;
337
+ animated?: boolean;
338
+ label?: string;
339
+ labelStyle?: Record<string, string | number>;
340
+ labelBgStyle?: Record<string, string | number>;
341
+ labelBgPadding?: [number, number];
342
+ labelBgBorderRadius?: number;
343
+ style?: Record<string, string | number>;
344
+ markerEnd?: {
345
+ type: string;
346
+ color: string;
347
+ };
348
+ _batchEdge?: boolean;
349
+ _crossGroup?: boolean;
350
+ }
351
+ interface GraphData {
352
+ nodes: GraphNode[];
353
+ edges: GraphEdge[];
354
+ }
355
+ interface LayoutConfig {
356
+ nodesep?: number;
357
+ ranksep?: number;
358
+ }
359
+ declare const CONTROLLER_PADDING_X = 40;
360
+ declare const CONTROLLER_PADDING_TOP = 48;
361
+ declare const CONTROLLER_PADDING_BOTTOM = 20;
362
+ declare const ARROW_CLOSED_MARKER = "arrowclosed";
363
+ declare function nodeWidth(n: GraphNode): number;
364
+ declare function nodeHeight(n: GraphNode): number;
365
+
366
+ export { isStuffNodeId as $, ARROW_CLOSED_MARKER as A, type PipeBlueprintBase as B, type ConceptInfo as C, type DataflowAnalysis as D, EDGE_TYPE as E, type PipeCardPayload as F, type GraphNodeData as G, type PipeComposeBlueprint as H, type PipeComposeConstructBlueprint as I, type PipeComposeConstructField as J, type PipeConditionBlueprint as K, type LabelDescriptor as L, type PipeExtractBlueprint as M, NODE_TYPE_CONTROLLER as N, type PipeFuncBlueprint as O, type PipeStatus as P, type PipeImgGenBlueprint as Q, type PipeLLMBlueprint as R, type PipeParallelBlueprint as S, type PipeSearchBlueprint as T, type PipeSequenceBlueprint as U, type PipeType as V, STUFF_ID_PREFIX as W, type StuffRole as X, type StuffSpecInfo as Y, type SubPipeSpec as Z, type TemplateBlueprint as _, type GraphEdge as a, nodeHeight as a0, nodeWidth as a1, stuffDigestFromId as a2, stuffNodeId as a3, type GraphNode as b, type GraphSpec as c, type GraphConfig as d, type GraphDirection as e, type PipeControllerType as f, type PipeOperatorType as g, type GraphSpecNode as h, type GraphSpecNodeIoItem as i, type PipeBlueprintUnion as j, type GraphData as k, type LayoutConfig as l, CONTROLLER_PADDING_BOTTOM as m, CONTROLLER_PADDING_TOP as n, CONTROLLER_PADDING_X as o, type EdgeType as p, GRAPH_DIRECTION as q, type GraphSpecEdge as r, type GraphSpecEdgeKind as s, type GraphSpecNodeError as t, type GraphSpecNodeIo as u, type GraphSpecNodeTiming as v, NODE_TYPE_PIPE_CARD as w, NODE_TYPE_STUFF as x, type NodeKind as y, type PipeBatchBlueprint as z };
package/package.json ADDED
@@ -0,0 +1,109 @@
1
+ {
2
+ "name": "@pipelex/mthds-ui",
3
+ "version": "0.5.0",
4
+ "description": "Shared graph rendering logic for MTHDS method visualization",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Pipelex/mthds-ui.git"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "type": "module",
14
+ "sideEffects": [
15
+ "**/*.css"
16
+ ],
17
+ "engines": {
18
+ "node": ">=18"
19
+ },
20
+ "main": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "types": "./dist/index.d.ts"
26
+ },
27
+ "./graph": {
28
+ "import": "./dist/graph/index.js",
29
+ "types": "./dist/graph/index.d.ts"
30
+ },
31
+ "./graph/react": {
32
+ "import": "./dist/graph/react/index.js",
33
+ "types": "./dist/graph/react/index.d.ts"
34
+ },
35
+ "./graph/react/graph-core.css": "./dist/graph/react/graph-core.css",
36
+ "./graph/react/detail/DetailPanel.css": "./dist/graph/react/detail/DetailPanel.css",
37
+ "./graph/react/stuff/StuffViewer.css": "./dist/graph/react/stuff/StuffViewer.css",
38
+ "./graph/react/viewer/GraphToolbar.css": "./dist/graph/react/viewer/GraphToolbar.css",
39
+ "./shiki": {
40
+ "import": "./dist/shiki/index.js",
41
+ "types": "./dist/shiki/index.d.ts"
42
+ }
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "scripts": {
48
+ "prepare": "tsup",
49
+ "build": "tsup",
50
+ "build:standalone": "node scripts/build-standalone.mjs",
51
+ "lint": "eslint src/",
52
+ "format": "prettier --write \"src/**/*.{ts,tsx}\"",
53
+ "format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
54
+ "typecheck": "tsc --noEmit",
55
+ "test": "vitest run",
56
+ "test:coverage": "vitest run --coverage",
57
+ "test:watch": "vitest",
58
+ "check": "npm run lint && npm run format:check && npm run typecheck && npm run test",
59
+ "storybook": "storybook dev -p 6006",
60
+ "build-storybook": "storybook build"
61
+ },
62
+ "dependencies": {
63
+ "@xyflow/react": "^12",
64
+ "dompurify": "^3.3.3",
65
+ "elkjs": "^0.11.1"
66
+ },
67
+ "peerDependencies": {
68
+ "react": "^19",
69
+ "react-dom": "^19",
70
+ "shiki": "^3.22.0"
71
+ },
72
+ "peerDependenciesMeta": {
73
+ "shiki": {
74
+ "optional": true
75
+ },
76
+ "react": {
77
+ "optional": true
78
+ },
79
+ "react-dom": {
80
+ "optional": true
81
+ }
82
+ },
83
+ "devDependencies": {
84
+ "@chromatic-com/storybook": "^5.1.1",
85
+ "@eslint/js": "^9.39.4",
86
+ "@storybook/addon-a11y": "^10.3.3",
87
+ "@storybook/addon-docs": "^10.3.3",
88
+ "@storybook/addon-onboarding": "^10.3.3",
89
+ "@storybook/addon-vitest": "^10.3.3",
90
+ "@storybook/react-vite": "^10.3.3",
91
+ "@types/react": "^19",
92
+ "@types/react-dom": "^19.2.3",
93
+ "@vitest/browser-playwright": "^4.1.0",
94
+ "@vitest/coverage-v8": "^4.1.0",
95
+ "@xyflow/react": "^12",
96
+ "esbuild": "^0.28.0",
97
+ "eslint": "^9.39.4",
98
+ "eslint-plugin-storybook": "^10.3.3",
99
+ "playwright": "^1.58.2",
100
+ "prettier": "^3.8.1",
101
+ "react": "^19",
102
+ "shiki": "^3.22.0",
103
+ "storybook": "^10.3.3",
104
+ "tsup": "^8.5.0",
105
+ "typescript": "^5.4.5",
106
+ "typescript-eslint": "^8.35.1",
107
+ "vitest": "^4.1.0"
108
+ }
109
+ }