agent-afk 5.360.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/README.md +12 -7
  2. package/dist/agent/background-summarizer.d.ts +0 -2
  3. package/dist/agent/daemon/failure-streak-threshold.d.ts +14 -0
  4. package/dist/agent/daemon/schedule-store.d.ts +3 -1
  5. package/dist/agent/daemon/scheduler.d.ts +11 -3
  6. package/dist/agent/daemon/scheduler.execute-agent-task.d.ts +1 -2
  7. package/dist/agent/daemon/scheduler.failure-streak.d.ts +37 -0
  8. package/dist/agent/daemon/scheduler.notification.d.ts +23 -0
  9. package/dist/agent/daemon/scheduler.pull-tick.d.ts +3 -1
  10. package/dist/agent/daemon/scheduler.streak-history.d.ts +19 -0
  11. package/dist/agent/daemon/scheduler.telemetry.d.ts +5 -0
  12. package/dist/agent/daemon/session-spawn.d.ts +0 -2
  13. package/dist/agent/daemon/triggers.d.ts +1 -0
  14. package/dist/agent/daemon.shell-trust.d.ts +17 -0
  15. package/dist/agent/default-hook-registry.d.ts +0 -2
  16. package/dist/agent/lsp/client.d.ts +2 -0
  17. package/dist/agent/lsp/crash-loop-guard.d.ts +21 -0
  18. package/dist/agent/lsp/pool.d.ts +3 -0
  19. package/dist/agent/session/ledger-lifecycle.d.ts +2 -0
  20. package/dist/agent/session/prompt-dump.d.ts +1 -0
  21. package/dist/agent/session/session-send.d.ts +1 -1
  22. package/dist/agent/session/turn-stream-runner.abandoned-turn.d.ts +59 -0
  23. package/dist/agent/session/turn-stream-runner.d.ts +8 -1
  24. package/dist/agent/session/turn-stream-runner.fatal-done.d.ts +1 -0
  25. package/dist/agent/session/wire-executors.d.ts +2 -1
  26. package/dist/agent/subagent/continuation-guards.d.ts +4 -2
  27. package/dist/agent/subagent/fork-child-config.d.ts +1 -0
  28. package/dist/agent/subagent/identity-preamble.d.ts +2 -1
  29. package/dist/agent/subagent/identity-preamble.worktree.d.ts +1 -1
  30. package/dist/agent/terminal-state-gate.d.ts +0 -2
  31. package/dist/agent/timeout.d.ts +2 -0
  32. package/dist/agent/tools/compose-executor.context.d.ts +2 -1
  33. package/dist/agent/tools/compose-node-provider.d.ts +1 -0
  34. package/dist/agent/tools/dispatcher.pre-dispatch-gates.can-use-tool.d.ts +3 -0
  35. package/dist/agent/tools/dispatcher.pre-dispatch-gates.d.ts +1 -0
  36. package/dist/agent/tools/handlers/git-read.exec-guard.d.ts +14 -0
  37. package/dist/agent/tools/nesting.can-use-tool.d.ts +38 -0
  38. package/dist/agent/tools/nesting.d.ts +6 -5
  39. package/dist/agent/tools/subagent-executor.execute-once.fork-gate.d.ts +2 -0
  40. package/dist/agent/types/sdk-types.d.ts +1 -1
  41. package/dist/agent/types/session-types.d.ts +1 -1
  42. package/dist/browser/sanitize.d.ts +0 -1
  43. package/dist/bundled-plugins/awa-bundled/skills/ship/SKILL.md +7 -2
  44. package/dist/cli/auth-wizard.check.d.ts +4 -0
  45. package/dist/cli/auth-wizard.daemon.d.ts +1 -0
  46. package/dist/cli/auth-wizard.guided.d.ts +2 -0
  47. package/dist/cli/auth-wizard.prompt.d.ts +1 -0
  48. package/dist/cli/commands/acp.d.ts +1 -0
  49. package/dist/cli/commands/acp.diff.d.ts +3 -0
  50. package/dist/cli/commands/acp.handlers.d.ts +39 -0
  51. package/dist/cli/commands/acp.lines.d.ts +10 -0
  52. package/dist/cli/commands/acp.params.d.ts +17 -0
  53. package/dist/cli/commands/acp.permission.d.ts +7 -0
  54. package/dist/cli/commands/acp.permission.git.d.ts +2 -0
  55. package/dist/cli/commands/acp.permission.grants.d.ts +5 -0
  56. package/dist/cli/commands/acp.permission.labels.d.ts +5 -0
  57. package/dist/cli/commands/acp.permission.paths.d.ts +7 -0
  58. package/dist/cli/commands/acp.permission.policy.d.ts +7 -0
  59. package/dist/cli/commands/acp.permission.realpath.d.ts +7 -0
  60. package/dist/cli/commands/acp.permission.sensitive.d.ts +6 -0
  61. package/dist/cli/commands/acp.prompt-turn.d.ts +30 -0
  62. package/dist/cli/commands/acp.replay.d.ts +4 -0
  63. package/dist/cli/commands/acp.rpc-peer.d.ts +7 -0
  64. package/dist/cli/commands/acp.server.console.d.ts +2 -0
  65. package/dist/cli/commands/acp.server.d.ts +5 -2
  66. package/dist/cli/commands/acp.server.protocol.d.ts +23 -39
  67. package/dist/cli/commands/acp.session-load.d.ts +7 -0
  68. package/dist/cli/commands/acp.session-map.d.ts +9 -0
  69. package/dist/cli/commands/acp.session-record.d.ts +5 -0
  70. package/dist/cli/commands/acp.session.d.ts +11 -0
  71. package/dist/cli/commands/acp.session.mcp.d.ts +4 -0
  72. package/dist/cli/commands/acp.session.prompt.d.ts +6 -0
  73. package/dist/cli/commands/acp.session.provider.d.ts +2 -0
  74. package/dist/cli/commands/acp.session.resources.d.ts +12 -0
  75. package/dist/cli/commands/acp.tool-kind.d.ts +4 -0
  76. package/dist/cli/commands/acp.tool-title.d.ts +6 -0
  77. package/dist/cli/commands/acp.translate.bounds.d.ts +9 -0
  78. package/dist/cli/commands/acp.translate.d.ts +5 -0
  79. package/dist/cli/commands/acp.translate.paths.d.ts +3 -0
  80. package/dist/cli/commands/acp.translate.terminal.d.ts +5 -0
  81. package/dist/cli/commands/acp.wire.d.ts +266 -0
  82. package/dist/cli/commands/daemon.action.d.ts +2 -0
  83. package/dist/cli/commands/doctor-checks.subsystem.d.ts +3 -0
  84. package/dist/cli/commands/schedule.health.d.ts +4 -0
  85. package/dist/cli/config/permission-mode-warning.d.ts +5 -0
  86. package/dist/cli/permission-mode-cycle.d.ts +1 -1
  87. package/dist/cli/provider-parser.d.ts +1 -0
  88. package/dist/cli/render/status-line-format.d.ts +0 -2
  89. package/dist/cli/wrap.d.ts +1 -0
  90. package/dist/cli.mjs +640 -634
  91. package/dist/index.mjs +432 -433
  92. package/dist/paths.d.ts +1 -1
  93. package/dist/paths.journal.d.ts +2 -0
  94. package/dist/remote/remote-subagent-handle.d.ts +1 -0
  95. package/dist/skills/mint/_phases/child-gate.d.ts +10 -0
  96. package/dist/skills/skill-types.d.ts +2 -0
  97. package/dist/telegram/bot.d.ts +0 -5
  98. package/dist/telegram.mjs +452 -459
  99. package/dist/web-server/session-owner.d.ts +1 -0
  100. package/dist/web-server/session-owner.provider.d.ts +18 -0
  101. package/dist/web-server/session-owner.wiring.d.ts +2 -1
  102. package/dist/web-server/shared/ledger-adapter.d.ts +1 -0
  103. package/dist/web-ui-assets/assets/{angular-html-D3r_OvVu.js → angular-html-C85Dugk9.js} +1 -1
  104. package/dist/web-ui-assets/assets/{angular-ts-CYYKmYCY.js → angular-ts-kYjKxpAq.js} +1 -1
  105. package/dist/web-ui-assets/assets/{apl-Qebclc6H.js → apl-H6xD6R6W.js} +1 -1
  106. package/dist/web-ui-assets/assets/{astro-EC7rA9tr.js → astro-DQe_HbEs.js} +1 -1
  107. package/dist/web-ui-assets/assets/{blade-3LEHciyw.js → blade-4-tvsLmi.js} +1 -1
  108. package/dist/web-ui-assets/assets/{c-BMHvDp3M.js → c-gik9xvSm.js} +1 -1
  109. package/dist/web-ui-assets/assets/{chapel-DIdY1czS.js → chapel-CNhK8GmZ.js} +1 -1
  110. package/dist/web-ui-assets/assets/{cobol-B4veGjea.js → cobol-CFRrQwTf.js} +1 -1
  111. package/dist/web-ui-assets/assets/{coffee-CTW65drd.js → coffee-CIS9zt6C.js} +1 -1
  112. package/dist/web-ui-assets/assets/{cpp-UFv8IcpT.js → cpp-BJGKcaQ2.js} +1 -1
  113. package/dist/web-ui-assets/assets/{crystal-CAl2astP.js → crystal-DrshRrYd.js} +1 -1
  114. package/dist/web-ui-assets/assets/{css-W4FP-8b5.js → css-RSoGQ9CU.js} +1 -1
  115. package/dist/web-ui-assets/assets/{dist-CL6azZY0.js → dist-CJdV1FJY.js} +2 -2
  116. package/dist/web-ui-assets/assets/{edge-BHV7W1lD.js → edge-D5Mh5hW4.js} +1 -1
  117. package/dist/web-ui-assets/assets/{elixir-BSeMK1dJ.js → elixir-CVxXxJNz.js} +1 -1
  118. package/dist/web-ui-assets/assets/{elm-DBbEnhG_.js → elm-Dlo4E_41.js} +1 -1
  119. package/dist/web-ui-assets/assets/{erb-prErkLIh.js → erb-ByL9xu2F.js} +1 -1
  120. package/dist/web-ui-assets/assets/{git-rebase-C2YnmdYZ.js → git-rebase-OuLy99Ny.js} +1 -1
  121. package/dist/web-ui-assets/assets/{glimmer-js-UE5yPqqs.js → glimmer-js-BNMbvc5A.js} +1 -1
  122. package/dist/web-ui-assets/assets/{glimmer-ts-CHUC7ee4.js → glimmer-ts-LWNvX4Gj.js} +1 -1
  123. package/dist/web-ui-assets/assets/{glsl-BP7hWcQl.js → glsl-DZr3GrVI.js} +1 -1
  124. package/dist/web-ui-assets/assets/{graphql-B2mDXSlF.js → graphql-CI8lFP8J.js} +1 -1
  125. package/dist/web-ui-assets/assets/{hack-CYmItAIT.js → hack-tDxt7H8D.js} +1 -1
  126. package/dist/web-ui-assets/assets/{haml-BE55kcBt.js → haml-DkI1Wtrk.js} +1 -1
  127. package/dist/web-ui-assets/assets/{handlebars-HqWAfmn0.js → handlebars-CRsZz40e.js} +1 -1
  128. package/dist/web-ui-assets/assets/{html-DQqmUNra.js → html-BIypIehr.js} +1 -1
  129. package/dist/web-ui-assets/assets/{html-derivative-DHtOwb02.js → html-derivative-rr2iMJpd.js} +1 -1
  130. package/dist/web-ui-assets/assets/{http-qsOPQWSh.js → http-D6S54Bbx.js} +1 -1
  131. package/dist/web-ui-assets/assets/{hurl-CLG0zR7e.js → hurl-BSshBRHD.js} +1 -1
  132. package/dist/web-ui-assets/assets/index-DxbrAlfz.js +94 -0
  133. package/dist/web-ui-assets/assets/{java-CIoYCZPE.js → java-EtJoHQZR.js} +1 -1
  134. package/dist/web-ui-assets/assets/{javascript-BiSgC3HH.js → javascript-CLpqmXE0.js} +1 -1
  135. package/dist/web-ui-assets/assets/{jinja-uoMhNXH1.js → jinja-PA6irl9u.js} +1 -1
  136. package/dist/web-ui-assets/assets/{jison-62dtSwty.js → jison-DxqwpCqh.js} +1 -1
  137. package/dist/web-ui-assets/assets/{json-Cxps7Vp_.js → json-B6fuMtpU.js} +1 -1
  138. package/dist/web-ui-assets/assets/{jsx-i4FhzmZ3.js → jsx-BJyOE1yn.js} +1 -1
  139. package/dist/web-ui-assets/assets/{julia-4eQbL51O.js → julia-DHqh2B7-.js} +1 -1
  140. package/dist/web-ui-assets/assets/{just-DuzaqAD6.js → just-CSPu2IZ4.js} +1 -1
  141. package/dist/web-ui-assets/assets/{latex-DR1YiBEA.js → latex-1lJzG2hL.js} +1 -1
  142. package/dist/web-ui-assets/assets/{liquid-BCJgC6HS.js → liquid-D9Ciy6uZ.js} +1 -1
  143. package/dist/web-ui-assets/assets/{lua-BC4drQZp.js → lua-CFjUSwQg.js} +1 -1
  144. package/dist/web-ui-assets/assets/{marko-DtJIqB68.js → marko-CfzAx6nq.js} +1 -1
  145. package/dist/web-ui-assets/assets/{mdc-CYBfAC3q.js → mdc-CJ7N65mG.js} +1 -1
  146. package/dist/web-ui-assets/assets/{nginx-CMR593MB.js → nginx-BMoA9yN9.js} +1 -1
  147. package/dist/web-ui-assets/assets/{nim-BbUeXd8c.js → nim-BDzXDiN9.js} +1 -1
  148. package/dist/web-ui-assets/assets/{org-oHqhaY5K.js → org-DqkXzdx7.js} +1 -1
  149. package/dist/web-ui-assets/assets/{perl-DE4Fx5iS.js → perl-BfDhtEbl.js} +1 -1
  150. package/dist/web-ui-assets/assets/{php-rh-d5On6.js → php-CG-iT0bZ.js} +1 -1
  151. package/dist/web-ui-assets/assets/{pug-8Ni7Ix1b.js → pug-CwR1_59V.js} +1 -1
  152. package/dist/web-ui-assets/assets/{qml-CrGNXQfX.js → qml-CSHgad12.js} +1 -1
  153. package/dist/web-ui-assets/assets/{r-BiZL36Lf.js → r-DIjvsd-X.js} +1 -1
  154. package/dist/web-ui-assets/assets/{razor-DnQFAjmg.js → razor-Dr-UE982.js} +1 -1
  155. package/dist/web-ui-assets/assets/{regexp-ZehcoqOu.js → regexp-CNiPgECb.js} +1 -1
  156. package/dist/web-ui-assets/assets/{rst-BHnIys2E.js → rst-BFhRD-Dc.js} +1 -1
  157. package/dist/web-ui-assets/assets/{ruby-CQjEBqXf.js → ruby-6gDBsBPK.js} +1 -1
  158. package/dist/web-ui-assets/assets/{sas-DDw_qWwd.js → sas-BH8HGnTp.js} +1 -1
  159. package/dist/web-ui-assets/assets/{scss-Buc-D2q0.js → scss-DHyUaYhk.js} +1 -1
  160. package/dist/web-ui-assets/assets/{shellscript-DSdjoUZi.js → shellscript-C6y3E5Sv.js} +1 -1
  161. package/dist/web-ui-assets/assets/{shellsession-Dlf5ZOd7.js → shellsession-DHS7GsE9.js} +1 -1
  162. package/dist/web-ui-assets/assets/{soy-BtqthtDI.js → soy-C2tuyyR2.js} +1 -1
  163. package/dist/web-ui-assets/assets/{sql-Wbs3a-2M.js → sql-DccA9zc6.js} +1 -1
  164. package/dist/web-ui-assets/assets/{stata-CZQadxtE.js → stata-CSDjFjIS.js} +1 -1
  165. package/dist/web-ui-assets/assets/{surrealql-BHX1_keB.js → surrealql-Deemb84V.js} +1 -1
  166. package/dist/web-ui-assets/assets/{svelte-5Gzb7jP2.js → svelte-Di-dGYfQ.js} +1 -1
  167. package/dist/web-ui-assets/assets/{templ-6-2sxD2t.js → templ-nltc8MkE.js} +1 -1
  168. package/dist/web-ui-assets/assets/{tex-s7OSL_QU.js → tex-CCk-q3gk.js} +1 -1
  169. package/dist/web-ui-assets/assets/{ts-tags-ILSDF7eF.js → ts-tags-BTslhx07.js} +1 -1
  170. package/dist/web-ui-assets/assets/{tsx-Ba3RCOh1.js → tsx-DTO7ESyr.js} +1 -1
  171. package/dist/web-ui-assets/assets/{twig-B5Q27p1D.js → twig-12YiESYn.js} +1 -1
  172. package/dist/web-ui-assets/assets/{typescript-BGZwH6By.js → typescript-DomHOzpY.js} +1 -1
  173. package/dist/web-ui-assets/assets/{typst-BNUBq5yx.js → typst-DnLdDQm5.js} +1 -1
  174. package/dist/web-ui-assets/assets/{vue-BWxalE-A.js → vue-BNvjzHNk.js} +1 -1
  175. package/dist/web-ui-assets/assets/{vue-html-Czl3_Xc-.js → vue-html-C0QzS-K2.js} +1 -1
  176. package/dist/web-ui-assets/assets/{vue-vine-DbFJFkgw.js → vue-vine-BeCf67d3.js} +1 -1
  177. package/dist/web-ui-assets/assets/{xml-_-I97g00.js → xml-_WZueolK.js} +1 -1
  178. package/dist/web-ui-assets/assets/{xsl-BS-NWXy1.js → xsl-CmPrFugX.js} +1 -1
  179. package/dist/web-ui-assets/assets/{yaml-Dru6aRB_.js → yaml-C74a4W5w.js} +1 -1
  180. package/dist/web-ui-assets/index.html +1 -1
  181. package/package.json +1 -1
  182. package/dist/agent/afk-mode-gate.d.ts +0 -17
  183. package/dist/agent/afk-mode-rm-allowlist.d.ts +0 -1
  184. package/dist/agent/daemon/scheduler-gate-recovery.d.ts +0 -20
  185. package/dist/agent/providers/anthropic-direct/afk-mode-addendum.d.ts +0 -1
  186. package/dist/agent/providers/shared/afk-mode-addendum.d.ts +0 -3
  187. package/dist/agent/redact-secrets.d.ts +0 -2
  188. package/dist/agent/trace/block-evasion-analyzer.d.ts +0 -48
  189. package/dist/cli/afk-mode-toggle.d.ts +0 -2
  190. package/dist/cli/slash/commands/afk.d.ts +0 -2
  191. package/dist/telegram/handlers/afk.d.ts +0 -5
  192. package/dist/web-ui-assets/assets/index-CrFMdDLW.js +0 -94
@@ -1 +1 @@
1
- import{l as e}from"./index-CrFMdDLW.js";import{t}from"./javascript-BiSgC3HH.js";import{t as n}from"./typescript-BGZwH6By.js";import{t as r}from"./jsx-i4FhzmZ3.js";import{t as i}from"./tsx-Ba3RCOh1.js";var a=e({default:()=>s}),o=Object.freeze(JSON.parse(`{"displayName":"GraphQL","fileTypes":["graphql","graphqls","gql","graphcool"],"name":"graphql","patterns":[{"include":"#graphql"}],"repository":{"graphql":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-fragment-definition"},{"include":"#graphql-directive-definition"},{"include":"#graphql-type-interface"},{"include":"#graphql-enum"},{"include":"#graphql-scalar"},{"include":"#graphql-union"},{"include":"#graphql-schema"},{"include":"#graphql-operation-def"},{"include":"#literal-quasi-embedded"}]},"graphql-ampersand":{"captures":{"1":{"name":"keyword.operator.logical.graphql"}},"match":"\\\\s*(&)"},"graphql-arguments":{"begin":"\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"end":"\\\\s*(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"name":"meta.arguments.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"},"2":{"name":"punctuation.colon.graphql"}},"end":"(?=\\\\s*(?:([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)|\\\\)))|\\\\s*(,)","endCaptures":{"3":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-value"},{"include":"#graphql-skip-newlines"}]},{"include":"#literal-quasi-embedded"}]},"graphql-boolean-value":{"captures":{"1":{"name":"constant.language.boolean.graphql"}},"match":"\\\\s*\\\\b(true|false)\\\\b"},"graphql-colon":{"captures":{"1":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*(:)"},"graphql-comma":{"captures":{"1":{"name":"punctuation.comma.graphql"}},"match":"\\\\s*(,)"},"graphql-comment":{"patterns":[{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"match":"(\\\\s*)(#).*","name":"comment.line.graphql.js"},{"begin":"(\\"\\"\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\"\\"\\")","name":"comment.line.graphql.js"},{"begin":"(\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\")","name":"comment.line.graphql.js"}]},"graphql-description-docstring":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"comment.block.graphql"},"graphql-description-singleline":{"match":"#(?=([^\\"]*\\"[^\\"]*\\")*[^\\"]*$).*$","name":"comment.line.number-sign.graphql"},"graphql-directive":{"applyEndPatternLast":1,"begin":"\\\\s*((@)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))","beginCaptures":{"1":{"name":"entity.name.function.directive.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-arguments"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-directive-definition":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(directive)\\\\b\\\\s*(@[A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.directive.graphql"},"2":{"name":"entity.name.function.directive.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-variable-definitions"},{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.on.graphql"},"2":{"name":"support.type.location.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"},{"captures":{"2":{"name":"support.type.location.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z]*)"}]},{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"}]},"graphql-enum":{"begin":"\\\\s*+\\\\b(enum)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.enum.graphql"},"2":{"name":"support.type.enum.graphql"}},"end":"(?<=})","name":"meta.enum.graphql","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-object-type"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-enum-value"},{"include":"#literal-quasi-embedded"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"}]},"graphql-enum-value":{"match":"\\\\s*(?!=\\\\b(true|false|null)\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","name":"constant.character.enum.graphql"},"graphql-field":{"patterns":[{"captures":{"1":{"name":"string.unquoted.alias.graphql"},"2":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)"},{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-arguments"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-float-value":{"captures":{"1":{"name":"constant.numeric.float.graphql"}},"match":"\\\\s*(-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?(([Ee])([-+])?[0-9]+)?)"},"graphql-fragment-definition":{"begin":"\\\\s*\\\\b(fragment)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.fragment.graphql"},"2":{"name":"entity.name.fragment.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?<=})","name":"meta.fragment.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-fragment-spread":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?!\\\\bon\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"variable.fragment.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{"match":"\\\\s*"},"graphql-inline-fragment":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?:\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))?","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"keyword.on.graphql"},"3":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-input-types":{"patterns":[{"include":"#graphql-scalar-type"},{"captures":{"1":{"name":"support.type.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?:\\\\s*(!))?"},{"begin":"\\\\s*(\\\\[)","captures":{"1":{"name":"meta.brace.square.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"end":"\\\\s*(])(?:\\\\s*(!))?","name":"meta.type.list.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-input-types"},{"include":"#graphql-comma"},{"include":"#literal-quasi-embedded"}]}]},"graphql-list-value":{"patterns":[{"begin":"\\\\s*+(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.graphql"}},"end":"\\\\s*(])","endCaptures":{"1":{"name":"meta.brace.square.graphql"}},"name":"meta.listvalues.graphql","patterns":[{"include":"#graphql-value"}]}]},"graphql-name":{"captures":{"1":{"name":"entity.name.function.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-null-value":{"captures":{"1":{"name":"constant.language.null.graphql"}},"match":"\\\\s*\\\\b(null)\\\\b"},"graphql-object-field":{"captures":{"1":{"name":"constant.object.key.graphql"},"2":{"name":"string.unquoted.graphql"},"3":{"name":"punctuation.graphql"}},"match":"\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*))\\\\s*(:)"},"graphql-object-value":{"patterns":[{"begin":"\\\\s*+(\\\\{)","beginCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"name":"meta.objectvalues.graphql","patterns":[{"include":"#graphql-object-field"},{"include":"#graphql-value"}]}]},"graphql-operation-def":{"patterns":[{"include":"#graphql-query-mutation"},{"include":"#graphql-name"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"}]},"graphql-query-mutation":{"captures":{"1":{"name":"keyword.operation.graphql"}},"match":"\\\\s*\\\\b(query|mutation)\\\\b"},"graphql-scalar":{"captures":{"1":{"name":"keyword.scalar.graphql"},"2":{"name":"entity.scalar.graphql"}},"match":"\\\\s*\\\\b(scalar)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-scalar-type":{"captures":{"1":{"name":"support.type.builtin.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*\\\\b(Int|Float|String|Boolean|ID)\\\\b(?:\\\\s*(!))?"},"graphql-schema":{"begin":"\\\\s*\\\\b(schema)\\\\b","beginCaptures":{"1":{"name":"keyword.schema.graphql"}},"end":"(?<=})","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"patterns":[{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.arguments.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-colon"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"}]},"graphql-selection-set":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.selectionset.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-field"},{"include":"#graphql-fragment-spread"},{"include":"#graphql-inline-fragment"},{"include":"#graphql-comma"},{"include":"#native-interpolation"},{"include":"#literal-quasi-embedded"}]},"graphql-skip-newlines":{"match":"\\\\s*\\\\n"},"graphql-string-content":{"patterns":[{"match":"\\\\\\\\[\\"'/\\\\\\\\bfnrt]","name":"constant.character.escape.graphql"},{"match":"\\\\\\\\u(\\\\h{4})","name":"constant.character.escape.graphql"}]},"graphql-string-value":{"begin":"\\\\s*+((\\"))","beginCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.begin.graphql"}},"contentName":"string.quoted.double.graphql","end":"\\\\s*+(?:((\\"))|(\\\\n))","endCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.end.graphql"},"3":{"name":"invalid.illegal.newline.graphql"}},"patterns":[{"include":"#graphql-string-content"},{"include":"#literal-quasi-embedded"}]},"graphql-type-definition":{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-type-object"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#literal-quasi-embedded"}]},"graphql-type-interface":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(?:(extends?)?\\\\b\\\\s*\\\\b(type)|(interface)|(input))\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?","captures":{"1":{"name":"keyword.type.graphql"},"2":{"name":"keyword.type.graphql"},"3":{"name":"keyword.interface.graphql"},"4":{"name":"keyword.input.graphql"},"5":{"name":"support.type.graphql"}},"end":"(?=.)","name":"meta.type.interface.graphql","patterns":[{"begin":"\\\\s*\\\\b(implements)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.implements.graphql"}},"end":"\\\\s*(?=\\\\{)","patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-ampersand"},{"include":"#graphql-comma"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-type-object"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-ignore-spaces"}]},"graphql-type-object":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-object-type"},{"include":"#graphql-type-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-union":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(union)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.union.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"applyEndPatternLast":1,"begin":"\\\\s*(=)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"punctuation.assignment.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"},{"captures":{"1":{"name":"punctuation.or.graphql"},"2":{"name":"support.type.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-union-mark":{"captures":{"1":{"name":"punctuation.union.graphql"}},"match":"\\\\s*(\\\\|)"},"graphql-value":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-variable-name"},{"include":"#graphql-float-value"},{"include":"#graphql-string-value"},{"include":"#graphql-boolean-value"},{"include":"#graphql-null-value"},{"include":"#graphql-enum-value"},{"include":"#graphql-list-value"},{"include":"#graphql-object-value"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-assignment":{"applyEndPatternLast":1,"begin":"\\\\s(=)","beginCaptures":{"1":{"name":"punctuation.assignment.graphql"}},"end":"(?=[\\\\n),])","patterns":[{"include":"#graphql-value"}]},"graphql-variable-definition":{"begin":"\\\\s*(\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"}},"end":"(?=\\\\s*((\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|([)}])))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"name":"meta.variables.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#graphql-variable-assignment"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-variable-definitions":{"begin":"\\\\s*(\\\\()","captures":{"1":{"name":"meta.brace.round.graphql"}},"end":"\\\\s*(\\\\))","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-variable-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-name":{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*(\\\\$[A-Z_a-z][0-9A-Z_a-z]*)"},"native-interpolation":{"begin":"\\\\s*(\\\\$\\\\{)","beginCaptures":{"1":{"name":"keyword.other.substitution.begin"}},"end":"(})","endCaptures":{"1":{"name":"keyword.other.substitution.end"}},"name":"native.interpolation","patterns":[{"include":"source.js"},{"include":"source.ts"},{"include":"source.js.jsx"},{"include":"source.tsx"}]}},"scopeName":"source.graphql","embeddedLangs":["javascript","typescript","jsx","tsx"],"aliases":["gql"]}`)),s=[...t,...n,...r,...i,o];export{a as n,s as t};
1
+ import{l as e}from"./index-DxbrAlfz.js";import{t}from"./javascript-CLpqmXE0.js";import{t as n}from"./typescript-DomHOzpY.js";import{t as r}from"./jsx-BJyOE1yn.js";import{t as i}from"./tsx-DTO7ESyr.js";var a=e({default:()=>s}),o=Object.freeze(JSON.parse(`{"displayName":"GraphQL","fileTypes":["graphql","graphqls","gql","graphcool"],"name":"graphql","patterns":[{"include":"#graphql"}],"repository":{"graphql":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-fragment-definition"},{"include":"#graphql-directive-definition"},{"include":"#graphql-type-interface"},{"include":"#graphql-enum"},{"include":"#graphql-scalar"},{"include":"#graphql-union"},{"include":"#graphql-schema"},{"include":"#graphql-operation-def"},{"include":"#literal-quasi-embedded"}]},"graphql-ampersand":{"captures":{"1":{"name":"keyword.operator.logical.graphql"}},"match":"\\\\s*(&)"},"graphql-arguments":{"begin":"\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"end":"\\\\s*(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.directive.graphql"}},"name":"meta.arguments.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"},"2":{"name":"punctuation.colon.graphql"}},"end":"(?=\\\\s*(?:([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)|\\\\)))|\\\\s*(,)","endCaptures":{"3":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-value"},{"include":"#graphql-skip-newlines"}]},{"include":"#literal-quasi-embedded"}]},"graphql-boolean-value":{"captures":{"1":{"name":"constant.language.boolean.graphql"}},"match":"\\\\s*\\\\b(true|false)\\\\b"},"graphql-colon":{"captures":{"1":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*(:)"},"graphql-comma":{"captures":{"1":{"name":"punctuation.comma.graphql"}},"match":"\\\\s*(,)"},"graphql-comment":{"patterns":[{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"match":"(\\\\s*)(#).*","name":"comment.line.graphql.js"},{"begin":"(\\"\\"\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\"\\"\\")","name":"comment.line.graphql.js"},{"begin":"(\\")","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.graphql"}},"end":"(\\")","name":"comment.line.graphql.js"}]},"graphql-description-docstring":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"comment.block.graphql"},"graphql-description-singleline":{"match":"#(?=([^\\"]*\\"[^\\"]*\\")*[^\\"]*$).*$","name":"comment.line.number-sign.graphql"},"graphql-directive":{"applyEndPatternLast":1,"begin":"\\\\s*((@)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))","beginCaptures":{"1":{"name":"entity.name.function.directive.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-arguments"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-directive-definition":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(directive)\\\\b\\\\s*(@[A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.directive.graphql"},"2":{"name":"entity.name.function.directive.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-variable-definitions"},{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.on.graphql"},"2":{"name":"support.type.location.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"},{"captures":{"2":{"name":"support.type.location.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z]*)"}]},{"include":"#graphql-skip-newlines"},{"include":"#graphql-comment"},{"include":"#literal-quasi-embedded"}]},"graphql-enum":{"begin":"\\\\s*+\\\\b(enum)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","beginCaptures":{"1":{"name":"keyword.enum.graphql"},"2":{"name":"support.type.enum.graphql"}},"end":"(?<=})","name":"meta.enum.graphql","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-object-type"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-enum-value"},{"include":"#literal-quasi-embedded"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"}]},"graphql-enum-value":{"match":"\\\\s*(?!=\\\\b(true|false|null)\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","name":"constant.character.enum.graphql"},"graphql-field":{"patterns":[{"captures":{"1":{"name":"string.unquoted.alias.graphql"},"2":{"name":"punctuation.colon.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*(:)"},{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-arguments"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-float-value":{"captures":{"1":{"name":"constant.numeric.float.graphql"}},"match":"\\\\s*(-?(0|[1-9][0-9]*)(\\\\.[0-9]+)?(([Ee])([-+])?[0-9]+)?)"},"graphql-fragment-definition":{"begin":"\\\\s*\\\\b(fragment)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?\\\\s*\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.fragment.graphql"},"2":{"name":"entity.name.fragment.graphql"},"3":{"name":"keyword.on.graphql"},"4":{"name":"support.type.graphql"}},"end":"(?<=})","name":"meta.fragment.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-fragment-spread":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?!\\\\bon\\\\b)([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"variable.fragment.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-ignore-spaces":{"match":"\\\\s*"},"graphql-inline-fragment":{"applyEndPatternLast":1,"begin":"\\\\s*(\\\\.\\\\.\\\\.)\\\\s*(?:\\\\b(on)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*))?","captures":{"1":{"name":"keyword.operator.spread.graphql"},"2":{"name":"keyword.on.graphql"},"3":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-selection-set"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-input-types":{"patterns":[{"include":"#graphql-scalar-type"},{"captures":{"1":{"name":"support.type.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?:\\\\s*(!))?"},{"begin":"\\\\s*(\\\\[)","captures":{"1":{"name":"meta.brace.square.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"end":"\\\\s*(])(?:\\\\s*(!))?","name":"meta.type.list.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-input-types"},{"include":"#graphql-comma"},{"include":"#literal-quasi-embedded"}]}]},"graphql-list-value":{"patterns":[{"begin":"\\\\s*+(\\\\[)","beginCaptures":{"1":{"name":"meta.brace.square.graphql"}},"end":"\\\\s*(])","endCaptures":{"1":{"name":"meta.brace.square.graphql"}},"name":"meta.listvalues.graphql","patterns":[{"include":"#graphql-value"}]}]},"graphql-name":{"captures":{"1":{"name":"entity.name.function.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-null-value":{"captures":{"1":{"name":"constant.language.null.graphql"}},"match":"\\\\s*\\\\b(null)\\\\b"},"graphql-object-field":{"captures":{"1":{"name":"constant.object.key.graphql"},"2":{"name":"string.unquoted.graphql"},"3":{"name":"punctuation.graphql"}},"match":"\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*))\\\\s*(:)"},"graphql-object-value":{"patterns":[{"begin":"\\\\s*+(\\\\{)","beginCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"meta.brace.curly.graphql"}},"name":"meta.objectvalues.graphql","patterns":[{"include":"#graphql-object-field"},{"include":"#graphql-value"}]}]},"graphql-operation-def":{"patterns":[{"include":"#graphql-query-mutation"},{"include":"#graphql-name"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-directive"},{"include":"#graphql-selection-set"}]},"graphql-query-mutation":{"captures":{"1":{"name":"keyword.operation.graphql"}},"match":"\\\\s*\\\\b(query|mutation)\\\\b"},"graphql-scalar":{"captures":{"1":{"name":"keyword.scalar.graphql"},"2":{"name":"entity.scalar.graphql"}},"match":"\\\\s*\\\\b(scalar)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},"graphql-scalar-type":{"captures":{"1":{"name":"support.type.builtin.graphql"},"2":{"name":"keyword.operator.nulltype.graphql"}},"match":"\\\\s*\\\\b(Int|Float|String|Boolean|ID)\\\\b(?:\\\\s*(!))?"},"graphql-schema":{"begin":"\\\\s*\\\\b(schema)\\\\b","beginCaptures":{"1":{"name":"keyword.schema.graphql"}},"end":"(?<=})","patterns":[{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"patterns":[{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.arguments.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-colon"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-skip-newlines"}]},"graphql-selection-set":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.selectionset.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-field"},{"include":"#graphql-fragment-spread"},{"include":"#graphql-inline-fragment"},{"include":"#graphql-comma"},{"include":"#native-interpolation"},{"include":"#literal-quasi-embedded"}]},"graphql-skip-newlines":{"match":"\\\\s*\\\\n"},"graphql-string-content":{"patterns":[{"match":"\\\\\\\\[\\"'/\\\\\\\\bfnrt]","name":"constant.character.escape.graphql"},{"match":"\\\\\\\\u(\\\\h{4})","name":"constant.character.escape.graphql"}]},"graphql-string-value":{"begin":"\\\\s*+((\\"))","beginCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.begin.graphql"}},"contentName":"string.quoted.double.graphql","end":"\\\\s*+(?:((\\"))|(\\\\n))","endCaptures":{"1":{"name":"string.quoted.double.graphql"},"2":{"name":"punctuation.definition.string.end.graphql"},"3":{"name":"invalid.illegal.newline.graphql"}},"patterns":[{"include":"#graphql-string-content"},{"include":"#literal-quasi-embedded"}]},"graphql-type-definition":{"begin":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.graphql"}},"end":"(?=\\\\s*(([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|(})))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-variable-definitions"},{"include":"#graphql-type-object"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#literal-quasi-embedded"}]},"graphql-type-interface":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(?:(extends?)?\\\\b\\\\s*\\\\b(type)|(interface)|(input))\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)?","captures":{"1":{"name":"keyword.type.graphql"},"2":{"name":"keyword.type.graphql"},"3":{"name":"keyword.interface.graphql"},"4":{"name":"keyword.input.graphql"},"5":{"name":"support.type.graphql"}},"end":"(?=.)","name":"meta.type.interface.graphql","patterns":[{"begin":"\\\\s*\\\\b(implements)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.implements.graphql"}},"end":"\\\\s*(?=\\\\{)","patterns":[{"captures":{"1":{"name":"support.type.graphql"}},"match":"\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-ampersand"},{"include":"#graphql-comma"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-type-object"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-ignore-spaces"}]},"graphql-type-object":{"begin":"\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"punctuation.operation.graphql"}},"end":"\\\\s*(})","endCaptures":{"1":{"name":"punctuation.operation.graphql"}},"name":"meta.type.object.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-object-type"},{"include":"#graphql-type-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-union":{"applyEndPatternLast":1,"begin":"\\\\s*\\\\b(union)\\\\b\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"keyword.union.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"applyEndPatternLast":1,"begin":"\\\\s*(=)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","captures":{"1":{"name":"punctuation.assignment.graphql"},"2":{"name":"support.type.graphql"}},"end":"(?=.)","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"},{"captures":{"1":{"name":"punctuation.or.graphql"},"2":{"name":"support.type.graphql"}},"match":"\\\\s*(\\\\|)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)"}]},{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-skip-newlines"},{"include":"#literal-quasi-embedded"}]},"graphql-union-mark":{"captures":{"1":{"name":"punctuation.union.graphql"}},"match":"\\\\s*(\\\\|)"},"graphql-value":{"patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-variable-name"},{"include":"#graphql-float-value"},{"include":"#graphql-string-value"},{"include":"#graphql-boolean-value"},{"include":"#graphql-null-value"},{"include":"#graphql-enum-value"},{"include":"#graphql-list-value"},{"include":"#graphql-object-value"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-assignment":{"applyEndPatternLast":1,"begin":"\\\\s(=)","beginCaptures":{"1":{"name":"punctuation.assignment.graphql"}},"end":"(?=[\\\\n),])","patterns":[{"include":"#graphql-value"}]},"graphql-variable-definition":{"begin":"\\\\s*(\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\(|:)","beginCaptures":{"1":{"name":"variable.parameter.graphql"}},"end":"(?=\\\\s*((\\\\$?[A-Z_a-z][0-9A-Z_a-z]*)\\\\s*([(:])|([)}])))|\\\\s*(,)","endCaptures":{"5":{"name":"punctuation.comma.graphql"}},"name":"meta.variables.graphql","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-directive"},{"include":"#graphql-colon"},{"include":"#graphql-input-types"},{"include":"#graphql-variable-assignment"},{"include":"#literal-quasi-embedded"},{"include":"#graphql-skip-newlines"}]},"graphql-variable-definitions":{"begin":"\\\\s*(\\\\()","captures":{"1":{"name":"meta.brace.round.graphql"}},"end":"\\\\s*(\\\\))","patterns":[{"include":"#graphql-comment"},{"include":"#graphql-description-docstring"},{"include":"#graphql-description-singleline"},{"include":"#graphql-variable-definition"},{"include":"#literal-quasi-embedded"}]},"graphql-variable-name":{"captures":{"1":{"name":"variable.graphql"}},"match":"\\\\s*(\\\\$[A-Z_a-z][0-9A-Z_a-z]*)"},"native-interpolation":{"begin":"\\\\s*(\\\\$\\\\{)","beginCaptures":{"1":{"name":"keyword.other.substitution.begin"}},"end":"(})","endCaptures":{"1":{"name":"keyword.other.substitution.end"}},"name":"native.interpolation","patterns":[{"include":"source.js"},{"include":"source.ts"},{"include":"source.js.jsx"},{"include":"source.tsx"}]}},"scopeName":"source.graphql","embeddedLangs":["javascript","typescript","jsx","tsx"],"aliases":["gql"]}`)),s=[...t,...n,...r,...i,o];export{a as n,s as t};