diffsplain 0.8.1 → 0.8.3

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.
Files changed (81) hide show
  1. package/README.md +2 -4
  2. package/dist/assets/{angular-html-CphzFC_v.js → angular-html-e4D_THVy.js} +1 -1
  3. package/dist/assets/{angular-ts-Am0-mbFw.js → angular-ts-Cx3870JF.js} +1 -1
  4. package/dist/assets/{apl-Cs2rPKDN.js → apl-DZuu22Wh.js} +1 -1
  5. package/dist/assets/{astro-CxKUUn9h.js → astro-K-NemFAk.js} +1 -1
  6. package/dist/assets/{blade-DqeCa6v5.js → blade-ConbVu3U.js} +1 -1
  7. package/dist/assets/{c-DdI6lknk.js → c-DtmaBqln.js} +1 -1
  8. package/dist/assets/{cobol-COuAGE2X.js → cobol-BMHoPOfB.js} +1 -1
  9. package/dist/assets/{coffee-BFlYT3Lp.js → coffee-DfweJ19Y.js} +1 -1
  10. package/dist/assets/{cpp-nywLU0Np.js → cpp-CPh_zIOW.js} +1 -1
  11. package/dist/assets/{crystal-BWp4dz1s.js → crystal-CAEX7C1J.js} +1 -1
  12. package/dist/assets/{css-CRb9tUpU.js → css-C8ihGqCA.js} +1 -1
  13. package/dist/assets/{edge-rUYSbJy4.js → edge-DVZPwQ9j.js} +1 -1
  14. package/dist/assets/{elixir-DOq9ybIH.js → elixir-D03TKulP.js} +1 -1
  15. package/dist/assets/{elm-C8e38E5-.js → elm-JUX-2xVV.js} +1 -1
  16. package/dist/assets/{erb-BR9Q37Et.js → erb-HbktAFZJ.js} +1 -1
  17. package/dist/assets/{git-rebase-Coo2LUtB.js → git-rebase-Ccd_ELAP.js} +1 -1
  18. package/dist/assets/{glimmer-js-C7hX9jg6.js → glimmer-js-BcinUfi2.js} +1 -1
  19. package/dist/assets/{glimmer-ts-CZLT0F0k.js → glimmer-ts-DuN2UkN9.js} +1 -1
  20. package/dist/assets/{glsl-BDZRv6e-.js → glsl-BWmCEPsR.js} +1 -1
  21. package/dist/assets/{graphql-DyzFc3y3.js → graphql-DJGYoBFW.js} +1 -1
  22. package/dist/assets/{hack-CWnO7WsF.js → hack-ZPqBE9w3.js} +1 -1
  23. package/dist/assets/{haml-CvDj-ghO.js → haml-CZDZk6Gw.js} +1 -1
  24. package/dist/assets/{handlebars-BnU_YcVA.js → handlebars-d23PDS0n.js} +1 -1
  25. package/dist/assets/{html-CjB2TKKa.js → html-BgzX2DyB.js} +1 -1
  26. package/dist/assets/{html-derivative-CYQqEXS6.js → html-derivative-Bq6M-ZFw.js} +1 -1
  27. package/dist/assets/{http-NNQbnqIx.js → http-DVhMl_cW.js} +1 -1
  28. package/dist/assets/{hurl-DHaAA1BS.js → hurl-CbspBAqF.js} +1 -1
  29. package/dist/assets/{index-f9ekN94b.js → index-divlsuKs.js} +3 -3
  30. package/dist/assets/{java-D1J5V2CD.js → java--YZbq0z2.js} +1 -1
  31. package/dist/assets/{javascript-C3pX-HsE.js → javascript-cvRuifRJ.js} +1 -1
  32. package/dist/assets/{jinja-BY9CIY8g.js → jinja-BeZmr3LP.js} +1 -1
  33. package/dist/assets/{jison-Cr0H89gS.js → jison-qrpGZaxs.js} +1 -1
  34. package/dist/assets/{json-CA3kKNfq.js → json-4xUzsNJn.js} +1 -1
  35. package/dist/assets/{jsx-BuMkR-Lj.js → jsx-BlXrTlSg.js} +1 -1
  36. package/dist/assets/{julia-C2sLwg3f.js → julia-IN3jzmBc.js} +1 -1
  37. package/dist/assets/{just-pXpkLBXv.js → just-C_50nLQH.js} +1 -1
  38. package/dist/assets/{latex-7v3EPOdF.js → latex-Cd-_2IS1.js} +1 -1
  39. package/dist/assets/{liquid-CJZq0Z0t.js → liquid-CEJf6Xg5.js} +1 -1
  40. package/dist/assets/{lua-BimBzvTH.js → lua-BlaV_n8i.js} +1 -1
  41. package/dist/assets/{marko-CCZHVnQN.js → marko-Cb-NPdc_.js} +1 -1
  42. package/dist/assets/{mdc-SLECNw2A.js → mdc-Dt4ywVAS.js} +1 -1
  43. package/dist/assets/{nginx-DUwtUge2.js → nginx-C_6SKViP.js} +1 -1
  44. package/dist/assets/{nim-HD8o_Omp.js → nim-BbkBjoeZ.js} +1 -1
  45. package/dist/assets/{perl-BGMeIkNk.js → perl-CYPU6TVa.js} +1 -1
  46. package/dist/assets/{php-BL5xuY-v.js → php-B6Oqilrc.js} +1 -1
  47. package/dist/assets/{pug-C8G1U_u8.js → pug-C9Poo2KU.js} +1 -1
  48. package/dist/assets/{qml-BGVSyw1x.js → qml-DkMURMPv.js} +1 -1
  49. package/dist/assets/{r-BDnRcclC.js → r-Bm-Gfi0p.js} +1 -1
  50. package/dist/assets/{razor-I8tbEIVJ.js → razor-B0LqOok3.js} +1 -1
  51. package/dist/assets/{regexp-D0yakB9Q.js → regexp-jAbMHzwe.js} +1 -1
  52. package/dist/assets/{rst-DbTCn07T.js → rst-BlWHfg8c.js} +1 -1
  53. package/dist/assets/{ruby-BwgPFIcO.js → ruby-Bt5lKwPL.js} +1 -1
  54. package/dist/assets/{sas-dN4ePfXU.js → sas-TuY2-8EF.js} +1 -1
  55. package/dist/assets/{scss-T7M1A4iM.js → scss-Dh1SsWlK.js} +1 -1
  56. package/dist/assets/{shellscript-HFjBHS7_.js → shellscript-CThiwmnp.js} +1 -1
  57. package/dist/assets/{shellsession-DCAGskrx.js → shellsession-DQ5iRUWd.js} +1 -1
  58. package/dist/assets/{soy-BgT96TF9.js → soy-BfM-BrZG.js} +1 -1
  59. package/dist/assets/{sql-DCIQeRzx.js → sql-F617W1uN.js} +1 -1
  60. package/dist/assets/{stata-Dn0tad0_.js → stata-Ctov3ki2.js} +1 -1
  61. package/dist/assets/{surrealql-CCgFEQfW.js → surrealql-C-i2bJGB.js} +1 -1
  62. package/dist/assets/{svelte-ITXimG8u.js → svelte-oZT41pTl.js} +1 -1
  63. package/dist/assets/{templ-DJVZZqPw.js → templ-CxX9Hf3e.js} +1 -1
  64. package/dist/assets/{tex-Bn4N-OtH.js → tex-GyzJq8GJ.js} +1 -1
  65. package/dist/assets/{ts-tags-CxQ4PoC4.js → ts-tags-BugzKu0x.js} +1 -1
  66. package/dist/assets/{tsx-CxwgcjkC.js → tsx-DLqwDEUq.js} +1 -1
  67. package/dist/assets/{twig-CtbyTyMH.js → twig-DADiR9Vq.js} +1 -1
  68. package/dist/assets/{typescript-d6ru12L8.js → typescript-BlDIG_FO.js} +1 -1
  69. package/dist/assets/{vue-RvqAsYDm.js → vue-COXmmg2A.js} +1 -1
  70. package/dist/assets/{vue-html-BkHDVENe.js → vue-html-Cy_3KYj1.js} +1 -1
  71. package/dist/assets/{vue-vine-DvS3Mlkn.js → vue-vine-CUqOY8dY.js} +1 -1
  72. package/dist/assets/{xml-lzTq5A-V.js → xml-C9JY7Wf6.js} +1 -1
  73. package/dist/assets/{xsl-BL0KXNWI.js → xsl-DBCl8hSu.js} +1 -1
  74. package/dist/assets/{yaml-CF4XlBJS.js → yaml-BbMebKkS.js} +1 -1
  75. package/dist/index.html +1 -1
  76. package/package.json +1 -1
  77. package/scripts/build-diff-data.mjs +70 -13
  78. package/scripts/cli-args.mjs +2 -12
  79. package/scripts/coding-agents.mjs +35 -68
  80. package/scripts/generate-summaries.mjs +5 -325
  81. package/scripts/present.mjs +0 -1
@@ -1 +1 @@
1
- import{t as e}from"./index-f9ekN94b.js";import{t}from"./java-D1J5V2CD.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
+ import{t as e}from"./index-divlsuKs.js";import{t}from"./java--YZbq0z2.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-lzTq5A-V.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
+ import{t as e}from"./xml-C9JY7Wf6.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{t as e}from"./index-f9ekN94b.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{t as e}from"./index-divlsuKs.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/index.html CHANGED
@@ -10,7 +10,7 @@
10
10
  <meta name="theme-color" content="#e9e2d5" />
11
11
  <link rel="icon" href="./favicon.svg" type="image/svg+xml" />
12
12
  <title>Diffsplain</title>
13
- <script type="module" crossorigin src="./assets/index-f9ekN94b.js"></script>
13
+ <script type="module" crossorigin src="./assets/index-divlsuKs.js"></script>
14
14
  <link rel="stylesheet" crossorigin href="./assets/index-C2p_1iAk.css">
15
15
  </head>
16
16
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diffsplain",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "Review Git diffs one file at a time with coding agent notes beside each patch.",
5
5
  "keywords": [
6
6
  "codex",
@@ -143,11 +143,42 @@ const excludedPaths = new Set(
143
143
  function command(commandName, commandArgs, options = {}) {
144
144
  return execFileSync(commandName, commandArgs, {
145
145
  cwd: options.cwd,
146
+ env: options.env,
146
147
  encoding: 'utf8',
147
148
  stdio: ['ignore', 'pipe', 'pipe'],
148
149
  });
149
150
  }
150
151
 
152
+ function githubHttpsRemote(url) {
153
+ if (typeof url !== 'string' || !url) return false;
154
+ try {
155
+ const parsed = new URL(url);
156
+ return (
157
+ parsed.protocol === 'https:' &&
158
+ (parsed.hostname === 'github.com' || parsed.hostname === 'www.github.com')
159
+ );
160
+ } catch {
161
+ return false;
162
+ }
163
+ }
164
+
165
+ function runGit(gitArgs, { gitDir, remoteUrl } = {}) {
166
+ const githubHttps = githubHttpsRemote(remoteUrl);
167
+ return command(
168
+ 'git',
169
+ [
170
+ ...(gitDir ? ['--git-dir', gitDir] : ['-C', repo]),
171
+ ...(githubHttps
172
+ ? ['-c', 'credential.helper=!gh auth git-credential']
173
+ : []),
174
+ ...gitArgs,
175
+ ],
176
+ githubHttps
177
+ ? { env: { ...process.env, GIT_TERMINAL_PROMPT: '0' } }
178
+ : {},
179
+ );
180
+ }
181
+
151
182
  const runRepo = (gitArgs) => command('git', ['-C', repo, ...gitArgs]);
152
183
  const tryRepo = (gitArgs) => {
153
184
  try {
@@ -383,16 +414,19 @@ function bareCache(remoteUrl) {
383
414
 
384
415
  function fetchInto(cache, remoteUrl, refspecs) {
385
416
  try {
386
- cache.run([
387
- 'fetch',
388
- '--quiet',
389
- '--no-tags',
390
- '--no-write-fetch-head',
391
- '--no-auto-maintenance',
392
- '--force',
393
- remoteUrl,
394
- ...refspecs,
395
- ]);
417
+ runGit(
418
+ [
419
+ 'fetch',
420
+ '--quiet',
421
+ '--no-tags',
422
+ '--no-write-fetch-head',
423
+ '--no-auto-maintenance',
424
+ '--force',
425
+ remoteUrl,
426
+ ...refspecs,
427
+ ],
428
+ { gitDir: cache.path, remoteUrl },
429
+ );
396
430
  } catch (error) {
397
431
  const detail = error?.stderr?.toString().trim();
398
432
  throw new Error(
@@ -422,7 +456,7 @@ function uniqueMergeBase(runGit, base, head) {
422
456
  function remoteDefaultBranchInfo(remoteUrl) {
423
457
  let raw;
424
458
  try {
425
- raw = runRepo(['ls-remote', '--symref', remoteUrl, 'HEAD']);
459
+ raw = runGit(['ls-remote', '--symref', remoteUrl, 'HEAD'], { remoteUrl });
426
460
  } catch {
427
461
  throw new Error('Could not read the remote default branch');
428
462
  }
@@ -441,7 +475,7 @@ function remoteDefaultBranch(remoteUrl) {
441
475
  function remoteContainsCommits(remoteUrl, commits) {
442
476
  let raw;
443
477
  try {
444
- raw = runRepo(['ls-remote', remoteUrl]);
478
+ raw = runGit(['ls-remote', remoteUrl], { remoteUrl });
445
479
  } catch {
446
480
  return false;
447
481
  }
@@ -575,8 +609,31 @@ function pullRequestInfo(pr, remote) {
575
609
  return { value, repository };
576
610
  } catch (error) {
577
611
  const detail = error?.stderr?.toString().trim() || error?.message;
612
+ if (
613
+ repository &&
614
+ /Could not resolve to a PullRequest with the number of/i.test(detail)
615
+ ) {
616
+ const prNumber = String(pr).replace(
617
+ /^.*\/pull\/(\d+)(?:\/.*)?$/,
618
+ "$1",
619
+ );
620
+ const repositoryShape = repository.selector.replace(
621
+ repository.name,
622
+ "owner/repo",
623
+ );
624
+ const pullRequestUrl = `${repository.webUrl.replace(repository.name, "owner/repo")}/pull/${prNumber}`;
625
+ throw new Error(
626
+ `Pull request ${prNumber} was not found in ${repository.selector}. Pass ${repositoryShape} before --pr ${prNumber}, or pass ${pullRequestUrl}.`,
627
+ );
628
+ }
629
+ const authHint =
630
+ /(?:HTTP 401|Bad credentials|authentication failed|not logged (?:in|into)|gh auth login)/i.test(
631
+ detail,
632
+ )
633
+ ? ' Check gh auth status.'
634
+ : '';
578
635
  throw new Error(
579
- `Could not read pull request ${pr} with gh${detail ? `: ${detail}` : ''}. Check gh auth status.`,
636
+ `Could not read pull request ${pr} with gh${detail ? `: ${detail}` : ''}.${authHint}`,
580
637
  );
581
638
  }
582
639
  }
@@ -40,7 +40,6 @@ export const cliOptions = defineCliOptions({
40
40
  '--agent': { kind: 'agent' },
41
41
  '--no-agent': { kind: 'no-agent' },
42
42
  '--force': { kind: 'flag' },
43
- '--skip-safety-checks': { kind: 'flag' },
44
43
  '--worktree': { kind: 'flag' },
45
44
  '--no-browser': { kind: 'flag' },
46
45
  '--support-record': { kind: 'flag' },
@@ -94,8 +93,6 @@ Options:
94
93
  --batch-size COUNT Maximum files per agent pass (default: ${batchSizeOption.default})
95
94
  --jobs COUNT Agent passes to run at once (default: ${jobsOption.default})
96
95
  --force Regenerate all agent notes
97
- --skip-safety-checks
98
- Use Cursor without compatibility or boundary checks
99
96
  --support-record Print a safe record if agent notes fail
100
97
  --support-record-file FILE
101
98
  Write a safe record if agent notes fail
@@ -114,8 +111,8 @@ Automatic agent selection:
114
111
  codex, claude, copilot, cursor, opencode
115
112
 
116
113
  Cursor:
117
- Requires Cursor Agent 2026.08.11 or newer and a passing boundary canary.
118
- Cursor contacts its service, but its review tools cannot access the host.
114
+ Requires Cursor Agent 2026.08.11 or newer. Uses the signed-in CLI in the
115
+ user's home. Cursor still contacts its service.
119
116
 
120
117
  Examples:
121
118
  diffsplain
@@ -274,9 +271,6 @@ export function parseCliArgs(
274
271
  if (noAgent && options.has('--summaries')) {
275
272
  fail('--no-agent cannot be used with --summaries');
276
273
  }
277
- if (options.has('--skip-safety-checks') && agent !== 'cursor') {
278
- fail('--skip-safety-checks requires --agent cursor');
279
- }
280
274
  if (
281
275
  noAgent &&
282
276
  (options.has('--support-record') ||
@@ -374,9 +368,6 @@ export function parseCliArgs(
374
368
  }
375
369
  const agentArgs = [...commonArgs];
376
370
  if (options.has('--force')) agentArgs.push('--force');
377
- if (options.has('--skip-safety-checks')) {
378
- agentArgs.push('--skip-safety-checks');
379
- }
380
371
  for (const name of [
381
372
  '--codex-bin',
382
373
  '--model',
@@ -481,6 +472,5 @@ export function parseCliArgs(
481
472
  host,
482
473
  browserEnabled: !options.has('--no-browser'),
483
474
  forceSummaryRegeneration: options.has('--force'),
484
- skipSafetyChecks: options.has('--skip-safety-checks'),
485
475
  };
486
476
  }
@@ -7,7 +7,6 @@ import {
7
7
  dirname,
8
8
  isAbsolute,
9
9
  join,
10
- resolve,
11
10
  } from 'node:path';
12
11
 
13
12
  export const codingAgentCapabilities = {
@@ -63,41 +62,9 @@ export function summaryAgentEnvironment(env = process.env) {
63
62
  );
64
63
  }
65
64
 
66
- export function cursorAuthPaths(
67
- home,
68
- {
69
- env = process.env,
70
- platform = process.platform,
71
- } = {},
72
- ) {
73
- if (platform === 'linux') {
74
- const configHome = env.XDG_CONFIG_HOME ||
75
- (env.HOME ? resolve(env.HOME, '.config') : undefined);
76
- return configHome
77
- ? {
78
- source: resolve(configHome, 'cursor', 'auth.json'),
79
- destination: resolve(home, '.config', 'cursor', 'auth.json'),
80
- }
81
- : undefined;
82
- }
83
- if (platform === 'win32') {
84
- const roaming = env.APPDATA ||
85
- (env.USERPROFILE
86
- ? resolve(env.USERPROFILE, 'AppData', 'Roaming')
87
- : undefined);
88
- return roaming
89
- ? {
90
- source: resolve(roaming, 'Cursor', 'auth.json'),
91
- destination: resolve(home, 'AppData', 'Roaming', 'Cursor', 'auth.json'),
92
- }
93
- : undefined;
94
- }
95
- return undefined;
96
- }
97
-
98
65
  const minimumCursorVersion = [2026, 8, 11];
99
- const cursorBoundarySummary =
100
- 'Cursor needs Ask mode, a read-only sandbox, isolated settings, denied tools, and the hostile boundary canary.';
66
+ const cursorRequirementSummary =
67
+ 'Cursor needs version 2026.08.11 or newer with Ask mode, --sandbox, --trust, and --workspace.';
101
68
 
102
69
  export const enabledCodingAgents = codingAgents;
103
70
 
@@ -121,8 +88,8 @@ function versionAtLeast(current, minimum) {
121
88
  return true;
122
89
  }
123
90
 
124
- function cursorBoundaryError(detail) {
125
- return `Cursor review boundary is incompatible: ${detail} ${cursorBoundarySummary} Upgrade Cursor Agent.`;
91
+ function cursorCompatibilityError(detail) {
92
+ return `Cursor Agent is incompatible: ${detail} ${cursorRequirementSummary} Upgrade Cursor Agent.`;
126
93
  }
127
94
 
128
95
  export function inspectCursorCompatibility(
@@ -146,7 +113,7 @@ export function inspectCursorCompatibility(
146
113
  return {
147
114
  compatible: false,
148
115
  version,
149
- reason: cursorBoundaryError('The version check failed.'),
116
+ reason: cursorCompatibilityError('The version check failed.'),
150
117
  };
151
118
  }
152
119
  const parts = cursorVersionParts(version);
@@ -154,7 +121,7 @@ export function inspectCursorCompatibility(
154
121
  return {
155
122
  compatible: false,
156
123
  version,
157
- reason: cursorBoundaryError(
124
+ reason: cursorCompatibilityError(
158
125
  `Found ${version}; version 2026.08.11 or newer is required.`,
159
126
  ),
160
127
  };
@@ -165,7 +132,7 @@ export function inspectCursorCompatibility(
165
132
  return {
166
133
  compatible: false,
167
134
  version,
168
- reason: cursorBoundaryError('The CLI help check failed.'),
135
+ reason: cursorCompatibilityError('The CLI help check failed.'),
169
136
  };
170
137
  }
171
138
  const requiredHelp = [
@@ -173,9 +140,10 @@ export function inspectCursorCompatibility(
173
140
  ['"ask"', 'Ask mode'],
174
141
  ['--sandbox <mode>', 'sandbox control'],
175
142
  ['"enabled"', 'sandbox control'],
176
- ['--workspace <path-or-name>', 'workspace isolation'],
143
+ ['--workspace <path-or-name>', 'workspace selection'],
177
144
  ['--output-format <format>', 'structured output'],
178
145
  ['--model <model>', 'model selection'],
146
+ ['--trust', 'workspace trust control'],
179
147
  ];
180
148
  const missing = requiredHelp
181
149
  .filter(([text]) => !help.includes(text))
@@ -184,7 +152,7 @@ export function inspectCursorCompatibility(
184
152
  return {
185
153
  compatible: false,
186
154
  version,
187
- reason: cursorBoundaryError(
155
+ reason: cursorCompatibilityError(
188
156
  `The CLI lacks ${[...new Set(missing)].join(', ')}.`,
189
157
  ),
190
158
  };
@@ -249,7 +217,6 @@ export async function codingAgentAvailability(
249
217
  binary = codingAgentBinary(agent),
250
218
  env = process.env,
251
219
  platform = process.platform,
252
- skipSafetyChecks = false,
253
220
  } = {},
254
221
  ) {
255
222
  const path = await findCommand(binary, { env, platform });
@@ -257,9 +224,6 @@ export async function codingAgentAvailability(
257
224
  if (agent !== 'cursor') {
258
225
  return { available: true, installed: true, path };
259
226
  }
260
- if (skipSafetyChecks) {
261
- return { available: true, installed: true, path };
262
- }
263
227
  const inspection = inspectCursorCompatibility(path, { env });
264
228
  return {
265
229
  available: inspection.compatible,
@@ -329,12 +293,29 @@ export function codingAgentBinary(
329
293
  );
330
294
  }
331
295
 
296
+ function extractJsonValue(text) {
297
+ const start = text.search(/[{[]/);
298
+ if (start === -1) return undefined;
299
+ const opening = text[start];
300
+ const closing = opening === '{' ? '}' : ']';
301
+ const end = text.lastIndexOf(closing);
302
+ if (end <= start) return undefined;
303
+ try {
304
+ return JSON.parse(text.slice(start, end + 1));
305
+ } catch {
306
+ return undefined;
307
+ }
308
+ }
309
+
332
310
  function parseJsonText(text, agent) {
333
311
  const trimmed = text.trim();
334
312
  const fenced = trimmed.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);
313
+ const candidate = fenced ? fenced[1] : trimmed;
335
314
  try {
336
- return JSON.parse(fenced ? fenced[1] : trimmed);
315
+ return JSON.parse(candidate);
337
316
  } catch {
317
+ const extracted = extractJsonValue(candidate);
318
+ if (extracted !== undefined) return extracted;
338
319
  throw new Error(`${agent} did not return valid summary JSON`);
339
320
  }
340
321
  }
@@ -393,12 +374,7 @@ function parseCursorResponse(stdout) {
393
374
  const trimmed = stdout.trim();
394
375
  const lines = trimmed.split('\n').filter(Boolean);
395
376
  if (lines.length > 1) {
396
- const parsed = parseCursorStreamResponse(trimmed);
397
- const toolCall = parsed.events.find((event) => event.type === 'tool_call');
398
- if (toolCall) {
399
- throw new Error('Cursor emitted an unexpected tool call');
400
- }
401
- return parsed.response;
377
+ return parseCursorStreamResponse(trimmed).response;
402
378
  }
403
379
  const envelope = parseJsonText(trimmed, 'Cursor');
404
380
  if (typeof envelope?.result === 'string') {
@@ -590,17 +566,14 @@ function cursorCommand({
590
566
  'ask',
591
567
  '--sandbox',
592
568
  'enabled',
569
+ '--trust',
593
570
  '--workspace',
594
571
  summaryDirectory,
595
572
  ];
596
573
  if (model) args.push('--model', model);
597
574
  args.push(
598
- `${prompt}\n\nThe snapshot JSON follows this prompt on standard input. Return JSON that matches this schema:\n${JSON.stringify(schema)}`,
575
+ `${prompt}\n\nRead the snapshot JSON from ${basename(inputPath)} in this workspace. Return JSON that matches this schema:\n${JSON.stringify(schema)}`,
599
576
  );
600
- const controlDirectory = join(dirname(summaryDirectory), 'cursor-control');
601
- const home = join(controlDirectory, 'home');
602
- const temporary = join(controlDirectory, 'tmp');
603
- const invocationName = basename(inputPath).replace(/[^A-Za-z0-9.-]/g, '-');
604
577
  return {
605
578
  command: binary,
606
579
  args,
@@ -608,16 +581,10 @@ function cursorCommand({
608
581
  cwd: summaryDirectory,
609
582
  env: {
610
583
  ...summaryEnv,
611
- HOME: home,
612
- USERPROFILE: home,
613
- APPDATA: join(home, 'AppData', 'Roaming'),
614
- LOCALAPPDATA: join(home, 'AppData', 'Local'),
615
- XDG_CONFIG_HOME: join(home, '.config'),
616
- CURSOR_CONFIG_DIR: join(controlDirectory, 'config'),
617
- CURSOR_DATA_DIR: join(controlDirectory, `data-${invocationName}`),
618
- TEMP: temporary,
619
- TMP: temporary,
620
- TMPDIR: temporary,
584
+ ...(sourceEnv.XDG_CONFIG_HOME
585
+ ? { XDG_CONFIG_HOME: sourceEnv.XDG_CONFIG_HOME }
586
+ : {}),
587
+ ...(sourceEnv.APPDATA ? { APPDATA: sourceEnv.APPDATA } : {}),
621
588
  ...(sourceEnv.CURSOR_API_KEY
622
589
  ? { CURSOR_API_KEY: sourceEnv.CURSOR_API_KEY }
623
590
  : {}),