@waniwani/sdk 0.20.4 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{angular-html-EOIKHM3D.js → angular-html-PU3MXNBE.js} +2 -2
- package/dist/{angular-ts-DFS2FCNO.js → angular-ts-WMZKXXGP.js} +2 -2
- package/dist/{apl-FBR445XW.js → apl-YU3KF3Y6.js} +2 -2
- package/dist/{blade-OHP5YUT7.js → blade-YKL22AM4.js} +2 -2
- package/dist/chat/embed.js +62 -62
- package/dist/chat/embed.js.map +1 -1
- package/dist/chat/index.js +7 -7
- package/dist/chat/index.js.map +1 -1
- package/dist/{chunk-AI3BZXLG.js → chunk-C5BU72RY.js} +2 -2
- package/dist/{chunk-HMEGK7JX.js → chunk-IS746YRY.js} +2 -2
- package/dist/{chunk-HMEGK7JX.js.map → chunk-IS746YRY.js.map} +1 -1
- package/dist/{chunk-VNL3EXC2.js → chunk-ITMYIBN5.js} +2 -2
- package/dist/{chunk-F4UUXA3U.js → chunk-QIQG7C7A.js} +57 -57
- package/dist/chunk-QIQG7C7A.js.map +1 -0
- package/dist/{chunk-ED2SBPIQ.js → chunk-USNZZOYV.js} +2 -2
- package/dist/{chunk-M4CKEROZ.js → chunk-UVLNWQRP.js} +2 -2
- package/dist/{cobol-LJNKRWP5.js → cobol-YD3RINFS.js} +2 -2
- package/dist/{code-block-37QAKDTI-HV355RRX.js → code-block-37QAKDTI-FHGJZOOY.js} +2 -2
- package/dist/{crystal-ZDP3FIUI.js → crystal-AUUIRTAZ.js} +2 -2
- package/dist/{edge-CCLQ2CKA.js → edge-44UF6IIM.js} +2 -2
- package/dist/{elixir-F6DQGRKA.js → elixir-ZJ4WTHOY.js} +2 -2
- package/dist/{erb-KUYJX32Q.js → erb-ZF7YKJP7.js} +2 -2
- package/dist/{glimmer-js-RSUW6JYN.js → glimmer-js-TKADNZF5.js} +2 -2
- package/dist/{glimmer-js-RSUW6JYN.js.map → glimmer-js-TKADNZF5.js.map} +1 -1
- package/dist/{glimmer-ts-EZGWLX5T.js → glimmer-ts-WFYWDU2O.js} +2 -2
- package/dist/{glimmer-ts-EZGWLX5T.js.map → glimmer-ts-WFYWDU2O.js.map} +1 -1
- package/dist/{hack-3TGPQNR2.js → hack-HCRIHDCF.js} +2 -2
- package/dist/{handlebars-73IS6B2J.js → handlebars-7EKNR6OR.js} +2 -2
- package/dist/{handlebars-73IS6B2J.js.map → handlebars-7EKNR6OR.js.map} +1 -1
- package/dist/html-G4Q6FSTL.js +3 -0
- package/dist/{html-derivative-CMQ7BFDQ.js → html-derivative-2AGKXLI2.js} +2 -2
- package/dist/index.d.ts +5 -3
- package/dist/{jinja-WPD26JJ6.js → jinja-K2EDFFOP.js} +2 -2
- package/dist/kb/index.d.ts +5 -3
- package/dist/{liquid-7CFNUD3V.js → liquid-YEOV5OY7.js} +2 -2
- package/dist/mcp/index.d.ts +6 -3
- package/dist/mcp/index.js +6 -5
- package/dist/mcp/index.js.map +1 -1
- package/dist/{mdc-XWCHWP6B.js → mdc-I5IJFJ2O.js} +2 -2
- package/dist/mermaid-4DMBBIKO-YNUUOSE3.js +3 -0
- package/dist/{nim-U57UBFBS.js → nim-JXWLGPJS.js} +2 -2
- package/dist/{perl-IZHDGBO6.js → perl-HORNVRGS.js} +2 -2
- package/dist/php-JGPDZKQ3.js +3 -0
- package/dist/{pug-P7LS6DER.js → pug-3YFWZUJ6.js} +2 -2
- package/dist/{razor-4QOCK4UD.js → razor-7T4OK2LD.js} +2 -2
- package/dist/{rst-6KQSGP2V.js → rst-SR6APMGO.js} +2 -2
- package/dist/{ruby-OWE2HOOR.js → ruby-IYOQSPDU.js} +2 -2
- package/dist/{soy-VW3CKXWF.js → soy-WHPD3NJL.js} +2 -2
- package/dist/{templ-3XM7DLQ3.js → templ-VI6LYHRW.js} +2 -2
- package/dist/{templ-3XM7DLQ3.js.map → templ-VI6LYHRW.js.map} +1 -1
- package/dist/{ts-tags-XNK5N5RZ.js → ts-tags-MU4UAPH3.js} +2 -2
- package/dist/twig-OY2C64LG.js +3 -0
- package/dist/{twig-OEIJ72KK.js.map → twig-OY2C64LG.js.map} +1 -1
- package/dist/vue-M6XWA362.js +3 -0
- package/dist/{vue-FIH2DYBE.js.map → vue-M6XWA362.js.map} +1 -1
- package/package.json +3 -2
- package/dist/chunk-F4UUXA3U.js.map +0 -1
- package/dist/html-654LNGWF.js +0 -3
- package/dist/mermaid-4DMBBIKO-IGH2CKFF.js +0 -3
- package/dist/php-MNP62HWP.js +0 -3
- package/dist/twig-OEIJ72KK.js +0 -3
- package/dist/vue-FIH2DYBE.js +0 -3
- /package/dist/{angular-html-EOIKHM3D.js.map → angular-html-PU3MXNBE.js.map} +0 -0
- /package/dist/{angular-ts-DFS2FCNO.js.map → angular-ts-WMZKXXGP.js.map} +0 -0
- /package/dist/{apl-FBR445XW.js.map → apl-YU3KF3Y6.js.map} +0 -0
- /package/dist/{blade-OHP5YUT7.js.map → blade-YKL22AM4.js.map} +0 -0
- /package/dist/{chunk-AI3BZXLG.js.map → chunk-C5BU72RY.js.map} +0 -0
- /package/dist/{chunk-VNL3EXC2.js.map → chunk-ITMYIBN5.js.map} +0 -0
- /package/dist/{chunk-ED2SBPIQ.js.map → chunk-USNZZOYV.js.map} +0 -0
- /package/dist/{chunk-M4CKEROZ.js.map → chunk-UVLNWQRP.js.map} +0 -0
- /package/dist/{cobol-LJNKRWP5.js.map → cobol-YD3RINFS.js.map} +0 -0
- /package/dist/{code-block-37QAKDTI-HV355RRX.js.map → code-block-37QAKDTI-FHGJZOOY.js.map} +0 -0
- /package/dist/{crystal-ZDP3FIUI.js.map → crystal-AUUIRTAZ.js.map} +0 -0
- /package/dist/{edge-CCLQ2CKA.js.map → edge-44UF6IIM.js.map} +0 -0
- /package/dist/{elixir-F6DQGRKA.js.map → elixir-ZJ4WTHOY.js.map} +0 -0
- /package/dist/{erb-KUYJX32Q.js.map → erb-ZF7YKJP7.js.map} +0 -0
- /package/dist/{hack-3TGPQNR2.js.map → hack-HCRIHDCF.js.map} +0 -0
- /package/dist/{html-654LNGWF.js.map → html-G4Q6FSTL.js.map} +0 -0
- /package/dist/{html-derivative-CMQ7BFDQ.js.map → html-derivative-2AGKXLI2.js.map} +0 -0
- /package/dist/{jinja-WPD26JJ6.js.map → jinja-K2EDFFOP.js.map} +0 -0
- /package/dist/{liquid-7CFNUD3V.js.map → liquid-YEOV5OY7.js.map} +0 -0
- /package/dist/{mdc-XWCHWP6B.js.map → mdc-I5IJFJ2O.js.map} +0 -0
- /package/dist/{mermaid-4DMBBIKO-IGH2CKFF.js.map → mermaid-4DMBBIKO-YNUUOSE3.js.map} +0 -0
- /package/dist/{nim-U57UBFBS.js.map → nim-JXWLGPJS.js.map} +0 -0
- /package/dist/{perl-IZHDGBO6.js.map → perl-HORNVRGS.js.map} +0 -0
- /package/dist/{php-MNP62HWP.js.map → php-JGPDZKQ3.js.map} +0 -0
- /package/dist/{pug-P7LS6DER.js.map → pug-3YFWZUJ6.js.map} +0 -0
- /package/dist/{razor-4QOCK4UD.js.map → razor-7T4OK2LD.js.map} +0 -0
- /package/dist/{rst-6KQSGP2V.js.map → rst-SR6APMGO.js.map} +0 -0
- /package/dist/{ruby-OWE2HOOR.js.map → ruby-IYOQSPDU.js.map} +0 -0
- /package/dist/{soy-VW3CKXWF.js.map → soy-WHPD3NJL.js.map} +0 -0
- /package/dist/{ts-tags-XNK5N5RZ.js.map → ts-tags-MU4UAPH3.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../node_modules/@shikijs/langs/dist/handlebars.mjs"],"sourcesContent":["import html from './html.mjs'\nimport css from './css.mjs'\nimport javascript from './javascript.mjs'\nimport yaml from './yaml.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"Handlebars\\\",\\\"name\\\":\\\"handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#yfm\\\"},{\\\"include\\\":\\\"#extends\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"},{\\\"include\\\":\\\"#inline_script\\\"},{\\\"include\\\":\\\"#html_tags\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}],\\\"repository\\\":{\\\"block_comments\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\{\\\\\\\\{!--\\\",\\\"end\\\":\\\"--}}\\\",\\\"name\\\":\\\"comment.block.handlebars\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"@\\\\\\\\w*\\\",\\\"name\\\":\\\"keyword.annotation.handlebars\\\"},{\\\"include\\\":\\\"#comments\\\"}]},{\\\"begin\\\":\\\"<!--\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.html\\\"}},\\\"end\\\":\\\"-{2,3}\\\\\\\\s*>\\\",\\\"name\\\":\\\"comment.block.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"--\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]}]},\\\"block_helper\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{)(~?#)([\\\\\\\\--9>A-Z_a-z]+)\\\\\\\\s?(@?[\\\\\\\\--9A-Z_a-z]+)*\\\\\\\\s?(@?[\\\\\\\\--9A-Z_a-z]+)*\\\\\\\\s?(@?[\\\\\\\\--9A-Z_a-z]+)*\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"3\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"4\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"},\\\"5\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"6\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"},\\\"7\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"end\\\":\\\"(~?}})\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.block.start.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"},{\\\"include\\\":\\\"#handlebars_attribute\\\"}]},\\\"comments\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\{\\\\\\\\{!\\\",\\\"end\\\":\\\"}}\\\",\\\"name\\\":\\\"comment.block.handlebars\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"@\\\\\\\\w*\\\",\\\"name\\\":\\\"keyword.annotation.handlebars\\\"},{\\\"include\\\":\\\"#comments\\\"}]},{\\\"begin\\\":\\\"<!--\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.html\\\"}},\\\"end\\\":\\\"-{2,3}\\\\\\\\s*>\\\",\\\"name\\\":\\\"comment.block.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"--\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]}]},\\\"else_token\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{)(~?else)(@?\\\\\\\\s(if)\\\\\\\\s([()\\\\\\\\--9A-Z_a-z\\\\\\\\s]+))?\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"3\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"4\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"(~?}}}*)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.inline.else.handlebars\\\"},\\\"end_block\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{)(~?/)([\\\\\\\\--9A-Z_a-z]+)\\\\\\\\s*\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"3\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"}},\\\"end\\\":\\\"(~?}})\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.block.end.handlebars\\\",\\\"patterns\\\":[]},\\\"entities\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.entity.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.definition.entity.html\\\"}},\\\"match\\\":\\\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\\\\\h+)(;)\\\",\\\"name\\\":\\\"constant.character.entity.html\\\"},{\\\"match\\\":\\\"&\\\",\\\"name\\\":\\\"invalid.illegal.bad-ampersand.html\\\"}]},\\\"escaped-double-quote\\\":{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\\\\\\\\"\\\",\\\"name\\\":\\\"constant.character.escape.js\\\"},\\\"escaped-single-quote\\\":{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\'\\\",\\\"name\\\":\\\"constant.character.escape.js\\\"},\\\"extends\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{!<)\\\\\\\\s([\\\\\\\\--9A-Z_a-z]+)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.function.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.class.handlebars\\\"}},\\\"end\\\":\\\"(}})\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.function.handlebars\\\"}},\\\"name\\\":\\\"meta.preprocessor.handlebars\\\"}]},\\\"handlebars_attribute\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#handlebars_attribute_name\\\"},{\\\"include\\\":\\\"#handlebars_attribute_value\\\"}]},\\\"handlebars_attribute_name\\\":{\\\"begin\\\":\\\"\\\\\\\\b([-.0-9A-Z_a-z]+)\\\\\\\\b=\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"(?=[\\\\\\\"']?)\\\",\\\"name\\\":\\\"entity.other.attribute-name.handlebars\\\"},\\\"handlebars_attribute_value\\\":{\\\"begin\\\":\\\"([\\\\\\\\--9A-Z_a-z]+)\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"([\\\\\\\"']?)\\\",\\\"name\\\":\\\"entity.other.attribute-value.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"}]},\\\"html_tags\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"(<)([-0-:A-Za-z]+)(?=[^>]*></\\\\\\\\2>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.html\\\"}},\\\"end\\\":\\\"(>(<)/)(\\\\\\\\2)(>)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"meta.scope.between-tag-pair.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.name.tag.html\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"name\\\":\\\"meta.tag.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(<\\\\\\\\?)(xml)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.xml.html\\\"}},\\\"end\\\":\\\"(\\\\\\\\?>)\\\",\\\"name\\\":\\\"meta.tag.preprocessor.xml.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag_generic_attribute\\\"},{\\\"include\\\":\\\"#string\\\"}]},{\\\"begin\\\":\\\"<!--\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.html\\\"}},\\\"end\\\":\\\"--\\\\\\\\s*>\\\",\\\"name\\\":\\\"comment.block.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"--\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]},{\\\"begin\\\":\\\"<!\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"end\\\":\\\">\\\",\\\"name\\\":\\\"meta.tag.sgml.html\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"(DOCTYPE|doctype)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.name.tag.doctype.html\\\"}},\\\"end\\\":\\\"(?=>)\\\",\\\"name\\\":\\\"meta.tag.sgml.doctype.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\"[^\\\\\\\">]*\\\\\\\"\\\",\\\"name\\\":\\\"string.quoted.double.doctype.identifiers-and-DTDs.html\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\[CDATA\\\\\\\\[\\\",\\\"end\\\":\\\"]](?=>)\\\",\\\"name\\\":\\\"constant.other.inline-data.html\\\"},{\\\"match\\\":\\\"(\\\\\\\\s*)(?!--|>)\\\\\\\\S(\\\\\\\\s*)\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]},{\\\"begin\\\":\\\"(?:^\\\\\\\\s+)?(<)((?i:style))\\\\\\\\b(?![^>]*/>)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.style.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"end\\\":\\\"(</)((?i:style))(>)(?:\\\\\\\\s*\\\\\\\\n)?\\\",\\\"name\\\":\\\"source.css.embedded.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"},{\\\"begin\\\":\\\"(>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"end\\\":\\\"(?=</(?i:style))\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.css\\\"}]}]},{\\\"begin\\\":\\\"(?:^\\\\\\\\s+)?(<)((?i:script))\\\\\\\\b(?![^>]*/>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"}},\\\"end\\\":\\\"(?<=</(script|SCRIPT))(>)(?:\\\\\\\\s*\\\\\\\\n)?\\\",\\\"endCaptures\\\":{\\\"2\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"name\\\":\\\"source.js.embedded.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"},{\\\"begin\\\":\\\"(?<!</(?:script|SCRIPT))(>)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"}},\\\"end\\\":\\\"(</)((?i:script))\\\",\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.comment.js\\\"}},\\\"match\\\":\\\"(//).*?((?=</script)|$\\\\\\\\n?)\\\",\\\"name\\\":\\\"comment.line.double-slash.js\\\"},{\\\"begin\\\":\\\"/\\\\\\\\*\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.js\\\"}},\\\"end\\\":\\\"\\\\\\\\*/|(?=</script)\\\",\\\"name\\\":\\\"comment.block.js\\\"},{\\\"include\\\":\\\"source.js\\\"}]}]},{\\\"begin\\\":\\\"(</?)((?i:body|head|html))\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.structure.any.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.structure.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)((?i:address|blockquote|dd|div|header|section|footer|aside|nav|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.block.any.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.block.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.inline.any.html\\\"}},\\\"end\\\":\\\"((?: ?/)?>)\\\",\\\"name\\\":\\\"meta.tag.inline.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)([-0-:A-Za-z]+)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.other.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.other.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)([-0-:A-Za-{}]+)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.tokenised.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.tokenised.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"include\\\":\\\"#entities\\\"},{\\\"match\\\":\\\"<>\\\",\\\"name\\\":\\\"invalid.illegal.incomplete.html\\\"},{\\\"match\\\":\\\"<\\\",\\\"name\\\":\\\"invalid.illegal.bad-angle-bracket.html\\\"}]},\\\"inline_script\\\":{\\\"begin\\\":\\\"(?:^\\\\\\\\s+)?(<)((?i:script))\\\\\\\\b.*(type)=([\\\\\\\"'](?:text/x-handlebars-template|text/x-handlebars|text/template|x-tmpl-handlebars)[\\\\\\\"'])(?![^>]*/>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.other.attribute-name.html\\\"},\\\"4\\\":{\\\"name\\\":\\\"string.quoted.double.html\\\"}},\\\"end\\\":\\\"(?<=</(script|SCRIPT))(>)(?:\\\\\\\\s*\\\\\\\\n)?\\\",\\\"endCaptures\\\":{\\\"2\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"name\\\":\\\"source.handlebars.embedded.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"},{\\\"begin\\\":\\\"(?<!</(?:script|SCRIPT))(>)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"}},\\\"end\\\":\\\"(</)((?i:script))\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"},{\\\"include\\\":\\\"#html_tags\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}]}]},\\\"partial_and_var\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{~?\\\\\\\\{*(>|!<)*)\\\\\\\\s*(@?[$\\\\\\\\--9A-Z_a-z]+)*\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"3\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"(~?}}}*)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.inline.other.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"},{\\\"include\\\":\\\"#handlebars_attribute\\\"}]},\\\"string\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#string-single-quoted\\\"},{\\\"include\\\":\\\"#string-double-quoted\\\"}]},\\\"string-double-quoted\\\":{\\\"begin\\\":\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.html\\\"}},\\\"end\\\":\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.html\\\"}},\\\"name\\\":\\\"string.quoted.double.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#escaped-double-quote\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"}]},\\\"string-single-quoted\\\":{\\\"begin\\\":\\\"'\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.html\\\"}},\\\"end\\\":\\\"'\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.html\\\"}},\\\"name\\\":\\\"string.quoted.single.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#escaped-single-quote\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"}]},\\\"tag-stuff\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#tag_id_attribute\\\"},{\\\"include\\\":\\\"#tag_generic_attribute\\\"},{\\\"include\\\":\\\"#string\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"}]},\\\"tag_generic_attribute\\\":{\\\"begin\\\":\\\"\\\\\\\\b([-0-9A-Z_a-z]+)\\\\\\\\b\\\\\\\\s*(=)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.other.attribute-name.generic.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.key-value.html\\\"}},\\\"end\\\":\\\"(?<=[\\\\\\\"']?)\\\",\\\"name\\\":\\\"entity.other.attribute-name.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"}]},\\\"tag_id_attribute\\\":{\\\"begin\\\":\\\"\\\\\\\\b(id)\\\\\\\\b\\\\\\\\s*(=)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.other.attribute-name.id.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.key-value.html\\\"}},\\\"end\\\":\\\"(?<=[\\\\\\\"']?)\\\",\\\"name\\\":\\\"meta.attribute-with-value.id.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"}]},\\\"yfm\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"(?<!\\\\\\\\s)---\\\\\\\\n$\\\",\\\"end\\\":\\\"^---\\\\\\\\s\\\",\\\"name\\\":\\\"markup.raw.yaml.front-matter\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.yaml\\\"}]}]}},\\\"scopeName\\\":\\\"text.html.handlebars\\\",\\\"embeddedLangs\\\":[\\\"html\\\",\\\"css\\\",\\\"javascript\\\",\\\"yaml\\\"],\\\"aliases\\\":[\\\"hbs\\\"]}\"))\n\nexport default [\n...html,\n...css,\n...javascript,\n...yaml,\nlang\n]\n"],"mappings":";uLAKA,IAAMA,EAAO,OAAO,OAAO,KAAK,MAAM,mpXAAqma,CAAC,EAEroaC,EAAQ,CACf,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACHL,CACA","names":["lang","handlebars_default","html_default","css_default","javascript_default","yaml_default"]}
|
|
1
|
+
{"version":3,"sources":["../node_modules/@shikijs/langs/dist/handlebars.mjs"],"sourcesContent":["import html from './html.mjs'\nimport css from './css.mjs'\nimport javascript from './javascript.mjs'\nimport yaml from './yaml.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"Handlebars\\\",\\\"name\\\":\\\"handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#yfm\\\"},{\\\"include\\\":\\\"#extends\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"},{\\\"include\\\":\\\"#inline_script\\\"},{\\\"include\\\":\\\"#html_tags\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}],\\\"repository\\\":{\\\"block_comments\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\{\\\\\\\\{!--\\\",\\\"end\\\":\\\"--}}\\\",\\\"name\\\":\\\"comment.block.handlebars\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"@\\\\\\\\w*\\\",\\\"name\\\":\\\"keyword.annotation.handlebars\\\"},{\\\"include\\\":\\\"#comments\\\"}]},{\\\"begin\\\":\\\"<!--\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.html\\\"}},\\\"end\\\":\\\"-{2,3}\\\\\\\\s*>\\\",\\\"name\\\":\\\"comment.block.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"--\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]}]},\\\"block_helper\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{)(~?#)([\\\\\\\\--9>A-Z_a-z]+)\\\\\\\\s?(@?[\\\\\\\\--9A-Z_a-z]+)*\\\\\\\\s?(@?[\\\\\\\\--9A-Z_a-z]+)*\\\\\\\\s?(@?[\\\\\\\\--9A-Z_a-z]+)*\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"3\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"4\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"},\\\"5\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"6\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"},\\\"7\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"end\\\":\\\"(~?}})\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.block.start.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"},{\\\"include\\\":\\\"#handlebars_attribute\\\"}]},\\\"comments\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\{\\\\\\\\{!\\\",\\\"end\\\":\\\"}}\\\",\\\"name\\\":\\\"comment.block.handlebars\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"@\\\\\\\\w*\\\",\\\"name\\\":\\\"keyword.annotation.handlebars\\\"},{\\\"include\\\":\\\"#comments\\\"}]},{\\\"begin\\\":\\\"<!--\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.html\\\"}},\\\"end\\\":\\\"-{2,3}\\\\\\\\s*>\\\",\\\"name\\\":\\\"comment.block.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"--\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]}]},\\\"else_token\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{)(~?else)(@?\\\\\\\\s(if)\\\\\\\\s([()\\\\\\\\--9A-Z_a-z\\\\\\\\s]+))?\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"3\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"4\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"(~?}}}*)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.inline.else.handlebars\\\"},\\\"end_block\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{)(~?/)([\\\\\\\\--9A-Z_a-z]+)\\\\\\\\s*\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"},\\\"3\\\":{\\\"name\\\":\\\"support.constant.handlebars keyword.control\\\"}},\\\"end\\\":\\\"(~?}})\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.block.end.handlebars\\\",\\\"patterns\\\":[]},\\\"entities\\\":{\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.entity.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.definition.entity.html\\\"}},\\\"match\\\":\\\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\\\\\h+)(;)\\\",\\\"name\\\":\\\"constant.character.entity.html\\\"},{\\\"match\\\":\\\"&\\\",\\\"name\\\":\\\"invalid.illegal.bad-ampersand.html\\\"}]},\\\"escaped-double-quote\\\":{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\\\\\\\\"\\\",\\\"name\\\":\\\"constant.character.escape.js\\\"},\\\"escaped-single-quote\\\":{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\'\\\",\\\"name\\\":\\\"constant.character.escape.js\\\"},\\\"extends\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{!<)\\\\\\\\s([\\\\\\\\--9A-Z_a-z]+)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.function.handlebars\\\"},\\\"2\\\":{\\\"name\\\":\\\"support.class.handlebars\\\"}},\\\"end\\\":\\\"(}})\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.function.handlebars\\\"}},\\\"name\\\":\\\"meta.preprocessor.handlebars\\\"}]},\\\"handlebars_attribute\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#handlebars_attribute_name\\\"},{\\\"include\\\":\\\"#handlebars_attribute_value\\\"}]},\\\"handlebars_attribute_name\\\":{\\\"begin\\\":\\\"\\\\\\\\b([-.0-9A-Z_a-z]+)\\\\\\\\b=\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"(?=[\\\\\\\"']?)\\\",\\\"name\\\":\\\"entity.other.attribute-name.handlebars\\\"},\\\"handlebars_attribute_value\\\":{\\\"begin\\\":\\\"([\\\\\\\\--9A-Z_a-z]+)\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"([\\\\\\\"']?)\\\",\\\"name\\\":\\\"entity.other.attribute-value.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"}]},\\\"html_tags\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"(<)([-0-:A-Za-z]+)(?=[^>]*></\\\\\\\\2>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.html\\\"}},\\\"end\\\":\\\"(>(<)/)(\\\\\\\\2)(>)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"meta.scope.between-tag-pair.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.name.tag.html\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"name\\\":\\\"meta.tag.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(<\\\\\\\\?)(xml)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.xml.html\\\"}},\\\"end\\\":\\\"(\\\\\\\\?>)\\\",\\\"name\\\":\\\"meta.tag.preprocessor.xml.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag_generic_attribute\\\"},{\\\"include\\\":\\\"#string\\\"}]},{\\\"begin\\\":\\\"<!--\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.html\\\"}},\\\"end\\\":\\\"--\\\\\\\\s*>\\\",\\\"name\\\":\\\"comment.block.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"--\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]},{\\\"begin\\\":\\\"<!\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"end\\\":\\\">\\\",\\\"name\\\":\\\"meta.tag.sgml.html\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"(DOCTYPE|doctype)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.name.tag.doctype.html\\\"}},\\\"end\\\":\\\"(?=>)\\\",\\\"name\\\":\\\"meta.tag.sgml.doctype.html\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\"[^\\\\\\\">]*\\\\\\\"\\\",\\\"name\\\":\\\"string.quoted.double.doctype.identifiers-and-DTDs.html\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\[CDATA\\\\\\\\[\\\",\\\"end\\\":\\\"]](?=>)\\\",\\\"name\\\":\\\"constant.other.inline-data.html\\\"},{\\\"match\\\":\\\"(\\\\\\\\s*)(?!--|>)\\\\\\\\S(\\\\\\\\s*)\\\",\\\"name\\\":\\\"invalid.illegal.bad-comments-or-CDATA.html\\\"}]},{\\\"begin\\\":\\\"(?:^\\\\\\\\s+)?(<)((?i:style))\\\\\\\\b(?![^>]*/>)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.style.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"end\\\":\\\"(</)((?i:style))(>)(?:\\\\\\\\s*\\\\\\\\n)?\\\",\\\"name\\\":\\\"source.css.embedded.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"},{\\\"begin\\\":\\\"(>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"end\\\":\\\"(?=</(?i:style))\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.css\\\"}]}]},{\\\"begin\\\":\\\"(?:^\\\\\\\\s+)?(<)((?i:script))\\\\\\\\b(?![^>]*/>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"}},\\\"end\\\":\\\"(?<=</(script|SCRIPT))(>)(?:\\\\\\\\s*\\\\\\\\n)?\\\",\\\"endCaptures\\\":{\\\"2\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"name\\\":\\\"source.js.embedded.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"},{\\\"begin\\\":\\\"(?<!</(?:script|SCRIPT))(>)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"}},\\\"end\\\":\\\"(</)((?i:script))\\\",\\\"patterns\\\":[{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.comment.js\\\"}},\\\"match\\\":\\\"(//).*?((?=</script)|$\\\\\\\\n?)\\\",\\\"name\\\":\\\"comment.line.double-slash.js\\\"},{\\\"begin\\\":\\\"/\\\\\\\\*\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.js\\\"}},\\\"end\\\":\\\"\\\\\\\\*/|(?=</script)\\\",\\\"name\\\":\\\"comment.block.js\\\"},{\\\"include\\\":\\\"source.js\\\"}]}]},{\\\"begin\\\":\\\"(</?)((?i:body|head|html))\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.structure.any.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.structure.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)((?i:address|blockquote|dd|div|header|section|footer|aside|nav|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre))\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.block.any.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.block.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var))\\\\\\\\b\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.inline.any.html\\\"}},\\\"end\\\":\\\"((?: ?/)?>)\\\",\\\"name\\\":\\\"meta.tag.inline.any.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)([-0-:A-Za-z]+)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.other.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.other.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"begin\\\":\\\"(</?)([-0-:A-Za-{}]+)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.tokenised.html\\\"}},\\\"end\\\":\\\"(>)\\\",\\\"name\\\":\\\"meta.tag.tokenised.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"}]},{\\\"include\\\":\\\"#entities\\\"},{\\\"match\\\":\\\"<>\\\",\\\"name\\\":\\\"invalid.illegal.incomplete.html\\\"},{\\\"match\\\":\\\"<\\\",\\\"name\\\":\\\"invalid.illegal.bad-angle-bracket.html\\\"}]},\\\"inline_script\\\":{\\\"begin\\\":\\\"(?:^\\\\\\\\s+)?(<)((?i:script))\\\\\\\\b.*(type)=([\\\\\\\"'](?:text/x-handlebars-template|text/x-handlebars|text/template|x-tmpl-handlebars)[\\\\\\\"'])(?![^>]*/>)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.other.attribute-name.html\\\"},\\\"4\\\":{\\\"name\\\":\\\"string.quoted.double.html\\\"}},\\\"end\\\":\\\"(?<=</(script|SCRIPT))(>)(?:\\\\\\\\s*\\\\\\\\n)?\\\",\\\"endCaptures\\\":{\\\"2\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"}},\\\"name\\\":\\\"source.handlebars.embedded.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#tag-stuff\\\"},{\\\"begin\\\":\\\"(?<!</(?:script|SCRIPT))(>)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.tag.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.tag.script.html\\\"}},\\\"end\\\":\\\"(</)((?i:script))\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"},{\\\"include\\\":\\\"#html_tags\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}]}]},\\\"partial_and_var\\\":{\\\"begin\\\":\\\"(\\\\\\\\{\\\\\\\\{~?\\\\\\\\{*(>|!<)*)\\\\\\\\s*(@?[$\\\\\\\\--9A-Z_a-z]+)*\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"},\\\"3\\\":{\\\"name\\\":\\\"variable.parameter.handlebars\\\"}},\\\"end\\\":\\\"(~?}}}*)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"support.constant.handlebars\\\"}},\\\"name\\\":\\\"meta.function.inline.other.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"},{\\\"include\\\":\\\"#handlebars_attribute\\\"}]},\\\"string\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#string-single-quoted\\\"},{\\\"include\\\":\\\"#string-double-quoted\\\"}]},\\\"string-double-quoted\\\":{\\\"begin\\\":\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.html\\\"}},\\\"end\\\":\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.html\\\"}},\\\"name\\\":\\\"string.quoted.double.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#escaped-double-quote\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"}]},\\\"string-single-quoted\\\":{\\\"begin\\\":\\\"'\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.html\\\"}},\\\"end\\\":\\\"'\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.html\\\"}},\\\"name\\\":\\\"string.quoted.single.handlebars\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#escaped-single-quote\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"}]},\\\"tag-stuff\\\":{\\\"patterns\\\":[{\\\"include\\\":\\\"#tag_id_attribute\\\"},{\\\"include\\\":\\\"#tag_generic_attribute\\\"},{\\\"include\\\":\\\"#string\\\"},{\\\"include\\\":\\\"#block_comments\\\"},{\\\"include\\\":\\\"#comments\\\"},{\\\"include\\\":\\\"#block_helper\\\"},{\\\"include\\\":\\\"#end_block\\\"},{\\\"include\\\":\\\"#else_token\\\"},{\\\"include\\\":\\\"#partial_and_var\\\"}]},\\\"tag_generic_attribute\\\":{\\\"begin\\\":\\\"\\\\\\\\b([-0-9A-Z_a-z]+)\\\\\\\\b\\\\\\\\s*(=)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.other.attribute-name.generic.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.key-value.html\\\"}},\\\"end\\\":\\\"(?<=[\\\\\\\"']?)\\\",\\\"name\\\":\\\"entity.other.attribute-name.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"}]},\\\"tag_id_attribute\\\":{\\\"begin\\\":\\\"\\\\\\\\b(id)\\\\\\\\b\\\\\\\\s*(=)\\\",\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.other.attribute-name.id.html\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.key-value.html\\\"}},\\\"end\\\":\\\"(?<=[\\\\\\\"']?)\\\",\\\"name\\\":\\\"meta.attribute-with-value.id.html\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#string\\\"}]},\\\"yfm\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"(?<!\\\\\\\\s)---\\\\\\\\n$\\\",\\\"end\\\":\\\"^---\\\\\\\\s\\\",\\\"name\\\":\\\"markup.raw.yaml.front-matter\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"source.yaml\\\"}]}]}},\\\"scopeName\\\":\\\"text.html.handlebars\\\",\\\"embeddedLangs\\\":[\\\"html\\\",\\\"css\\\",\\\"javascript\\\",\\\"yaml\\\"],\\\"aliases\\\":[\\\"hbs\\\"]}\"))\n\nexport default [\n...html,\n...css,\n...javascript,\n...yaml,\nlang\n]\n"],"mappings":";uLAKA,IAAMA,EAAO,OAAO,OAAO,KAAK,MAAM,qpXAAqma,CAAC,EAEroaC,EAAQ,CACf,GAAGC,EACH,GAAGC,EACH,GAAGC,EACH,GAAGC,EACHL,CACA","names":["lang","handlebars_default","html_default","css_default","javascript_default","yaml_default"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=html-derivative-
|
|
2
|
+
import{a}from"./chunk-UVLNWQRP.js";import"./chunk-IS746YRY.js";import"./chunk-VME4UB43.js";import"./chunk-FWHINPYE.js";import"./chunk-V3ZDECK5.js";export{a as default};
|
|
3
|
+
//# sourceMappingURL=html-derivative-2AGKXLI2.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -128,10 +128,12 @@ interface KbSource {
|
|
|
128
128
|
/** KB client for server-side knowledge base operations */
|
|
129
129
|
interface KbClient {
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Push markdown files into the agent's knowledge base.
|
|
132
132
|
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
133
|
+
* The push replaces only the sources named in the payload and lands in the
|
|
134
|
+
* agent's draft. Nothing goes live until someone publishes the draft in the
|
|
135
|
+
* WaniWani app. A production key reads live knowledge; any other key reads
|
|
136
|
+
* the draft while one is open.
|
|
135
137
|
*/
|
|
136
138
|
ingest(files: KbIngestFile[]): Promise<KbIngestResult>;
|
|
137
139
|
/** Search the knowledge base for relevant chunks */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as e}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=jinja-
|
|
2
|
+
import{a as e}from"./chunk-IS746YRY.js";import"./chunk-VME4UB43.js";import"./chunk-FWHINPYE.js";import"./chunk-V3ZDECK5.js";var n=Object.freeze(JSON.parse(`{"displayName":"jinja-html","firstLineMatch":"^\\\\{% extends [\\"'][^\\"']+[\\"'] %}","foldingStartMarker":"(<(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\\\b.*?>|\\\\{%\\\\s*(block|filter|for|if|macro|raw))","foldingStopMarker":"(</(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\\\b.*?>|\\\\{%\\\\s*(end(?:block|filter|for|if|macro|raw))\\\\s*%})","name":"jinja-html","patterns":[{"include":"source.jinja"},{"include":"text.html.basic"}],"scopeName":"text.html.jinja","embeddedLangs":["html"]}`)),a=[...e,n];var t=Object.freeze(JSON.parse(`{"displayName":"Jinja","foldingStartMarker":"(\\\\{%\\\\s*(block|filter|for|if|macro|raw))","foldingStopMarker":"(\\\\{%\\\\s*(end(?:block|filter|for|if|macro|raw))\\\\s*%})","name":"jinja","patterns":[{"begin":"(\\\\{%)\\\\s*(raw)\\\\s*(%})","captures":{"1":{"name":"entity.other.jinja.delimiter.tag"},"2":{"name":"keyword.control.jinja"},"3":{"name":"entity.other.jinja.delimiter.tag"}},"end":"(\\\\{%)\\\\s*(endraw)\\\\s*(%})","name":"comment.block.jinja.raw"},{"include":"#comments"},{"begin":"\\\\{\\\\{-?","captures":[{"name":"variable.entity.other.jinja.delimiter"}],"end":"-?}}","name":"variable.meta.scope.jinja","patterns":[{"include":"#expression"}]},{"begin":"\\\\{%-?","captures":[{"name":"entity.other.jinja.delimiter.tag"}],"end":"-?%}","name":"meta.scope.jinja.tag","patterns":[{"include":"#expression"}]}],"repository":{"comments":{"begin":"\\\\{#-?","captures":[{"name":"entity.other.jinja.delimiter.comment"}],"end":"-?#}","name":"comment.block.jinja","patterns":[{"include":"#comments"}]},"escaped_char":{"match":"\\\\\\\\x[0-9A-F]{2}","name":"constant.character.escape.hex.jinja"},"escaped_unicode_char":{"captures":{"1":{"name":"constant.character.escape.unicode.16-bit-hex.jinja"},"2":{"name":"constant.character.escape.unicode.32-bit-hex.jinja"},"3":{"name":"constant.character.escape.unicode.name.jinja"}},"match":"(\\\\\\\\U\\\\h{8})|(\\\\\\\\u\\\\h{4})|(\\\\\\\\N\\\\{[ A-Za-z]+})"},"expression":{"patterns":[{"captures":{"1":{"name":"keyword.control.jinja"},"2":{"name":"variable.other.jinja.block"}},"match":"\\\\s*\\\\b(block)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.control.jinja"},"2":{"name":"variable.other.jinja.filter"}},"match":"\\\\s*\\\\b(filter)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.control.jinja"},"2":{"name":"variable.other.jinja.test"}},"match":"\\\\s*\\\\b(is)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b"},{"captures":{"1":{"name":"keyword.control.jinja"}},"match":"(?<=\\\\{%-?)\\\\s*\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?!\\\\s*[,=])"},{"match":"\\\\b(and|else|if|in|import|not|or|recursive|with(out)?\\\\s+context)\\\\b","name":"keyword.control.jinja"},{"match":"\\\\b(true|false|none)\\\\b","name":"constant.language.jinja"},{"match":"\\\\b(loop|super|self|varargs|kwargs)\\\\b","name":"variable.language.jinja"},{"match":"[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.other.jinja"},{"match":"([-+]|\\\\*\\\\*?|//|[%/])","name":"keyword.operator.arithmetic.jinja"},{"captures":{"1":{"name":"punctuation.other.jinja"},"2":{"name":"variable.other.jinja.filter"}},"match":"(\\\\|)([A-Z_a-z][0-9A-Z_a-z]*)"},{"captures":{"1":{"name":"punctuation.other.jinja"},"2":{"name":"variable.other.jinja.attribute"}},"match":"(\\\\.)([A-Z_a-z][0-9A-Z_a-z]*)"},{"begin":"\\\\[","captures":[{"name":"punctuation.other.jinja"}],"end":"]","patterns":[{"include":"#expression"}]},{"begin":"\\\\(","captures":[{"name":"punctuation.other.jinja"}],"end":"\\\\)","patterns":[{"include":"#expression"}]},{"begin":"\\\\{","captures":[{"name":"punctuation.other.jinja"}],"end":"}","patterns":[{"include":"#expression"}]},{"match":"([,.:|])","name":"punctuation.other.jinja"},{"match":"(==|<=|=>|[<>]|!=)","name":"keyword.operator.comparison.jinja"},{"match":"=","name":"keyword.operator.assignment.jinja"},{"begin":"\\"","beginCaptures":[{"name":"punctuation.definition.string.begin.jinja"}],"end":"\\"","endCaptures":[{"name":"punctuation.definition.string.end.jinja"}],"name":"string.quoted.double.jinja","patterns":[{"include":"#string"}]},{"begin":"'","beginCaptures":[{"name":"punctuation.definition.string.begin.jinja"}],"end":"'","endCaptures":[{"name":"punctuation.definition.string.end.jinja"}],"name":"string.quoted.single.jinja","patterns":[{"include":"#string"}]},{"begin":"@/","beginCaptures":[{"name":"punctuation.definition.regexp.begin.jinja"}],"end":"/","endCaptures":[{"name":"punctuation.definition.regexp.end.jinja"}],"name":"string.regexp.jinja","patterns":[{"include":"#simple_escapes"}]}]},"simple_escapes":{"captures":{"1":{"name":"constant.character.escape.newline.jinja"},"2":{"name":"constant.character.escape.backlash.jinja"},"3":{"name":"constant.character.escape.double-quote.jinja"},"4":{"name":"constant.character.escape.single-quote.jinja"},"5":{"name":"constant.character.escape.bell.jinja"},"6":{"name":"constant.character.escape.backspace.jinja"},"7":{"name":"constant.character.escape.formfeed.jinja"},"8":{"name":"constant.character.escape.linefeed.jinja"},"9":{"name":"constant.character.escape.return.jinja"},"10":{"name":"constant.character.escape.tab.jinja"},"11":{"name":"constant.character.escape.vertical-tab.jinja"}},"match":"(\\\\\\\\\\\\n)|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)"},"string":{"patterns":[{"include":"#simple_escapes"},{"include":"#escaped_char"},{"include":"#escaped_unicode_char"}]}},"scopeName":"source.jinja","embeddedLangs":["jinja-html"]}`)),s=[...a,t];export{s as default};
|
|
3
|
+
//# sourceMappingURL=jinja-K2EDFFOP.js.map
|
package/dist/kb/index.d.ts
CHANGED
|
@@ -42,10 +42,12 @@ interface KbSource {
|
|
|
42
42
|
/** KB client for server-side knowledge base operations */
|
|
43
43
|
interface KbClient {
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Push markdown files into the agent's knowledge base.
|
|
46
46
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
47
|
+
* The push replaces only the sources named in the payload and lands in the
|
|
48
|
+
* agent's draft. Nothing goes live until someone publishes the draft in the
|
|
49
|
+
* WaniWani app. A production key reads live knowledge; any other key reads
|
|
50
|
+
* the draft while one is open.
|
|
49
51
|
*/
|
|
50
52
|
ingest(files: KbIngestFile[]): Promise<KbIngestResult>;
|
|
51
53
|
/** Search the knowledge base for relevant chunks */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as t}from"./chunk-F3QSOBPN.js";import{a as i}from"./chunk-HMEGK7JX.js";import{a as e}from"./chunk-VME4UB43.js";import{a as n}from"./chunk-FWHINPYE.js";import"./chunk-V3ZDECK5.js";var a=Object.freeze(JSON.parse(`{"displayName":"Liquid","fileTypes":["liquid"],"foldingStartMarker":"\\\\{%-?\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)[^%()}]+%}","foldingStopMarker":"\\\\{%\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))[^%()}]+%}","injections":{"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted":{"patterns":[{"include":"#injection"}]}},"name":"liquid","patterns":[{"include":"#core"}],"repository":{"attribute":{"begin":"\\\\w+:","beginCaptures":{"0":{"name":"entity.other.attribute-name.liquid"}},"end":"(?=,|%}|}}|\\\\|)","patterns":[{"include":"#value_expression"}]},"attribute_liquid":{"begin":"\\\\w+:","beginCaptures":{"0":{"name":"entity.other.attribute-name.liquid"}},"end":"(?=[,|])|$","patterns":[{"include":"#value_expression"}]},"comment_block":{"begin":"\\\\{%-?\\\\s*comment\\\\s*-?%}","end":"\\\\{%-?\\\\s*endcomment\\\\s*-?%}","name":"comment.block.liquid","patterns":[{"include":"#comment_block"},{"match":"(.(?!\\\\{%-?\\\\s*((?:|end)comment)\\\\s*-?%}))*."}]},"core":{"patterns":[{"include":"#raw_tag"},{"include":"#doc_tag"},{"include":"#comment_block"},{"include":"#style_codefence"},{"include":"#stylesheet_codefence"},{"include":"#json_codefence"},{"include":"#javascript_codefence"},{"include":"#object"},{"include":"#tag"},{"include":"text.html.basic"}]},"doc_tag":{"begin":"\\\\{%-?\\\\s*(doc)\\\\s*-?%}","beginCaptures":{"0":{"name":"meta.tag.liquid"},"1":{"name":"entity.name.tag.doc.liquid"}},"contentName":"comment.block.documentation.liquid","end":"\\\\{%-?\\\\s*(enddoc)\\\\s*-?%}","endCaptures":{"0":{"name":"meta.tag.liquid"},"1":{"name":"entity.name.tag.doc.liquid"}},"name":"meta.block.doc.liquid","patterns":[{"include":"#liquid_doc_description_tag"},{"include":"#liquid_doc_param_tag"},{"include":"#liquid_doc_example_tag"},{"include":"#liquid_doc_prompt_tag"},{"include":"#liquid_doc_fallback_tag"}]},"filter":{"captures":{"1":{"name":"support.function.liquid"}},"match":"\\\\|\\\\s*((?![.0-9])[-0-9A-Z_a-z]+:?)\\\\s*"},"injection":{"patterns":[{"include":"#raw_tag"},{"include":"#comment_block"},{"include":"#object"},{"include":"#tag_injection"}]},"invalid_range":{"match":"\\\\((.(?!\\\\.\\\\.))+\\\\)","name":"invalid.illegal.range.liquid"},"javascript_codefence":{"begin":"(\\\\{%-?)\\\\s*(javascript)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.javascript.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.javascript.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.js","end":"(\\\\{%-?)\\\\s*(endjavascript)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.javascript.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.javascript.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.javascript.liquid","patterns":[{"include":"source.js"}]},"json_codefence":{"begin":"(\\\\{%-?)\\\\s*(schema)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.schema.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.schema.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.json","end":"(\\\\{%-?)\\\\s*(endschema)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.schema.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.schema.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.schema.liquid","patterns":[{"include":"source.json"}]},"language_constant":{"match":"\\\\b(false|true|nil|blank)\\\\b|empty(?!\\\\?)","name":"constant.language.liquid"},"liquid_doc_description_tag":{"begin":"(@description)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"string.quoted.single.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})"},"liquid_doc_example_tag":{"begin":"(@example)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"meta.embedded.block.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})","patterns":[{"include":"#core"}]},"liquid_doc_fallback_tag":{"captures":{"1":{"name":"comment.block.liquid"}},"match":"(@\\\\w+)\\\\b"},"liquid_doc_param_tag":{"captures":{"1":{"name":"storage.type.class.liquid"},"2":{"name":"entity.name.type.instance.liquid"},"3":{"name":"variable.other.liquid"},"4":{"name":"string.quoted.single.liquid"}},"match":"(@param)\\\\s+(?:(\\\\{[^}]*}?)\\\\s+)?(\\\\[?[A-Z_a-z][-\\\\w]*]?)?(?:\\\\s+(.*))?"},"liquid_doc_prompt_tag":{"begin":"(@prompt)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"string.quoted.single.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})"},"number":{"match":"(([-+])\\\\s*)?[0-9]+(\\\\.[0-9]+)?","name":"constant.numeric.liquid"},"object":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.liquid"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.object.liquid","patterns":[{"include":"#filter"},{"include":"#attribute"},{"include":"#value_expression"}]},"operator":{"captures":{"1":{"name":"keyword.operator.expression.liquid"}},"match":"(?:(?<=\\\\s)|\\\\b)(==|!=|[<>]|>=|<=|or|and|contains)(?:(?=\\\\s)|\\\\b)"},"range":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.liquid"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.liquid"}},"name":"meta.range.liquid","patterns":[{"match":"\\\\.\\\\.","name":"punctuation.range.liquid"},{"include":"#variable_lookup"},{"include":"#number"}]},"raw_tag":{"begin":"\\\\{%-?\\\\s*(raw)\\\\s*-?%}","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"contentName":"string.unquoted.liquid","end":"\\\\{%-?\\\\s*(endraw)\\\\s*-?%}","endCaptures":{"1":{"name":"entity.name.tag.liquid"}},"name":"meta.entity.tag.raw.liquid","patterns":[{"match":"(.(?!\\\\{%-?\\\\s*endraw\\\\s*-?%}))*."}]},"string":{"patterns":[{"include":"#string_single"},{"include":"#string_double"}]},"string_double":{"begin":"\\"","end":"\\"","name":"string.quoted.double.liquid"},"string_single":{"begin":"'","end":"'","name":"string.quoted.single.liquid"},"style_codefence":{"begin":"(\\\\{%-?)\\\\s*(style)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.css","end":"(\\\\{%-?)\\\\s*(endstyle)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.style.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.style.liquid","patterns":[{"include":"source.css"}]},"stylesheet_codefence":{"begin":"(\\\\{%-?)\\\\s*(stylesheet)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.css","end":"(\\\\{%-?)\\\\s*(endstylesheet)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.style.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.style.liquid","patterns":[{"include":"source.css"}]},"tag":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.liquid"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.tag.liquid","patterns":[{"include":"#tag_body"}]},"tag_assign":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid","patterns":[{"include":"#filter"},{"include":"#attribute"},{"include":"#value_expression"}]},"tag_assign_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"$","name":"meta.entity.tag.liquid","patterns":[{"include":"#filter"},{"include":"#attribute_liquid"},{"include":"#value_expression"}]},"tag_body":{"patterns":[{"include":"#tag_liquid"},{"include":"#tag_assign"},{"include":"#tag_comment_inline"},{"include":"#tag_case"},{"include":"#tag_conditional"},{"include":"#tag_for"},{"include":"#tag_paginate"},{"include":"#tag_render"},{"include":"#tag_tablerow"},{"include":"#tag_expression"}]},"tag_case":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.liquid"}},"end":"(?=%})","name":"meta.entity.tag.case.liquid","patterns":[{"include":"#value_expression"}]},"tag_case_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.liquid"}},"end":"$","name":"meta.entity.tag.case.liquid","patterns":[{"include":"#value_expression"}]},"tag_comment_block_liquid":{"begin":"^\\\\s*(comment)\\\\b","end":"^\\\\s*(endcomment)\\\\b","name":"comment.block.liquid","patterns":[{"include":"#tag_comment_block_liquid"},{"match":"^\\\\s*(?!((?:|end)comment)).*"}]},"tag_comment_inline":{"begin":"#","end":"(?=%})","name":"comment.line.number-sign.liquid"},"tag_comment_inline_liquid":{"begin":"^\\\\s*#.*","end":"$","name":"comment.line.number-sign.liquid"},"tag_conditional":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.liquid"}},"end":"(?=%})","name":"meta.entity.tag.conditional.liquid","patterns":[{"include":"#value_expression"}]},"tag_conditional_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.liquid"}},"end":"$","name":"meta.entity.tag.conditional.liquid","patterns":[{"include":"#value_expression"}]},"tag_expression":{"patterns":[{"include":"#tag_expression_without_arguments"},{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid","patterns":[{"include":"#value_expression"}]}]},"tag_expression_liquid":{"patterns":[{"include":"#tag_expression_without_arguments"},{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"$","name":"meta.entity.tag.liquid","patterns":[{"include":"#value_expression"}]}]},"tag_expression_without_arguments":{"patterns":[{"captures":{"1":{"name":"keyword.control.conditional.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:unless|if))\\\\b"},{"captures":{"1":{"name":"keyword.control.loop.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:for|tablerow|paginate))\\\\b"},{"captures":{"1":{"name":"keyword.control.case.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(endcase)\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(else|break|continue)\\\\b"}]},"tag_for":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.liquid"}},"end":"(?=%})","name":"meta.entity.tag.for.liquid","patterns":[{"include":"#tag_for_body"}]},"tag_for_body":{"patterns":[{"match":"\\\\b(in|reversed)\\\\b","name":"keyword.control.liquid"},{"match":"\\\\b(offset|limit):","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_for_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.liquid"}},"end":"$","name":"meta.entity.tag.for.liquid","patterns":[{"include":"#tag_for_body"}]},"tag_injection":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?(?!-?\\\\s*(end(?:style|javascript|comment|raw)))","beginCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.tag.liquid","patterns":[{"include":"#tag_body"}]},"tag_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(liquid)\\\\b","beginCaptures":{"1":{"name":"keyword.control.liquid.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid.liquid","patterns":[{"include":"#tag_comment_block_liquid"},{"include":"#tag_comment_inline_liquid"},{"include":"#tag_assign_liquid"},{"include":"#tag_case_liquid"},{"include":"#tag_conditional_liquid"},{"include":"#tag_for_liquid"},{"include":"#tag_paginate_liquid"},{"include":"#tag_render_liquid"},{"include":"#tag_tablerow_liquid"},{"include":"#tag_expression_liquid"}]},"tag_paginate":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b","beginCaptures":{"1":{"name":"keyword.control.paginate.liquid"}},"end":"(?=%})","name":"meta.entity.tag.paginate.liquid","patterns":[{"include":"#tag_paginate_body"}]},"tag_paginate_body":{"patterns":[{"match":"\\\\b(by)\\\\b","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_paginate_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b","beginCaptures":{"1":{"name":"keyword.control.paginate.liquid"}},"end":"$","name":"meta.entity.tag.paginate.liquid","patterns":[{"include":"#tag_paginate_body"}]},"tag_render":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.render.liquid"}},"end":"(?=%})","name":"meta.entity.tag.render.liquid","patterns":[{"include":"#tag_render_special_keywords"},{"include":"#attribute"},{"include":"#value_expression"}]},"tag_render_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.render.liquid"}},"end":"$","name":"meta.entity.tag.render.liquid","patterns":[{"include":"#tag_render_special_keywords"},{"include":"#attribute_liquid"},{"include":"#value_expression"}]},"tag_render_special_keywords":{"match":"\\\\b(with|as|for)\\\\b","name":"keyword.control.other.liquid"},"tag_tablerow":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b","beginCaptures":{"1":{"name":"keyword.control.tablerow.liquid"}},"end":"(?=%})","name":"meta.entity.tag.tablerow.liquid","patterns":[{"include":"#tag_tablerow_body"}]},"tag_tablerow_body":{"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.control.liquid"},{"match":"\\\\b(cols|offset|limit):","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_tablerow_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b","beginCaptures":{"1":{"name":"keyword.control.tablerow.liquid"}},"end":"$","name":"meta.entity.tag.tablerow.liquid","patterns":[{"include":"#tag_tablerow_body"}]},"value_expression":{"patterns":[{"captures":{"2":{"name":"invalid.illegal.filter.liquid"},"3":{"name":"invalid.illegal.filter.liquid"}},"match":"(\\\\[)(\\\\|)(?=[^]]*)(?=])"},{"match":"(?<=\\\\s)([-*+/])(?=\\\\s)","name":"invalid.illegal.filter.liquid"},{"include":"#language_constant"},{"include":"#operator"},{"include":"#invalid_range"},{"include":"#range"},{"include":"#number"},{"include":"#string"},{"include":"#variable_lookup"}]},"variable_lookup":{"patterns":[{"match":"\\\\b(additional_checkout_buttons|address|all_country_option_tags|all_products|articles??|block|blogs??|canonical_url|cart|checkout|collections??|comment|content_for_additional_checkout_buttons|content_for_header|content_for_index|content_for_layout|country_option_tags|currency|current_page|current_tags|customer|customer_address|discount_allocation|discount_application|external_video|font|forloop|form|fulfillment|gift_card|handle|images??|line_item|link|linklists??|location|localization|metafield|model|model_source|order|page|page_description|page_image|page_title|pages|paginate|part|policy|powered_by_link|predictive_search|product|product_option|product_variant|recommendations|request|routes|scripts??|search|section|selling_plan|selling_plan_allocation|selling_plan_group|settings|shipping_method|shop|shop_locale|store_availability|tablerow|tax_line|template|theme|transaction|unit_price_measurement|variant|video|video_source)\\\\b","name":"variable.language.liquid"},{"match":"((?<=\\\\w:\\\\s)\\\\w+)","name":"variable.parameter.liquid"},{"begin":"(?<=\\\\w)\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.liquid"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.liquid"}},"name":"meta.brackets.liquid","patterns":[{"include":"#string"}]},{"match":"(?<=([]\\\\w])\\\\.)([-\\\\w]+\\\\??)","name":"variable.other.member.liquid"},{"match":"(?<=\\\\w)\\\\.(?=\\\\w)","name":"punctuation.accessor.liquid"},{"match":"(?i)[_a-z](\\\\w|-(?!}}))*","name":"variable.other.liquid"}]}},"scopeName":"text.html.liquid","embeddedLangs":["html","css","json","javascript"]}`)),s=[...i,...n,...t,...e,a];export{s as default};
|
|
3
|
-
//# sourceMappingURL=liquid-
|
|
2
|
+
import{a as t}from"./chunk-F3QSOBPN.js";import{a as i}from"./chunk-IS746YRY.js";import{a as e}from"./chunk-VME4UB43.js";import{a as n}from"./chunk-FWHINPYE.js";import"./chunk-V3ZDECK5.js";var a=Object.freeze(JSON.parse(`{"displayName":"Liquid","fileTypes":["liquid"],"foldingStartMarker":"\\\\{%-?\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)[^%()}]+%}","foldingStopMarker":"\\\\{%\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))[^%()}]+%}","injections":{"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted":{"patterns":[{"include":"#injection"}]}},"name":"liquid","patterns":[{"include":"#core"}],"repository":{"attribute":{"begin":"\\\\w+:","beginCaptures":{"0":{"name":"entity.other.attribute-name.liquid"}},"end":"(?=,|%}|}}|\\\\|)","patterns":[{"include":"#value_expression"}]},"attribute_liquid":{"begin":"\\\\w+:","beginCaptures":{"0":{"name":"entity.other.attribute-name.liquid"}},"end":"(?=[,|])|$","patterns":[{"include":"#value_expression"}]},"comment_block":{"begin":"\\\\{%-?\\\\s*comment\\\\s*-?%}","end":"\\\\{%-?\\\\s*endcomment\\\\s*-?%}","name":"comment.block.liquid","patterns":[{"include":"#comment_block"},{"match":"(.(?!\\\\{%-?\\\\s*((?:|end)comment)\\\\s*-?%}))*."}]},"core":{"patterns":[{"include":"#raw_tag"},{"include":"#doc_tag"},{"include":"#comment_block"},{"include":"#style_codefence"},{"include":"#stylesheet_codefence"},{"include":"#json_codefence"},{"include":"#javascript_codefence"},{"include":"#object"},{"include":"#tag"},{"include":"text.html.basic"}]},"doc_tag":{"begin":"\\\\{%-?\\\\s*(doc)\\\\s*-?%}","beginCaptures":{"0":{"name":"meta.tag.liquid"},"1":{"name":"entity.name.tag.doc.liquid"}},"contentName":"comment.block.documentation.liquid","end":"\\\\{%-?\\\\s*(enddoc)\\\\s*-?%}","endCaptures":{"0":{"name":"meta.tag.liquid"},"1":{"name":"entity.name.tag.doc.liquid"}},"name":"meta.block.doc.liquid","patterns":[{"include":"#liquid_doc_description_tag"},{"include":"#liquid_doc_param_tag"},{"include":"#liquid_doc_example_tag"},{"include":"#liquid_doc_prompt_tag"},{"include":"#liquid_doc_fallback_tag"}]},"filter":{"captures":{"1":{"name":"support.function.liquid"}},"match":"\\\\|\\\\s*((?![.0-9])[-0-9A-Z_a-z]+:?)\\\\s*"},"injection":{"patterns":[{"include":"#raw_tag"},{"include":"#comment_block"},{"include":"#object"},{"include":"#tag_injection"}]},"invalid_range":{"match":"\\\\((.(?!\\\\.\\\\.))+\\\\)","name":"invalid.illegal.range.liquid"},"javascript_codefence":{"begin":"(\\\\{%-?)\\\\s*(javascript)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.javascript.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.javascript.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.js","end":"(\\\\{%-?)\\\\s*(endjavascript)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.javascript.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.javascript.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.javascript.liquid","patterns":[{"include":"source.js"}]},"json_codefence":{"begin":"(\\\\{%-?)\\\\s*(schema)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.schema.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.schema.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.json","end":"(\\\\{%-?)\\\\s*(endschema)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.schema.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.schema.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.schema.liquid","patterns":[{"include":"source.json"}]},"language_constant":{"match":"\\\\b(false|true|nil|blank)\\\\b|empty(?!\\\\?)","name":"constant.language.liquid"},"liquid_doc_description_tag":{"begin":"(@description)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"string.quoted.single.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})"},"liquid_doc_example_tag":{"begin":"(@example)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"meta.embedded.block.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})","patterns":[{"include":"#core"}]},"liquid_doc_fallback_tag":{"captures":{"1":{"name":"comment.block.liquid"}},"match":"(@\\\\w+)\\\\b"},"liquid_doc_param_tag":{"captures":{"1":{"name":"storage.type.class.liquid"},"2":{"name":"entity.name.type.instance.liquid"},"3":{"name":"variable.other.liquid"},"4":{"name":"string.quoted.single.liquid"}},"match":"(@param)\\\\s+(?:(\\\\{[^}]*}?)\\\\s+)?(\\\\[?[A-Z_a-z][-\\\\w]*]?)?(?:\\\\s+(.*))?"},"liquid_doc_prompt_tag":{"begin":"(@prompt)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"string.quoted.single.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})"},"number":{"match":"(([-+])\\\\s*)?[0-9]+(\\\\.[0-9]+)?","name":"constant.numeric.liquid"},"object":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.liquid"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.object.liquid","patterns":[{"include":"#filter"},{"include":"#attribute"},{"include":"#value_expression"}]},"operator":{"captures":{"1":{"name":"keyword.operator.expression.liquid"}},"match":"(?:(?<=\\\\s)|\\\\b)(==|!=|[<>]|>=|<=|or|and|contains)(?:(?=\\\\s)|\\\\b)"},"range":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.liquid"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.liquid"}},"name":"meta.range.liquid","patterns":[{"match":"\\\\.\\\\.","name":"punctuation.range.liquid"},{"include":"#variable_lookup"},{"include":"#number"}]},"raw_tag":{"begin":"\\\\{%-?\\\\s*(raw)\\\\s*-?%}","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"contentName":"string.unquoted.liquid","end":"\\\\{%-?\\\\s*(endraw)\\\\s*-?%}","endCaptures":{"1":{"name":"entity.name.tag.liquid"}},"name":"meta.entity.tag.raw.liquid","patterns":[{"match":"(.(?!\\\\{%-?\\\\s*endraw\\\\s*-?%}))*."}]},"string":{"patterns":[{"include":"#string_single"},{"include":"#string_double"}]},"string_double":{"begin":"\\"","end":"\\"","name":"string.quoted.double.liquid"},"string_single":{"begin":"'","end":"'","name":"string.quoted.single.liquid"},"style_codefence":{"begin":"(\\\\{%-?)\\\\s*(style)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.css","end":"(\\\\{%-?)\\\\s*(endstyle)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.style.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.style.liquid","patterns":[{"include":"source.css"}]},"stylesheet_codefence":{"begin":"(\\\\{%-?)\\\\s*(stylesheet)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.css","end":"(\\\\{%-?)\\\\s*(endstylesheet)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.style.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.style.liquid","patterns":[{"include":"source.css"}]},"tag":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.liquid"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.tag.liquid","patterns":[{"include":"#tag_body"}]},"tag_assign":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid","patterns":[{"include":"#filter"},{"include":"#attribute"},{"include":"#value_expression"}]},"tag_assign_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"$","name":"meta.entity.tag.liquid","patterns":[{"include":"#filter"},{"include":"#attribute_liquid"},{"include":"#value_expression"}]},"tag_body":{"patterns":[{"include":"#tag_liquid"},{"include":"#tag_assign"},{"include":"#tag_comment_inline"},{"include":"#tag_case"},{"include":"#tag_conditional"},{"include":"#tag_for"},{"include":"#tag_paginate"},{"include":"#tag_render"},{"include":"#tag_tablerow"},{"include":"#tag_expression"}]},"tag_case":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.liquid"}},"end":"(?=%})","name":"meta.entity.tag.case.liquid","patterns":[{"include":"#value_expression"}]},"tag_case_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.liquid"}},"end":"$","name":"meta.entity.tag.case.liquid","patterns":[{"include":"#value_expression"}]},"tag_comment_block_liquid":{"begin":"^\\\\s*(comment)\\\\b","end":"^\\\\s*(endcomment)\\\\b","name":"comment.block.liquid","patterns":[{"include":"#tag_comment_block_liquid"},{"match":"^\\\\s*(?!((?:|end)comment)).*"}]},"tag_comment_inline":{"begin":"#","end":"(?=%})","name":"comment.line.number-sign.liquid"},"tag_comment_inline_liquid":{"begin":"^\\\\s*#.*","end":"$","name":"comment.line.number-sign.liquid"},"tag_conditional":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.liquid"}},"end":"(?=%})","name":"meta.entity.tag.conditional.liquid","patterns":[{"include":"#value_expression"}]},"tag_conditional_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.liquid"}},"end":"$","name":"meta.entity.tag.conditional.liquid","patterns":[{"include":"#value_expression"}]},"tag_expression":{"patterns":[{"include":"#tag_expression_without_arguments"},{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid","patterns":[{"include":"#value_expression"}]}]},"tag_expression_liquid":{"patterns":[{"include":"#tag_expression_without_arguments"},{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"$","name":"meta.entity.tag.liquid","patterns":[{"include":"#value_expression"}]}]},"tag_expression_without_arguments":{"patterns":[{"captures":{"1":{"name":"keyword.control.conditional.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:unless|if))\\\\b"},{"captures":{"1":{"name":"keyword.control.loop.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:for|tablerow|paginate))\\\\b"},{"captures":{"1":{"name":"keyword.control.case.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(endcase)\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(else|break|continue)\\\\b"}]},"tag_for":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.liquid"}},"end":"(?=%})","name":"meta.entity.tag.for.liquid","patterns":[{"include":"#tag_for_body"}]},"tag_for_body":{"patterns":[{"match":"\\\\b(in|reversed)\\\\b","name":"keyword.control.liquid"},{"match":"\\\\b(offset|limit):","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_for_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.liquid"}},"end":"$","name":"meta.entity.tag.for.liquid","patterns":[{"include":"#tag_for_body"}]},"tag_injection":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?(?!-?\\\\s*(end(?:style|javascript|comment|raw)))","beginCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.tag.liquid","patterns":[{"include":"#tag_body"}]},"tag_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(liquid)\\\\b","beginCaptures":{"1":{"name":"keyword.control.liquid.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid.liquid","patterns":[{"include":"#tag_comment_block_liquid"},{"include":"#tag_comment_inline_liquid"},{"include":"#tag_assign_liquid"},{"include":"#tag_case_liquid"},{"include":"#tag_conditional_liquid"},{"include":"#tag_for_liquid"},{"include":"#tag_paginate_liquid"},{"include":"#tag_render_liquid"},{"include":"#tag_tablerow_liquid"},{"include":"#tag_expression_liquid"}]},"tag_paginate":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b","beginCaptures":{"1":{"name":"keyword.control.paginate.liquid"}},"end":"(?=%})","name":"meta.entity.tag.paginate.liquid","patterns":[{"include":"#tag_paginate_body"}]},"tag_paginate_body":{"patterns":[{"match":"\\\\b(by)\\\\b","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_paginate_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b","beginCaptures":{"1":{"name":"keyword.control.paginate.liquid"}},"end":"$","name":"meta.entity.tag.paginate.liquid","patterns":[{"include":"#tag_paginate_body"}]},"tag_render":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.render.liquid"}},"end":"(?=%})","name":"meta.entity.tag.render.liquid","patterns":[{"include":"#tag_render_special_keywords"},{"include":"#attribute"},{"include":"#value_expression"}]},"tag_render_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.render.liquid"}},"end":"$","name":"meta.entity.tag.render.liquid","patterns":[{"include":"#tag_render_special_keywords"},{"include":"#attribute_liquid"},{"include":"#value_expression"}]},"tag_render_special_keywords":{"match":"\\\\b(with|as|for)\\\\b","name":"keyword.control.other.liquid"},"tag_tablerow":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b","beginCaptures":{"1":{"name":"keyword.control.tablerow.liquid"}},"end":"(?=%})","name":"meta.entity.tag.tablerow.liquid","patterns":[{"include":"#tag_tablerow_body"}]},"tag_tablerow_body":{"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.control.liquid"},{"match":"\\\\b(cols|offset|limit):","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_tablerow_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b","beginCaptures":{"1":{"name":"keyword.control.tablerow.liquid"}},"end":"$","name":"meta.entity.tag.tablerow.liquid","patterns":[{"include":"#tag_tablerow_body"}]},"value_expression":{"patterns":[{"captures":{"2":{"name":"invalid.illegal.filter.liquid"},"3":{"name":"invalid.illegal.filter.liquid"}},"match":"(\\\\[)(\\\\|)(?=[^]]*)(?=])"},{"match":"(?<=\\\\s)([-*+/])(?=\\\\s)","name":"invalid.illegal.filter.liquid"},{"include":"#language_constant"},{"include":"#operator"},{"include":"#invalid_range"},{"include":"#range"},{"include":"#number"},{"include":"#string"},{"include":"#variable_lookup"}]},"variable_lookup":{"patterns":[{"match":"\\\\b(additional_checkout_buttons|address|all_country_option_tags|all_products|articles??|block|blogs??|canonical_url|cart|checkout|collections??|comment|content_for_additional_checkout_buttons|content_for_header|content_for_index|content_for_layout|country_option_tags|currency|current_page|current_tags|customer|customer_address|discount_allocation|discount_application|external_video|font|forloop|form|fulfillment|gift_card|handle|images??|line_item|link|linklists??|location|localization|metafield|model|model_source|order|page|page_description|page_image|page_title|pages|paginate|part|policy|powered_by_link|predictive_search|product|product_option|product_variant|recommendations|request|routes|scripts??|search|section|selling_plan|selling_plan_allocation|selling_plan_group|settings|shipping_method|shop|shop_locale|store_availability|tablerow|tax_line|template|theme|transaction|unit_price_measurement|variant|video|video_source)\\\\b","name":"variable.language.liquid"},{"match":"((?<=\\\\w:\\\\s)\\\\w+)","name":"variable.parameter.liquid"},{"begin":"(?<=\\\\w)\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.liquid"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.liquid"}},"name":"meta.brackets.liquid","patterns":[{"include":"#string"}]},{"match":"(?<=([]\\\\w])\\\\.)([-\\\\w]+\\\\??)","name":"variable.other.member.liquid"},{"match":"(?<=\\\\w)\\\\.(?=\\\\w)","name":"punctuation.accessor.liquid"},{"match":"(?i)[_a-z](\\\\w|-(?!}}))*","name":"variable.other.liquid"}]}},"scopeName":"text.html.liquid","embeddedLangs":["html","css","json","javascript"]}`)),s=[...i,...n,...t,...e,a];export{s as default};
|
|
3
|
+
//# sourceMappingURL=liquid-YEOV5OY7.js.map
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -374,10 +374,12 @@ interface KbSource {
|
|
|
374
374
|
/** KB client for server-side knowledge base operations */
|
|
375
375
|
interface KbClient {
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* Push markdown files into the agent's knowledge base.
|
|
378
378
|
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
379
|
+
* The push replaces only the sources named in the payload and lands in the
|
|
380
|
+
* agent's draft. Nothing goes live until someone publishes the draft in the
|
|
381
|
+
* WaniWani app. A production key reads live knowledge; any other key reads
|
|
382
|
+
* the draft while one is open.
|
|
381
383
|
*/
|
|
382
384
|
ingest(files: KbIngestFile[]): Promise<KbIngestResult>;
|
|
383
385
|
/** Search the knowledge base for relevant chunks */
|
|
@@ -883,6 +885,7 @@ declare const flowOutputSchema: {
|
|
|
883
885
|
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
884
886
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
885
887
|
error: z.ZodOptional<z.ZodString>;
|
|
888
|
+
nextStep: z.ZodOptional<z.ZodString>;
|
|
886
889
|
};
|
|
887
890
|
type FlowOutputSchema = typeof flowOutputSchema;
|
|
888
891
|
|