t3 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/DiffPanel-DxvQMXZW.js +1491 -0
- package/dist/client/assets/{angular-html-shv80_GZ.js → angular-html-PO6YH8f-.js} +1 -1
- package/dist/client/assets/{angular-ts-BjWAylHW.js → angular-ts-DaJ2RvnO.js} +1 -1
- package/dist/client/assets/{apl-CkYWz8C0.js → apl-zEuTt-He.js} +1 -1
- package/dist/client/assets/{astro-CXyQY2Fi.js → astro-DwysnkhD.js} +1 -1
- package/dist/client/assets/{blade-CDM8qZbe.js → blade-GgAGAlM8.js} +1 -1
- package/dist/client/assets/{c-CUmJm7m_.js → c-DzeHBMp7.js} +1 -1
- package/dist/client/assets/{cobol-wxQNEWxu.js → cobol-iVCIJtWR.js} +1 -1
- package/dist/client/assets/{coffee-2P2zwF_h.js → coffee-BxMkYhOP.js} +1 -1
- package/dist/client/assets/{cpp-BTyeRVXV.js → cpp-BEfmDGKr.js} +1 -1
- package/dist/client/assets/{crystal-frSE8Mxi.js → crystal-CGJ9U7K8.js} +1 -1
- package/dist/client/assets/{css-BgTyfICB.js → css-D-J6muk9.js} +1 -1
- package/dist/client/assets/{edge-BY65SEnm.js → edge-B5l1ep6K.js} +1 -1
- package/dist/client/assets/{elixir-BLt8zeU8.js → elixir-DT7C4nRI.js} +1 -1
- package/dist/client/assets/{elm-CsZMXfMm.js → elm-DacHZu0P.js} +1 -1
- package/dist/client/assets/{erb-D78ZlEy1.js → erb-B4qeW_5R.js} +1 -1
- package/dist/client/assets/{git-rebase-DvAgC2qb.js → git-rebase-Dk3SbS0p.js} +1 -1
- package/dist/client/assets/{glimmer-js-ComKKhUt.js → glimmer-js-DEVFfhxl.js} +1 -1
- package/dist/client/assets/{glimmer-ts-CHaw-kHb.js → glimmer-ts-CsEJRls5.js} +1 -1
- package/dist/client/assets/{glsl-CzysIiSS.js → glsl-Im5_mbH8.js} +1 -1
- package/dist/client/assets/{graphql-JB5TILB9.js → graphql-DrNOYYdo.js} +1 -1
- package/dist/client/assets/{hack-BBDevESF.js → hack-D53MnsWT.js} +1 -1
- package/dist/client/assets/{haml-RVvrlpmx.js → haml-B4euY0vY.js} +1 -1
- package/dist/client/assets/{handlebars-B6i0Kg7r.js → handlebars-CtMln1GB.js} +1 -1
- package/dist/client/assets/{html-Cqmhl3Dv.js → html-B7CTON1n.js} +1 -1
- package/dist/client/assets/{html-derivative-D3F6P6wT.js → html-derivative-DwHkcKJ3.js} +1 -1
- package/dist/client/assets/{http-94c20x_x.js → http-BmGf_D9h.js} +1 -1
- package/dist/client/assets/{hurl-CoBvslGX.js → hurl-nnTeLb9y.js} +1 -1
- package/dist/client/assets/index-D2CnaX3V.css +1 -0
- package/dist/client/assets/{index-CWbABLMQ.js → index-nhQz5h-9.js} +79 -79
- package/dist/client/assets/{java-NRmbTstg.js → java-d7p4YLBX.js} +1 -1
- package/dist/client/assets/{javascript-clEikEAO.js → javascript-BcWERNKv.js} +1 -1
- package/dist/client/assets/{jinja-Zxps0pS4.js → jinja-CB7zbi6K.js} +1 -1
- package/dist/client/assets/{jison-CW-VQKc0.js → jison-BBAjjhmY.js} +1 -1
- package/dist/client/assets/{json-t_Zs8_eG.js → json-CNf-D-Ai.js} +1 -1
- package/dist/client/assets/{jsx-CUmrXn6v.js → jsx-DdT20ddY.js} +1 -1
- package/dist/client/assets/{julia-BZtXsPO1.js → julia-Bp0laiQT.js} +1 -1
- package/dist/client/assets/{just-DbayLjXg.js → just-C2n1JzZf.js} +1 -1
- package/dist/client/assets/{latex-Bx9vQriq.js → latex-BX6qSGK7.js} +1 -1
- package/dist/client/assets/{liquid-B9_lc15A.js → liquid-DgouKodz.js} +1 -1
- package/dist/client/assets/{lua-D7ivNc2F.js → lua-B-JF8LJ7.js} +1 -1
- package/dist/client/assets/{marko-CKTUP3wb.js → marko-DdaUBozC.js} +1 -1
- package/dist/client/assets/{mdc-DFmdtGcy.js → mdc-Tak-aC9z.js} +1 -1
- package/dist/client/assets/{nginx-B6XJm_FX.js → nginx-C26ntnSE.js} +1 -1
- package/dist/client/assets/{nim-D0sDLUjH.js → nim-KDX5BPuj.js} +1 -1
- package/dist/client/assets/{perl-BPnjaHZd.js → perl-BwpIuvHY.js} +1 -1
- package/dist/client/assets/{php-xnmFg-xe.js → php-CmeyInUZ.js} +1 -1
- package/dist/client/assets/{pug-C-ps4Q3A.js → pug-t16F4unN.js} +1 -1
- package/dist/client/assets/{qml-Blgq0sES.js → qml-DKXIwoU2.js} +1 -1
- package/dist/client/assets/{r-Bw2YX0iz.js → r-Bm5SLw35.js} +1 -1
- package/dist/client/assets/{razor-CVMxbgJD.js → razor-Cg7E03DE.js} +1 -1
- package/dist/client/assets/{regexp-BfboaxDC.js → regexp-B4BXgdkL.js} +1 -1
- package/dist/client/assets/{rst-DSEOyg4a.js → rst-CErMU3C_.js} +1 -1
- package/dist/client/assets/{ruby-BHaAeBnD.js → ruby-C-LB4XJd.js} +1 -1
- package/dist/client/assets/{sas-De8g3GnH.js → sas-KXri-Pyv.js} +1 -1
- package/dist/client/assets/{scss-WFF9AEc1.js → scss-5RriKTs7.js} +1 -1
- package/dist/client/assets/{shellscript-D0b3xhF8.js → shellscript-d2-2QqxY.js} +1 -1
- package/dist/client/assets/{shellsession-CEPeMTvi.js → shellsession-BBXyPthj.js} +1 -1
- package/dist/client/assets/{soy-CkuE1c8h.js → soy-B5WN_6xP.js} +1 -1
- package/dist/client/assets/{sql-CBLYRRTG.js → sql-ByWEVmCC.js} +1 -1
- package/dist/client/assets/{stata-CHnQmpJo.js → stata-ZtX2PbNh.js} +1 -1
- package/dist/client/assets/{surrealql-2jE3UuBR.js → surrealql-DIyL-cuf.js} +1 -1
- package/dist/client/assets/{svelte-18k8aay7.js → svelte-Dv8xlo7a.js} +1 -1
- package/dist/client/assets/{templ-C_KMacdx.js → templ-DEm7cZue.js} +1 -1
- package/dist/client/assets/{tex-BVp_GiMd.js → tex-GXsn56xP.js} +1 -1
- package/dist/client/assets/{ts-tags-Bi_bBn8w.js → ts-tags-ByCXY4T3.js} +1 -1
- package/dist/client/assets/{tsx-B7mt-RUJ.js → tsx-By_LD9k9.js} +1 -1
- package/dist/client/assets/{twig-DhHOZ6Vd.js → twig-Du6sgCzz.js} +1 -1
- package/dist/client/assets/{typescript-LV7sesr2.js → typescript-DodIuvim.js} +1 -1
- package/dist/client/assets/{vue-mzEQ7_PJ.js → vue-D-NASAgP.js} +1 -1
- package/dist/client/assets/{vue-html-UCqCdVGl.js → vue-html-xVY24NdN.js} +1 -1
- package/dist/client/assets/{vue-vine-Dnznzfmf.js → vue-vine-D6iwmyYT.js} +1 -1
- package/dist/client/assets/{xml-3N76prFb.js → xml-Bnub5Bnx.js} +1 -1
- package/dist/client/assets/{xsl-Ckd3D0dQ.js → xsl-gWFBcUcI.js} +1 -1
- package/dist/client/assets/{yaml-det4gTgr.js → yaml-Bh8YueBH.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/index.cjs +96 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +96 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/client/assets/DiffPanel-D4FZnMmT.js +0 -1491
- package/dist/client/assets/index-DtnLdTtl.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{qt as e}from"./index-nhQz5h-9.js";import{t}from"./java-d7p4YLBX.js";var n=e({default:()=>i}),r=Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`)),i=[...t,r];export{n,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./xml-
|
|
1
|
+
import{t as e}from"./xml-Bnub5Bnx.js";var t=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)),n=[...e,t];export{n as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Kt as e}from"./index-CWbABLMQ.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`))];export{t as n,n as t};
|
|
1
|
+
import{qt as e}from"./index-nhQz5h-9.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&'*,:>?@\\\\[\`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`))];export{t as n,n as t};
|
package/dist/client/index.html
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
rel="stylesheet"
|
|
13
13
|
/>
|
|
14
14
|
<title>T3 Code (Alpha)</title>
|
|
15
|
-
<script type="module" crossorigin src="/assets/index-
|
|
16
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
15
|
+
<script type="module" crossorigin src="/assets/index-nhQz5h-9.js"></script>
|
|
16
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D2CnaX3V.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
19
19
|
<div id="root"></div>
|
package/dist/index.cjs
CHANGED
|
@@ -239,22 +239,44 @@ const resolveStaticDir = effect.Effect.fn(function* () {
|
|
|
239
239
|
if (yield* exists(join(monorepoClient, "index.html")).pipe(effect.Effect.orElseSucceed(() => false))) return monorepoClient;
|
|
240
240
|
});
|
|
241
241
|
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region ../../packages/shared/src/shell.ts
|
|
244
|
+
const PATH_CAPTURE_START = "__T3CODE_PATH_START__";
|
|
245
|
+
const PATH_CAPTURE_END = "__T3CODE_PATH_END__";
|
|
246
|
+
const PATH_CAPTURE_COMMAND = [
|
|
247
|
+
`printf '%s\n' '${PATH_CAPTURE_START}'`,
|
|
248
|
+
"printenv PATH",
|
|
249
|
+
`printf '%s\n' '${PATH_CAPTURE_END}'`
|
|
250
|
+
].join("; ");
|
|
251
|
+
function extractPathFromShellOutput(output) {
|
|
252
|
+
const startIndex = output.indexOf(PATH_CAPTURE_START);
|
|
253
|
+
if (startIndex === -1) return null;
|
|
254
|
+
const valueStartIndex = startIndex + 21;
|
|
255
|
+
const endIndex = output.indexOf(PATH_CAPTURE_END, valueStartIndex);
|
|
256
|
+
if (endIndex === -1) return null;
|
|
257
|
+
const pathValue = output.slice(valueStartIndex, endIndex).trim();
|
|
258
|
+
return pathValue.length > 0 ? pathValue : null;
|
|
259
|
+
}
|
|
260
|
+
function readPathFromLoginShell(shell, execFile = node_child_process.execFileSync) {
|
|
261
|
+
return extractPathFromShellOutput(execFile(shell, ["-ilc", PATH_CAPTURE_COMMAND], {
|
|
262
|
+
encoding: "utf8",
|
|
263
|
+
timeout: 5e3
|
|
264
|
+
})) ?? void 0;
|
|
265
|
+
}
|
|
266
|
+
|
|
242
267
|
//#endregion
|
|
243
268
|
//#region src/os-jank.ts
|
|
244
269
|
function fixPath() {
|
|
245
270
|
if (process.platform !== "darwin") return;
|
|
246
271
|
try {
|
|
247
|
-
const result = (
|
|
248
|
-
encoding: "utf8",
|
|
249
|
-
timeout: 5e3
|
|
250
|
-
});
|
|
272
|
+
const result = readPathFromLoginShell(process.env.SHELL ?? "/bin/zsh");
|
|
251
273
|
if (result) process.env.PATH = result;
|
|
252
274
|
} catch {}
|
|
253
275
|
}
|
|
254
276
|
const expandHomePath = effect.Effect.fn(function* (input) {
|
|
255
|
-
const { join
|
|
277
|
+
const { join } = yield* effect.Path.Path;
|
|
256
278
|
if (input === "~") return node_os.homedir();
|
|
257
|
-
if (input.startsWith(
|
|
279
|
+
if (input.startsWith("~/") || input.startsWith("~\\")) return join(node_os.homedir(), input.slice(2));
|
|
258
280
|
return input;
|
|
259
281
|
});
|
|
260
282
|
const resolveStateDir = effect.Effect.fn(function* (raw) {
|
|
@@ -5205,6 +5227,12 @@ var ProviderService = class extends effect.ServiceMap.Service()("t3/provider/Ser
|
|
|
5205
5227
|
*/
|
|
5206
5228
|
var CheckpointReactor = class extends effect.ServiceMap.Service()("t3/orchestration/Services/CheckpointReactor") {};
|
|
5207
5229
|
|
|
5230
|
+
//#endregion
|
|
5231
|
+
//#region src/git/isRepo.ts
|
|
5232
|
+
function isGitRepository(cwd) {
|
|
5233
|
+
return (0, node_fs.existsSync)((0, node_path.join)(cwd, ".git"));
|
|
5234
|
+
}
|
|
5235
|
+
|
|
5208
5236
|
//#endregion
|
|
5209
5237
|
//#region src/orchestration/Layers/CheckpointReactor.ts
|
|
5210
5238
|
function toTurnId$2(value) {
|
|
@@ -5276,6 +5304,7 @@ const make$2 = effect.Effect.gen(function* () {
|
|
|
5276
5304
|
}
|
|
5277
5305
|
return effect.Option.none();
|
|
5278
5306
|
});
|
|
5307
|
+
const isGitWorkspace = (cwd) => isGitRepository(cwd);
|
|
5279
5308
|
const captureCheckpointFromTurnCompletion = effect.Effect.fnUntraced(function* (event) {
|
|
5280
5309
|
const turnId = toTurnId$2(event.turnId);
|
|
5281
5310
|
if (!turnId) return;
|
|
@@ -5299,6 +5328,14 @@ const make$2 = effect.Effect.gen(function* () {
|
|
|
5299
5328
|
});
|
|
5300
5329
|
return;
|
|
5301
5330
|
}
|
|
5331
|
+
if (!isGitWorkspace(checkpointCwd)) {
|
|
5332
|
+
yield* effect.Effect.logDebug("checkpoint capture skipped for non-git workspace", {
|
|
5333
|
+
threadId: thread.id,
|
|
5334
|
+
turnId,
|
|
5335
|
+
cwd: checkpointCwd
|
|
5336
|
+
});
|
|
5337
|
+
return;
|
|
5338
|
+
}
|
|
5302
5339
|
const nextTurnCount = thread.checkpoints.reduce((maxTurnCount, checkpoint) => Math.max(maxTurnCount, checkpoint.checkpointTurnCount), 0) + 1;
|
|
5303
5340
|
const fromTurnCount = Math.max(0, nextTurnCount - 1);
|
|
5304
5341
|
const fromCheckpointRef = checkpointRefForThreadTurn(thread.id, fromTurnCount);
|
|
@@ -5390,6 +5427,7 @@ const make$2 = effect.Effect.gen(function* () {
|
|
|
5390
5427
|
});
|
|
5391
5428
|
return;
|
|
5392
5429
|
}
|
|
5430
|
+
if (!isGitWorkspace(checkpointCwd)) return;
|
|
5393
5431
|
const currentTurnCount = thread.checkpoints.reduce((maxTurnCount, checkpoint) => Math.max(maxTurnCount, checkpoint.checkpointTurnCount), 0);
|
|
5394
5432
|
const baselineCheckpointRef = checkpointRefForThreadTurn(thread.id, currentTurnCount);
|
|
5395
5433
|
if (yield* checkpointStore.hasCheckpointRef({
|
|
@@ -5420,6 +5458,7 @@ const make$2 = effect.Effect.gen(function* () {
|
|
|
5420
5458
|
yield* effect.Effect.logWarning("checkpoint pre-turn capture skipped: no workspace cwd", { threadId });
|
|
5421
5459
|
return;
|
|
5422
5460
|
}
|
|
5461
|
+
if (!isGitWorkspace(checkpointCwd)) return;
|
|
5423
5462
|
const baselineCheckpointRef = checkpointRefForThreadTurn(threadId, thread.checkpoints.reduce((maxTurnCount, checkpoint) => Math.max(maxTurnCount, checkpoint.checkpointTurnCount), 0));
|
|
5424
5463
|
if (yield* checkpointStore.hasCheckpointRef({
|
|
5425
5464
|
cwd: checkpointCwd,
|
|
@@ -5452,6 +5491,15 @@ const make$2 = effect.Effect.gen(function* () {
|
|
|
5452
5491
|
}).pipe(effect.Effect.catch(() => effect.Effect.void));
|
|
5453
5492
|
return;
|
|
5454
5493
|
}
|
|
5494
|
+
if (!isGitWorkspace(sessionRuntime.value.cwd)) {
|
|
5495
|
+
yield* appendRevertFailureActivity({
|
|
5496
|
+
threadId: event.payload.threadId,
|
|
5497
|
+
turnCount: event.payload.turnCount,
|
|
5498
|
+
detail: "Checkpoints are unavailable because this project is not a git repository.",
|
|
5499
|
+
createdAt: now
|
|
5500
|
+
}).pipe(effect.Effect.catch(() => effect.Effect.void));
|
|
5501
|
+
return;
|
|
5502
|
+
}
|
|
5455
5503
|
const currentTurnCount = thread.checkpoints.reduce((maxTurnCount, checkpoint) => Math.max(maxTurnCount, checkpoint.checkpointTurnCount), 0);
|
|
5456
5504
|
if (event.payload.turnCount > currentTurnCount) {
|
|
5457
5505
|
yield* appendRevertFailureActivity({
|
|
@@ -8825,6 +8873,17 @@ const make = effect.Effect.gen(function* () {
|
|
|
8825
8873
|
createdAt: ""
|
|
8826
8874
|
})
|
|
8827
8875
|
});
|
|
8876
|
+
const isGitRepoForThread = effect.Effect.fnUntraced(function* (threadId) {
|
|
8877
|
+
const readModel = yield* orchestrationEngine.getReadModel();
|
|
8878
|
+
const thread = readModel.threads.find((entry) => entry.id === threadId);
|
|
8879
|
+
if (!thread) return false;
|
|
8880
|
+
const workspaceCwd = resolveThreadWorkspaceCwd({
|
|
8881
|
+
thread,
|
|
8882
|
+
projects: readModel.projects
|
|
8883
|
+
});
|
|
8884
|
+
if (!workspaceCwd) return false;
|
|
8885
|
+
return isGitRepository(workspaceCwd);
|
|
8886
|
+
});
|
|
8828
8887
|
const rememberAssistantMessageId = (threadId, turnId, messageId) => effect.Cache.getOption(turnMessageIdsByTurnKey, providerTurnKey(threadId, turnId)).pipe(effect.Effect.flatMap((existingIds) => effect.Cache.set(turnMessageIdsByTurnKey, providerTurnKey(threadId, turnId), effect.Option.match(existingIds, {
|
|
8829
8888
|
onNone: () => new Set([messageId]),
|
|
8830
8889
|
onSome: (ids) => {
|
|
@@ -9103,7 +9162,7 @@ const make = effect.Effect.gen(function* () {
|
|
|
9103
9162
|
});
|
|
9104
9163
|
if (event.type === "turn.diff.updated") {
|
|
9105
9164
|
const turnId = toTurnId$1(event.turnId);
|
|
9106
|
-
if (turnId) {
|
|
9165
|
+
if (turnId && (yield* isGitRepoForThread(thread.id))) {
|
|
9107
9166
|
const assistantMessageId = MessageId.makeUnsafe(`assistant:${event.itemId ?? event.turnId ?? event.eventId}`);
|
|
9108
9167
|
yield* orchestrationEngine.dispatch({
|
|
9109
9168
|
type: "thread.turn.diff.complete",
|
|
@@ -11612,11 +11671,10 @@ const makeProviderService = (options) => effect.Effect.gen(function* () {
|
|
|
11612
11671
|
return activeSessions.map((session) => {
|
|
11613
11672
|
const binding = bindingsByThreadId.get(session.threadId);
|
|
11614
11673
|
if (!binding) return session;
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
};
|
|
11674
|
+
const overrides = {};
|
|
11675
|
+
if (session.resumeCursor === void 0 && binding.resumeCursor !== void 0) overrides.resumeCursor = binding.resumeCursor;
|
|
11676
|
+
if (binding.runtimeMode !== void 0) overrides.runtimeMode = binding.runtimeMode;
|
|
11677
|
+
return Object.assign({}, session, overrides);
|
|
11620
11678
|
});
|
|
11621
11679
|
});
|
|
11622
11680
|
const getCapabilities = (provider) => registry.getByProvider(provider).pipe(effect.Effect.map((adapter) => adapter.capabilities));
|
|
@@ -12888,7 +12946,7 @@ var TerminalManagerRuntime = class extends node_events.EventEmitter {
|
|
|
12888
12946
|
}
|
|
12889
12947
|
async runWithThreadLock(threadId, task) {
|
|
12890
12948
|
const previous = this.threadLocks.get(threadId) ?? Promise.resolve();
|
|
12891
|
-
let release
|
|
12949
|
+
let release;
|
|
12892
12950
|
const current = new Promise((resolve) => {
|
|
12893
12951
|
release = resolve;
|
|
12894
12952
|
});
|
|
@@ -15879,6 +15937,11 @@ function resolveWorkspaceWritePath(params) {
|
|
|
15879
15937
|
function stripRequestTag(body) {
|
|
15880
15938
|
return effect.Struct.omit(body, ["_tag"]);
|
|
15881
15939
|
}
|
|
15940
|
+
function messageFromCause(cause) {
|
|
15941
|
+
const squashed = effect.Cause.squash(cause);
|
|
15942
|
+
const message = squashed instanceof Error ? squashed.message.trim() : String(squashed).trim();
|
|
15943
|
+
return message.length > 0 ? message : effect.Cause.pretty(cause);
|
|
15944
|
+
}
|
|
15882
15945
|
var ServerLifecycleError = class extends effect.Schema.TaggedErrorClass()("ServerLifecycleError", {
|
|
15883
15946
|
operation: effect.Schema.String,
|
|
15884
15947
|
cause: effect.Schema.optional(effect.Schema.Defect)
|
|
@@ -15929,6 +15992,21 @@ const createServer = effect.Effect.fn(function* () {
|
|
|
15929
15992
|
});
|
|
15930
15993
|
});
|
|
15931
15994
|
const normalizeDispatchCommand = effect.Effect.fnUntraced(function* (input) {
|
|
15995
|
+
const normalizeProjectWorkspaceRoot = effect.Effect.fnUntraced(function* (workspaceRoot) {
|
|
15996
|
+
const normalizedWorkspaceRoot = path.resolve(yield* expandHomePath(workspaceRoot.trim()));
|
|
15997
|
+
const workspaceStat = yield* fileSystem.stat(normalizedWorkspaceRoot).pipe(effect.Effect.catch(() => effect.Effect.succeed(null)));
|
|
15998
|
+
if (!workspaceStat) return yield* new RouteRequestError({ message: `Project directory does not exist: ${normalizedWorkspaceRoot}` });
|
|
15999
|
+
if (workspaceStat.type !== "Directory") return yield* new RouteRequestError({ message: `Project path is not a directory: ${normalizedWorkspaceRoot}` });
|
|
16000
|
+
return normalizedWorkspaceRoot;
|
|
16001
|
+
});
|
|
16002
|
+
if (input.command.type === "project.create") return {
|
|
16003
|
+
...input.command,
|
|
16004
|
+
workspaceRoot: yield* normalizeProjectWorkspaceRoot(input.command.workspaceRoot)
|
|
16005
|
+
};
|
|
16006
|
+
if (input.command.type === "project.meta.update" && input.command.workspaceRoot !== void 0) return {
|
|
16007
|
+
...input.command,
|
|
16008
|
+
workspaceRoot: yield* normalizeProjectWorkspaceRoot(input.command.workspaceRoot)
|
|
16009
|
+
};
|
|
15932
16010
|
if (input.command.type !== "thread.turn.start") return input.command;
|
|
15933
16011
|
const turnStartCommand = input.command;
|
|
15934
16012
|
const normalizedAttachments = yield* effect.Effect.forEach(turnStartCommand.message.attachments, (attachment) => effect.Effect.gen(function* () {
|
|
@@ -16147,7 +16225,8 @@ const createServer = effect.Effect.fn(function* () {
|
|
|
16147
16225
|
operation: "autoBootstrapProject",
|
|
16148
16226
|
cause
|
|
16149
16227
|
})));
|
|
16150
|
-
const
|
|
16228
|
+
const runtimeServices = yield* effect.Effect.services();
|
|
16229
|
+
const runPromise = effect.Effect.runPromiseWith(runtimeServices);
|
|
16151
16230
|
const unsubscribeTerminalEvents = yield* terminalManager.subscribe((event) => void effect.Effect.runPromise(onTerminalEvent(event)));
|
|
16152
16231
|
yield* effect.Effect.addFinalizer(() => effect.Effect.sync(() => unsubscribeTerminalEvents()));
|
|
16153
16232
|
yield* _effect_platform_node_NodeHttpServer.make(() => httpServer, listenOptions).pipe(effect.Effect.mapError((cause) => new ServerLifecycleError({
|
|
@@ -16295,7 +16374,7 @@ const createServer = effect.Effect.fn(function* () {
|
|
|
16295
16374
|
if (request._tag === "Failure") {
|
|
16296
16375
|
const errorResponse = yield* encodeResponse({
|
|
16297
16376
|
id: "unknown",
|
|
16298
|
-
error: { message: `Invalid request format: ${
|
|
16377
|
+
error: { message: `Invalid request format: ${messageFromCause(request.cause)}` }
|
|
16299
16378
|
});
|
|
16300
16379
|
ws$1.send(errorResponse);
|
|
16301
16380
|
return;
|
|
@@ -16304,7 +16383,7 @@ const createServer = effect.Effect.fn(function* () {
|
|
|
16304
16383
|
if (result._tag === "Failure") {
|
|
16305
16384
|
const errorResponse = yield* encodeResponse({
|
|
16306
16385
|
id: request.value.id,
|
|
16307
|
-
error: { message:
|
|
16386
|
+
error: { message: messageFromCause(result.cause) }
|
|
16308
16387
|
});
|
|
16309
16388
|
ws$1.send(errorResponse);
|
|
16310
16389
|
return;
|
|
@@ -16431,7 +16510,7 @@ const getTelemetryIdentifier = effect.Effect.gen(function* () {
|
|
|
16431
16510
|
|
|
16432
16511
|
//#endregion
|
|
16433
16512
|
//#region package.json
|
|
16434
|
-
var version = "0.0.
|
|
16513
|
+
var version = "0.0.3";
|
|
16435
16514
|
|
|
16436
16515
|
//#endregion
|
|
16437
16516
|
//#region src/telemetry/Layers/AnalyticsService.ts
|