@pome-sh/cli 0.2.0 → 0.4.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 (1337) hide show
  1. package/README.md +14 -2
  2. package/dist/build-info.json +3 -3
  3. package/dist/src/cli/agent-identity.d.ts +20 -0
  4. package/dist/src/cli/agent-identity.js +59 -0
  5. package/dist/src/cli/agent-resolver.d.ts +26 -0
  6. package/dist/src/cli/agent-resolver.js +121 -0
  7. package/dist/src/cli/compile-seeds.js +1 -1
  8. package/dist/src/cli/credentials.d.ts +4 -0
  9. package/dist/src/cli/credentials.js +8 -0
  10. package/dist/src/cli/docs-topics.js +8 -2
  11. package/dist/src/cli/eval.d.ts +10 -6
  12. package/dist/src/cli/eval.js +21 -29
  13. package/dist/src/cli/frameworks.d.ts +12 -0
  14. package/dist/src/cli/frameworks.js +62 -0
  15. package/dist/src/cli/install.js +5 -5
  16. package/dist/src/cli/link-cache.d.ts +23 -0
  17. package/dist/src/cli/link-cache.js +91 -0
  18. package/dist/src/cli/login.js +1 -1
  19. package/dist/src/cli/main.js +108 -59
  20. package/dist/src/cli/project-config.d.ts +27 -25
  21. package/dist/src/cli/project-config.js +100 -54
  22. package/dist/src/cli/register.d.ts +10 -14
  23. package/dist/src/cli/register.js +138 -106
  24. package/dist/src/cli/scenarios-catalog.js +51 -1
  25. package/dist/src/cli/scenarios.js +10 -10
  26. package/dist/src/cli/session.js +16 -8
  27. package/dist/src/cli/skills.js +1 -1
  28. package/dist/src/demo/first-run-demo.md +3 -3
  29. package/dist/src/doctor/checks.js +26 -24
  30. package/dist/src/doctor/scan.js +3 -0
  31. package/dist/src/fix-prompt/prompt.js +3 -3
  32. package/dist/src/fix-prompt/prompts/fix-prompt-v1.md +3 -3
  33. package/dist/src/hosted/client.d.ts +12 -5
  34. package/dist/src/hosted/client.js +3 -0
  35. package/dist/src/hosted/evalResultView.js +1 -1
  36. package/dist/src/recorder/inspect.js +1 -1
  37. package/dist/src/runner/groupRender.d.ts +1 -1
  38. package/dist/src/runner/groupRender.js +3 -3
  39. package/dist/src/runner/runScenario.d.ts +626 -2
  40. package/dist/src/runner/runScenario.js +5 -0
  41. package/dist/src/runner/runScenarioHosted.d.ts +3 -0
  42. package/dist/src/runner/runScenarioHosted.js +34 -17
  43. package/dist/src/runner/runTrialGroup.d.ts +3 -1
  44. package/dist/src/runner/runTrialGroup.js +13 -11
  45. package/dist/src/scenario/parseScenario.js +65 -25
  46. package/dist/src/scenario/scenarioSchema.d.ts +1472 -4
  47. package/dist/src/scenario/scenarioSchema.js +8 -3
  48. package/dist/src/twin/twinHarness.d.ts +3 -1
  49. package/dist/src/twin/twinHarness.js +49 -2
  50. package/dist/src/twin/twinStart.d.ts +3 -1
  51. package/dist/src/twin/twinStart.js +22 -4
  52. package/node_modules/@hono/node-server/dist/index.cjs +145 -18
  53. package/node_modules/@hono/node-server/dist/index.mjs +145 -18
  54. package/node_modules/@hono/node-server/dist/serve-static.cjs +53 -12
  55. package/node_modules/@hono/node-server/dist/serve-static.mjs +53 -12
  56. package/node_modules/@hono/node-server/package.json +1 -1
  57. package/node_modules/@pome-sh/sdk/dist/index.d.ts +38 -1
  58. package/node_modules/@pome-sh/sdk/dist/index.js +16 -7
  59. package/node_modules/@pome-sh/sdk/dist/index.js.map +1 -1
  60. package/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +21 -5
  61. package/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +1 -1
  62. package/node_modules/@pome-sh/sdk/dist/parity.d.ts +6 -0
  63. package/node_modules/@pome-sh/sdk/dist/parity.js +12 -1
  64. package/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -1
  65. package/node_modules/@pome-sh/sdk/dist/recorder.d.ts +6 -0
  66. package/node_modules/@pome-sh/sdk/dist/recorder.js +27 -32
  67. package/node_modules/@pome-sh/sdk/dist/recorder.js.map +1 -1
  68. package/node_modules/@pome-sh/sdk/dist/server.js +9 -4
  69. package/node_modules/@pome-sh/sdk/dist/server.js.map +1 -1
  70. package/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +2 -0
  71. package/node_modules/@pome-sh/sdk/dist/tool-context.js +3 -0
  72. package/node_modules/@pome-sh/sdk/dist/tool-context.js.map +1 -1
  73. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +39 -0
  74. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +39 -0
  75. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -1
  76. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.d.ts +4 -3
  77. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.js +4 -3
  78. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -1
  79. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +31 -0
  80. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/manifest.js +76 -0
  81. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/manifest.js.map +1 -0
  82. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +45 -0
  83. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +8 -0
  84. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -1
  85. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.js +14 -6
  86. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -1
  87. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +6 -0
  88. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +28 -0
  89. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -1
  90. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +63 -1
  91. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.js +37 -1
  92. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -1
  93. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.d.ts +61 -2
  94. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.js +112 -2
  95. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -1
  96. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.d.ts +7 -0
  97. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.js +5 -1
  98. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -1
  99. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  100. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  101. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  102. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +560 -0
  103. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.js +98 -2
  104. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -1
  105. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +3 -3
  106. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.js +1 -1
  107. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -1
  108. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +15 -1
  109. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.js +15 -1
  110. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -1
  111. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.d.ts +376 -0
  112. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/manifest-schema.json +68 -0
  113. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/package.json +5 -4
  114. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
  115. package/node_modules/@pome-sh/sdk/package.json +5 -5
  116. package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +4 -2
  117. package/node_modules/@pome-sh/shared-types/dist/index.d.ts +1 -0
  118. package/node_modules/@pome-sh/shared-types/dist/index.js +1 -0
  119. package/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -1
  120. package/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +31 -0
  121. package/node_modules/@pome-sh/shared-types/dist/manifest.js +76 -0
  122. package/node_modules/@pome-sh/shared-types/dist/manifest.js.map +1 -0
  123. package/node_modules/@pome-sh/shared-types/dist/otel/project.js +14 -6
  124. package/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -1
  125. package/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +6 -0
  126. package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +21 -0
  127. package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -1
  128. package/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +1 -1
  129. package/node_modules/@pome-sh/shared-types/dist/recorder-events.js +1 -1
  130. package/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -1
  131. package/node_modules/@pome-sh/shared-types/dist/rest.d.ts +16 -2
  132. package/node_modules/@pome-sh/shared-types/dist/rest.js +47 -4
  133. package/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -1
  134. package/node_modules/@pome-sh/shared-types/dist/run.js +1 -1
  135. package/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -1
  136. package/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +1033 -0
  137. package/node_modules/@pome-sh/shared-types/dist/seed-state.js +285 -2
  138. package/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -1
  139. package/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +1 -1
  140. package/node_modules/@pome-sh/shared-types/dist/sessions.js +1 -1
  141. package/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -1
  142. package/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +15 -1
  143. package/node_modules/@pome-sh/shared-types/dist/task-vocab.js +15 -1
  144. package/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -1
  145. package/node_modules/@pome-sh/shared-types/dist/task.d.ts +690 -0
  146. package/node_modules/@pome-sh/shared-types/manifest-schema.json +68 -0
  147. package/node_modules/@pome-sh/shared-types/package.json +5 -4
  148. package/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
  149. package/node_modules/@pome-sh/twin-github/README.md +1 -1
  150. package/node_modules/@pome-sh/twin-github/dist/src/access-control.d.ts +3 -3
  151. package/node_modules/@pome-sh/twin-github/dist/src/domain.d.ts +5 -5
  152. package/node_modules/@pome-sh/twin-github/dist/src/seed.d.ts +1 -1
  153. package/node_modules/@pome-sh/twin-github/dist/src/serializers.d.ts +3 -3
  154. package/node_modules/@pome-sh/twin-github/dist/src/tools.d.ts +21 -21
  155. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +35 -0
  156. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/admin-gate.js +103 -0
  157. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +1 -0
  158. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/auth.d.ts +100 -0
  159. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/auth.js +262 -0
  160. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/auth.js.map +1 -0
  161. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/build-info.d.ts +7 -0
  162. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/build-info.js +14 -0
  163. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/build-info.js.map +1 -0
  164. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/db.d.ts +44 -0
  165. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/db.js +113 -0
  166. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/db.js.map +1 -0
  167. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/errors.d.ts +24 -0
  168. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/errors.js +61 -0
  169. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/errors.js.map +1 -0
  170. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +43 -0
  171. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/failure-injection.js +160 -0
  172. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +1 -0
  173. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +121 -0
  174. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +204 -0
  175. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +1 -0
  176. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +8 -0
  177. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/fidelity.js +39 -0
  178. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/fidelity.js.map +1 -0
  179. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/index.d.ts +372 -0
  180. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/index.js +139 -0
  181. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/index.js.map +1 -0
  182. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +10 -0
  183. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +221 -0
  184. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +1 -0
  185. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/parity.d.ts +61 -0
  186. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/parity.js +123 -0
  187. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -0
  188. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/recorder.d.ts +120 -0
  189. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/recorder.js +368 -0
  190. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/recorder.js.map +1 -0
  191. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/redaction.d.ts +1 -0
  192. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/redaction.js +3 -0
  193. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/redaction.js.map +1 -0
  194. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +54 -0
  195. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/server-helpers.js +181 -0
  196. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +1 -0
  197. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/server.d.ts +46 -0
  198. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/server.js +394 -0
  199. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/server.js.map +1 -0
  200. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +8 -0
  201. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/tool-context.js +22 -0
  202. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/dist/tool-context.js.map +1 -0
  203. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/sdk/package.json +54 -0
  204. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  205. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  206. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  207. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +254 -0
  208. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  209. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  210. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  211. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  212. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  213. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  214. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  215. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  216. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  217. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  218. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  219. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  220. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  221. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  222. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  223. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  224. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  225. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  226. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  227. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  228. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  229. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  230. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  231. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  232. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  233. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  234. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  235. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  236. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  237. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  238. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  239. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  240. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  241. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/project.js +104 -0
  242. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  243. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +57 -0
  244. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +102 -0
  245. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  246. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  247. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  248. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  249. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  250. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  251. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  252. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  253. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  254. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  255. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/rest.d.ts +248 -0
  256. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/rest.js +308 -0
  257. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  258. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  259. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  260. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  261. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  262. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  263. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  264. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +1006 -0
  265. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-state.js +263 -0
  266. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  267. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  268. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  269. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  270. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +80 -0
  271. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task-vocab.js +98 -0
  272. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  273. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task.d.ts +859 -0
  274. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  275. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  276. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/package.json +54 -0
  277. package/node_modules/@pome-sh/twin-github/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  278. package/node_modules/@pome-sh/twin-github/package.json +7 -7
  279. package/node_modules/@pome-sh/twin-gmail/CHANGELOG.md +14 -0
  280. package/node_modules/@pome-sh/twin-gmail/HOSTED.md +23 -0
  281. package/node_modules/@pome-sh/twin-gmail/LIMITS.md +41 -0
  282. package/node_modules/@pome-sh/twin-gmail/README.md +109 -0
  283. package/node_modules/@pome-sh/twin-gmail/REFERENCE-DIVERGENCES.md +42 -0
  284. package/node_modules/@pome-sh/twin-gmail/dist/fixtures/mcp-tools-list.canonical.json +974 -0
  285. package/node_modules/@pome-sh/twin-gmail/dist/src/db.d.ts +4 -0
  286. package/node_modules/@pome-sh/twin-gmail/dist/src/db.js +206 -0
  287. package/node_modules/@pome-sh/twin-gmail/dist/src/db.js.map +1 -0
  288. package/node_modules/@pome-sh/twin-gmail/dist/src/domain-search.d.ts +5 -0
  289. package/node_modules/@pome-sh/twin-gmail/dist/src/domain-search.js +89 -0
  290. package/node_modules/@pome-sh/twin-gmail/dist/src/domain-search.js.map +1 -0
  291. package/node_modules/@pome-sh/twin-gmail/dist/src/domain.d.ts +110 -0
  292. package/node_modules/@pome-sh/twin-gmail/dist/src/domain.js +407 -0
  293. package/node_modules/@pome-sh/twin-gmail/dist/src/domain.js.map +1 -0
  294. package/node_modules/@pome-sh/twin-gmail/dist/src/errors.d.ts +12 -0
  295. package/node_modules/@pome-sh/twin-gmail/dist/src/errors.js +115 -0
  296. package/node_modules/@pome-sh/twin-gmail/dist/src/errors.js.map +1 -0
  297. package/node_modules/@pome-sh/twin-gmail/dist/src/identity.d.ts +10 -0
  298. package/node_modules/@pome-sh/twin-gmail/dist/src/identity.js +29 -0
  299. package/node_modules/@pome-sh/twin-gmail/dist/src/identity.js.map +1 -0
  300. package/node_modules/@pome-sh/twin-gmail/dist/src/index.d.ts +12 -0
  301. package/node_modules/@pome-sh/twin-gmail/dist/src/index.js +13 -0
  302. package/node_modules/@pome-sh/twin-gmail/dist/src/index.js.map +1 -0
  303. package/node_modules/@pome-sh/twin-gmail/dist/src/mcp-schemas.d.ts +176 -0
  304. package/node_modules/@pome-sh/twin-gmail/dist/src/mcp-schemas.js +162 -0
  305. package/node_modules/@pome-sh/twin-gmail/dist/src/mcp-schemas.js.map +1 -0
  306. package/node_modules/@pome-sh/twin-gmail/dist/src/mcp.d.ts +3 -0
  307. package/node_modules/@pome-sh/twin-gmail/dist/src/mcp.js +268 -0
  308. package/node_modules/@pome-sh/twin-gmail/dist/src/mcp.js.map +1 -0
  309. package/node_modules/@pome-sh/twin-gmail/dist/src/mime.d.ts +49 -0
  310. package/node_modules/@pome-sh/twin-gmail/dist/src/mime.js +315 -0
  311. package/node_modules/@pome-sh/twin-gmail/dist/src/mime.js.map +1 -0
  312. package/node_modules/@pome-sh/twin-gmail/dist/src/page-tokens.d.ts +11 -0
  313. package/node_modules/@pome-sh/twin-gmail/dist/src/page-tokens.js +70 -0
  314. package/node_modules/@pome-sh/twin-gmail/dist/src/page-tokens.js.map +1 -0
  315. package/node_modules/@pome-sh/twin-gmail/dist/src/recording.d.ts +6 -0
  316. package/node_modules/@pome-sh/twin-gmail/dist/src/recording.js +74 -0
  317. package/node_modules/@pome-sh/twin-gmail/dist/src/recording.js.map +1 -0
  318. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-common.d.ts +28 -0
  319. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-common.js +120 -0
  320. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-common.js.map +1 -0
  321. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-drafts.d.ts +3 -0
  322. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-drafts.js +85 -0
  323. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-drafts.js.map +1 -0
  324. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-kit.d.ts +19 -0
  325. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-kit.js +52 -0
  326. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-kit.js.map +1 -0
  327. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-messages.d.ts +3 -0
  328. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-messages.js +144 -0
  329. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-messages.js.map +1 -0
  330. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-resources.d.ts +3 -0
  331. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-resources.js +204 -0
  332. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes-resources.js.map +1 -0
  333. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes.d.ts +4 -0
  334. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes.js +11 -0
  335. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-routes.js.map +1 -0
  336. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-serializers.d.ts +18 -0
  337. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-serializers.js +153 -0
  338. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-serializers.js.map +1 -0
  339. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-store.d.ts +75 -0
  340. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-store.js +282 -0
  341. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-store.js.map +1 -0
  342. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-upload.d.ts +12 -0
  343. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-upload.js +127 -0
  344. package/node_modules/@pome-sh/twin-gmail/dist/src/rest-upload.js.map +1 -0
  345. package/node_modules/@pome-sh/twin-gmail/dist/src/search.d.ts +61 -0
  346. package/node_modules/@pome-sh/twin-gmail/dist/src/search.js +504 -0
  347. package/node_modules/@pome-sh/twin-gmail/dist/src/search.js.map +1 -0
  348. package/node_modules/@pome-sh/twin-gmail/dist/src/seed.d.ts +230 -0
  349. package/node_modules/@pome-sh/twin-gmail/dist/src/seed.js +269 -0
  350. package/node_modules/@pome-sh/twin-gmail/dist/src/seed.js.map +1 -0
  351. package/node_modules/@pome-sh/twin-gmail/dist/src/seeding.d.ts +3 -0
  352. package/node_modules/@pome-sh/twin-gmail/dist/src/seeding.js +89 -0
  353. package/node_modules/@pome-sh/twin-gmail/dist/src/seeding.js.map +1 -0
  354. package/node_modules/@pome-sh/twin-gmail/dist/src/server.d.ts +2 -0
  355. package/node_modules/@pome-sh/twin-gmail/dist/src/server.js +21 -0
  356. package/node_modules/@pome-sh/twin-gmail/dist/src/server.js.map +1 -0
  357. package/node_modules/@pome-sh/twin-gmail/dist/src/state.d.ts +55 -0
  358. package/node_modules/@pome-sh/twin-gmail/dist/src/state.js +225 -0
  359. package/node_modules/@pome-sh/twin-gmail/dist/src/state.js.map +1 -0
  360. package/node_modules/@pome-sh/twin-gmail/dist/src/storage.d.ts +20 -0
  361. package/node_modules/@pome-sh/twin-gmail/dist/src/storage.js +171 -0
  362. package/node_modules/@pome-sh/twin-gmail/dist/src/storage.js.map +1 -0
  363. package/node_modules/@pome-sh/twin-gmail/dist/src/twin.d.ts +17 -0
  364. package/node_modules/@pome-sh/twin-gmail/dist/src/twin.js +99 -0
  365. package/node_modules/@pome-sh/twin-gmail/dist/src/twin.js.map +1 -0
  366. package/node_modules/@pome-sh/twin-gmail/dist/src/types.d.ts +149 -0
  367. package/node_modules/@pome-sh/twin-gmail/dist/src/types.js +2 -0
  368. package/node_modules/@pome-sh/twin-gmail/dist/src/types.js.map +1 -0
  369. package/node_modules/@pome-sh/twin-gmail/fidelity.inventory.json +958 -0
  370. package/node_modules/@pome-sh/twin-gmail/fixtures/README.md +28 -0
  371. package/node_modules/@pome-sh/twin-gmail/fixtures/gmail-discovery-v1.meta.json +6 -0
  372. package/node_modules/@pome-sh/twin-gmail/fixtures/gmail-discovery-v1.raw.json +4510 -0
  373. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-initialize.meta.json +8 -0
  374. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-initialize.raw.json +1 -0
  375. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-tools-call-unauth-error.raw.json +1 -0
  376. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-tools-call.representative.json +508 -0
  377. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-tools-list.canonical.json +974 -0
  378. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-tools-list.meta.json +29 -0
  379. package/node_modules/@pome-sh/twin-gmail/fixtures/mcp-tools-list.raw.json +1 -0
  380. package/node_modules/@pome-sh/twin-gmail/fixtures/rest-surface.json +3502 -0
  381. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +35 -0
  382. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js +103 -0
  383. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +1 -0
  384. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.d.ts +100 -0
  385. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js +262 -0
  386. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js.map +1 -0
  387. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.d.ts +7 -0
  388. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js +14 -0
  389. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js.map +1 -0
  390. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.d.ts +44 -0
  391. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js +113 -0
  392. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js.map +1 -0
  393. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.d.ts +24 -0
  394. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js +61 -0
  395. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js.map +1 -0
  396. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +43 -0
  397. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js +160 -0
  398. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +1 -0
  399. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +121 -0
  400. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +204 -0
  401. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +1 -0
  402. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +8 -0
  403. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js +39 -0
  404. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js.map +1 -0
  405. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.d.ts +372 -0
  406. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js +139 -0
  407. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js.map +1 -0
  408. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +10 -0
  409. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +221 -0
  410. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +1 -0
  411. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.d.ts +61 -0
  412. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js +123 -0
  413. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -0
  414. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.d.ts +120 -0
  415. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js +368 -0
  416. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js.map +1 -0
  417. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.d.ts +1 -0
  418. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js +3 -0
  419. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js.map +1 -0
  420. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +54 -0
  421. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js +181 -0
  422. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +1 -0
  423. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.d.ts +46 -0
  424. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js +394 -0
  425. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js.map +1 -0
  426. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +8 -0
  427. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js +22 -0
  428. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js.map +1 -0
  429. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/package.json +54 -0
  430. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  431. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  432. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  433. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +254 -0
  434. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  435. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  436. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  437. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  438. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  439. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  440. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  441. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  442. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  443. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  444. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  445. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  446. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  447. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  448. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  449. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  450. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  451. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  452. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  453. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  454. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  455. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  456. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  457. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  458. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  459. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  460. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  461. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  462. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  463. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  464. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  465. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  466. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  467. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js +104 -0
  468. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  469. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +57 -0
  470. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +102 -0
  471. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  472. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  473. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  474. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  475. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  476. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  477. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  478. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  479. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  480. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  481. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.d.ts +248 -0
  482. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js +308 -0
  483. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  484. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  485. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  486. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  487. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  488. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  489. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  490. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +1006 -0
  491. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js +263 -0
  492. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  493. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  494. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  495. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  496. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +80 -0
  497. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js +98 -0
  498. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  499. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.d.ts +859 -0
  500. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  501. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  502. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/package.json +54 -0
  503. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  504. package/node_modules/@pome-sh/twin-gmail/package.json +75 -0
  505. package/node_modules/@pome-sh/twin-linear/CHANGELOG.md +15 -0
  506. package/node_modules/@pome-sh/twin-linear/FIDELITY.md +62 -0
  507. package/node_modules/@pome-sh/twin-linear/HOSTED.md +46 -0
  508. package/node_modules/@pome-sh/twin-linear/LIMITS.md +54 -0
  509. package/node_modules/@pome-sh/twin-linear/README.md +107 -0
  510. package/node_modules/@pome-sh/twin-linear/REFERENCE-DIVERGENCES.md +50 -0
  511. package/node_modules/@pome-sh/twin-linear/dist/fixtures/mcp-tools-list.canonical.json +353 -0
  512. package/node_modules/@pome-sh/twin-linear/dist/src/auth-credential.d.ts +8 -0
  513. package/node_modules/@pome-sh/twin-linear/dist/src/auth-credential.js +55 -0
  514. package/node_modules/@pome-sh/twin-linear/dist/src/auth-credential.js.map +1 -0
  515. package/node_modules/@pome-sh/twin-linear/dist/src/db.d.ts +4 -0
  516. package/node_modules/@pome-sh/twin-linear/dist/src/db.js +333 -0
  517. package/node_modules/@pome-sh/twin-linear/dist/src/db.js.map +1 -0
  518. package/node_modules/@pome-sh/twin-linear/dist/src/domain/agents.d.ts +29 -0
  519. package/node_modules/@pome-sh/twin-linear/dist/src/domain/agents.js +103 -0
  520. package/node_modules/@pome-sh/twin-linear/dist/src/domain/agents.js.map +1 -0
  521. package/node_modules/@pome-sh/twin-linear/dist/src/domain/catalog.d.ts +9 -0
  522. package/node_modules/@pome-sh/twin-linear/dist/src/domain/catalog.js +41 -0
  523. package/node_modules/@pome-sh/twin-linear/dist/src/domain/catalog.js.map +1 -0
  524. package/node_modules/@pome-sh/twin-linear/dist/src/domain/comments.d.ts +13 -0
  525. package/node_modules/@pome-sh/twin-linear/dist/src/domain/comments.js +108 -0
  526. package/node_modules/@pome-sh/twin-linear/dist/src/domain/comments.js.map +1 -0
  527. package/node_modules/@pome-sh/twin-linear/dist/src/domain/documents.d.ts +31 -0
  528. package/node_modules/@pome-sh/twin-linear/dist/src/domain/documents.js +113 -0
  529. package/node_modules/@pome-sh/twin-linear/dist/src/domain/documents.js.map +1 -0
  530. package/node_modules/@pome-sh/twin-linear/dist/src/domain/index.d.ts +4 -0
  531. package/node_modules/@pome-sh/twin-linear/dist/src/domain/index.js +6 -0
  532. package/node_modules/@pome-sh/twin-linear/dist/src/domain/index.js.map +1 -0
  533. package/node_modules/@pome-sh/twin-linear/dist/src/domain/issue-relations.d.ts +13 -0
  534. package/node_modules/@pome-sh/twin-linear/dist/src/domain/issue-relations.js +60 -0
  535. package/node_modules/@pome-sh/twin-linear/dist/src/domain/issue-relations.js.map +1 -0
  536. package/node_modules/@pome-sh/twin-linear/dist/src/domain/issues.d.ts +57 -0
  537. package/node_modules/@pome-sh/twin-linear/dist/src/domain/issues.js +356 -0
  538. package/node_modules/@pome-sh/twin-linear/dist/src/domain/issues.js.map +1 -0
  539. package/node_modules/@pome-sh/twin-linear/dist/src/domain/labels.d.ts +18 -0
  540. package/node_modules/@pome-sh/twin-linear/dist/src/domain/labels.js +117 -0
  541. package/node_modules/@pome-sh/twin-linear/dist/src/domain/labels.js.map +1 -0
  542. package/node_modules/@pome-sh/twin-linear/dist/src/domain/linear-domain.d.ts +190 -0
  543. package/node_modules/@pome-sh/twin-linear/dist/src/domain/linear-domain.js +315 -0
  544. package/node_modules/@pome-sh/twin-linear/dist/src/domain/linear-domain.js.map +1 -0
  545. package/node_modules/@pome-sh/twin-linear/dist/src/domain/normalize.d.ts +8 -0
  546. package/node_modules/@pome-sh/twin-linear/dist/src/domain/normalize.js +61 -0
  547. package/node_modules/@pome-sh/twin-linear/dist/src/domain/normalize.js.map +1 -0
  548. package/node_modules/@pome-sh/twin-linear/dist/src/domain/oauth-store.d.ts +55 -0
  549. package/node_modules/@pome-sh/twin-linear/dist/src/domain/oauth-store.js +127 -0
  550. package/node_modules/@pome-sh/twin-linear/dist/src/domain/oauth-store.js.map +1 -0
  551. package/node_modules/@pome-sh/twin-linear/dist/src/domain/projects-cycles.d.ts +17 -0
  552. package/node_modules/@pome-sh/twin-linear/dist/src/domain/projects-cycles.js +51 -0
  553. package/node_modules/@pome-sh/twin-linear/dist/src/domain/projects-cycles.js.map +1 -0
  554. package/node_modules/@pome-sh/twin-linear/dist/src/domain/rows.d.ts +211 -0
  555. package/node_modules/@pome-sh/twin-linear/dist/src/domain/rows.js +216 -0
  556. package/node_modules/@pome-sh/twin-linear/dist/src/domain/rows.js.map +1 -0
  557. package/node_modules/@pome-sh/twin-linear/dist/src/domain/webhooks.d.ts +5 -0
  558. package/node_modules/@pome-sh/twin-linear/dist/src/domain/webhooks.js +12 -0
  559. package/node_modules/@pome-sh/twin-linear/dist/src/domain/webhooks.js.map +1 -0
  560. package/node_modules/@pome-sh/twin-linear/dist/src/errors.d.ts +26 -0
  561. package/node_modules/@pome-sh/twin-linear/dist/src/errors.js +128 -0
  562. package/node_modules/@pome-sh/twin-linear/dist/src/errors.js.map +1 -0
  563. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/formatters.d.ts +27 -0
  564. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/formatters.js +261 -0
  565. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/formatters.js.map +1 -0
  566. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/issue-filter.d.ts +5 -0
  567. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/issue-filter.js +122 -0
  568. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/issue-filter.js.map +1 -0
  569. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/mutation-inputs.d.ts +152 -0
  570. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/mutation-inputs.js +255 -0
  571. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/mutation-inputs.js.map +1 -0
  572. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/resolvers.d.ts +6 -0
  573. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/resolvers.js +169 -0
  574. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/resolvers.js.map +1 -0
  575. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/routes.d.ts +6 -0
  576. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/routes.js +176 -0
  577. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/routes.js.map +1 -0
  578. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/schema.d.ts +3 -0
  579. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/schema.js +504 -0
  580. package/node_modules/@pome-sh/twin-linear/dist/src/graphql/schema.js.map +1 -0
  581. package/node_modules/@pome-sh/twin-linear/dist/src/identity.d.ts +7 -0
  582. package/node_modules/@pome-sh/twin-linear/dist/src/identity.js +14 -0
  583. package/node_modules/@pome-sh/twin-linear/dist/src/identity.js.map +1 -0
  584. package/node_modules/@pome-sh/twin-linear/dist/src/ids.d.ts +5 -0
  585. package/node_modules/@pome-sh/twin-linear/dist/src/ids.js +28 -0
  586. package/node_modules/@pome-sh/twin-linear/dist/src/ids.js.map +1 -0
  587. package/node_modules/@pome-sh/twin-linear/dist/src/index.d.ts +16 -0
  588. package/node_modules/@pome-sh/twin-linear/dist/src/index.js +14 -0
  589. package/node_modules/@pome-sh/twin-linear/dist/src/index.js.map +1 -0
  590. package/node_modules/@pome-sh/twin-linear/dist/src/mcp-schemas.d.ts +121 -0
  591. package/node_modules/@pome-sh/twin-linear/dist/src/mcp-schemas.js +126 -0
  592. package/node_modules/@pome-sh/twin-linear/dist/src/mcp-schemas.js.map +1 -0
  593. package/node_modules/@pome-sh/twin-linear/dist/src/mcp.d.ts +4 -0
  594. package/node_modules/@pome-sh/twin-linear/dist/src/mcp.js +430 -0
  595. package/node_modules/@pome-sh/twin-linear/dist/src/mcp.js.map +1 -0
  596. package/node_modules/@pome-sh/twin-linear/dist/src/oauth/routes.d.ts +5 -0
  597. package/node_modules/@pome-sh/twin-linear/dist/src/oauth/routes.js +340 -0
  598. package/node_modules/@pome-sh/twin-linear/dist/src/oauth/routes.js.map +1 -0
  599. package/node_modules/@pome-sh/twin-linear/dist/src/pagination.d.ts +29 -0
  600. package/node_modules/@pome-sh/twin-linear/dist/src/pagination.js +101 -0
  601. package/node_modules/@pome-sh/twin-linear/dist/src/pagination.js.map +1 -0
  602. package/node_modules/@pome-sh/twin-linear/dist/src/recording.d.ts +2 -0
  603. package/node_modules/@pome-sh/twin-linear/dist/src/recording.js +46 -0
  604. package/node_modules/@pome-sh/twin-linear/dist/src/recording.js.map +1 -0
  605. package/node_modules/@pome-sh/twin-linear/dist/src/routes.d.ts +9 -0
  606. package/node_modules/@pome-sh/twin-linear/dist/src/routes.js +10 -0
  607. package/node_modules/@pome-sh/twin-linear/dist/src/routes.js.map +1 -0
  608. package/node_modules/@pome-sh/twin-linear/dist/src/seed/apply.d.ts +4 -0
  609. package/node_modules/@pome-sh/twin-linear/dist/src/seed/apply.js +186 -0
  610. package/node_modules/@pome-sh/twin-linear/dist/src/seed/apply.js.map +1 -0
  611. package/node_modules/@pome-sh/twin-linear/dist/src/seed.d.ts +158 -0
  612. package/node_modules/@pome-sh/twin-linear/dist/src/seed.js +541 -0
  613. package/node_modules/@pome-sh/twin-linear/dist/src/seed.js.map +1 -0
  614. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/comment.d.ts +29 -0
  615. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/comment.js +47 -0
  616. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/comment.js.map +1 -0
  617. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/document.d.ts +15 -0
  618. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/document.js +17 -0
  619. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/document.js.map +1 -0
  620. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/index.d.ts +3 -0
  621. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/index.js +5 -0
  622. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/index.js.map +1 -0
  623. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/issue.d.ts +86 -0
  624. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/issue.js +102 -0
  625. package/node_modules/@pome-sh/twin-linear/dist/src/serializers/issue.js.map +1 -0
  626. package/node_modules/@pome-sh/twin-linear/dist/src/server.d.ts +2 -0
  627. package/node_modules/@pome-sh/twin-linear/dist/src/server.js +41 -0
  628. package/node_modules/@pome-sh/twin-linear/dist/src/server.js.map +1 -0
  629. package/node_modules/@pome-sh/twin-linear/dist/src/state.d.ts +51 -0
  630. package/node_modules/@pome-sh/twin-linear/dist/src/state.js +211 -0
  631. package/node_modules/@pome-sh/twin-linear/dist/src/state.js.map +1 -0
  632. package/node_modules/@pome-sh/twin-linear/dist/src/twin.d.ts +21 -0
  633. package/node_modules/@pome-sh/twin-linear/dist/src/twin.js +107 -0
  634. package/node_modules/@pome-sh/twin-linear/dist/src/twin.js.map +1 -0
  635. package/node_modules/@pome-sh/twin-linear/dist/src/types.d.ts +360 -0
  636. package/node_modules/@pome-sh/twin-linear/dist/src/types.js +19 -0
  637. package/node_modules/@pome-sh/twin-linear/dist/src/types.js.map +1 -0
  638. package/node_modules/@pome-sh/twin-linear/dist/src/webhook-policy.d.ts +27 -0
  639. package/node_modules/@pome-sh/twin-linear/dist/src/webhook-policy.js +107 -0
  640. package/node_modules/@pome-sh/twin-linear/dist/src/webhook-policy.js.map +1 -0
  641. package/node_modules/@pome-sh/twin-linear/dist/src/webhook-url.d.ts +3 -0
  642. package/node_modules/@pome-sh/twin-linear/dist/src/webhook-url.js +26 -0
  643. package/node_modules/@pome-sh/twin-linear/dist/src/webhook-url.js.map +1 -0
  644. package/node_modules/@pome-sh/twin-linear/dist/src/webhooks/dispatch.d.ts +30 -0
  645. package/node_modules/@pome-sh/twin-linear/dist/src/webhooks/dispatch.js +93 -0
  646. package/node_modules/@pome-sh/twin-linear/dist/src/webhooks/dispatch.js.map +1 -0
  647. package/node_modules/@pome-sh/twin-linear/fidelity.inventory.json +249 -0
  648. package/node_modules/@pome-sh/twin-linear/fixtures/README.md +10 -0
  649. package/node_modules/@pome-sh/twin-linear/fixtures/graphql-surface.json +59 -0
  650. package/node_modules/@pome-sh/twin-linear/fixtures/mcp-tools-list.canonical.json +353 -0
  651. package/node_modules/@pome-sh/twin-linear/package.json +71 -0
  652. package/node_modules/@pome-sh/twin-slack/README.md +1 -1
  653. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +35 -0
  654. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js +103 -0
  655. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +1 -0
  656. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.d.ts +100 -0
  657. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js +262 -0
  658. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js.map +1 -0
  659. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.d.ts +7 -0
  660. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js +14 -0
  661. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js.map +1 -0
  662. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.d.ts +44 -0
  663. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js +113 -0
  664. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js.map +1 -0
  665. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.d.ts +24 -0
  666. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js +61 -0
  667. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js.map +1 -0
  668. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +43 -0
  669. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js +160 -0
  670. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +1 -0
  671. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +121 -0
  672. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +204 -0
  673. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +1 -0
  674. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +8 -0
  675. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js +39 -0
  676. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js.map +1 -0
  677. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.d.ts +372 -0
  678. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js +139 -0
  679. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js.map +1 -0
  680. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +10 -0
  681. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +221 -0
  682. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +1 -0
  683. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.d.ts +61 -0
  684. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js +123 -0
  685. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -0
  686. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.d.ts +120 -0
  687. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js +368 -0
  688. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js.map +1 -0
  689. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.d.ts +1 -0
  690. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js +3 -0
  691. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js.map +1 -0
  692. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +54 -0
  693. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js +181 -0
  694. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +1 -0
  695. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.d.ts +46 -0
  696. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js +394 -0
  697. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js.map +1 -0
  698. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +8 -0
  699. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js +22 -0
  700. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js.map +1 -0
  701. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/package.json +54 -0
  702. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  703. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  704. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  705. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +254 -0
  706. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  707. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  708. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  709. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  710. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  711. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  712. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  713. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  714. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  715. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  716. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  717. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  718. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  719. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  720. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  721. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  722. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  723. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  724. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  725. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  726. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  727. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  728. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  729. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  730. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  731. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  732. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  733. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  734. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  735. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  736. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  737. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  738. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  739. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js +104 -0
  740. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  741. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +57 -0
  742. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +102 -0
  743. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  744. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  745. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  746. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  747. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  748. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  749. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  750. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  751. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  752. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  753. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.d.ts +248 -0
  754. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js +308 -0
  755. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  756. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  757. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  758. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  759. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  760. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  761. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  762. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +1006 -0
  763. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js +263 -0
  764. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  765. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  766. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  767. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  768. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +80 -0
  769. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js +98 -0
  770. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  771. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.d.ts +859 -0
  772. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  773. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  774. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/package.json +54 -0
  775. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  776. package/node_modules/@pome-sh/twin-slack/package.json +7 -7
  777. package/node_modules/@pome-sh/twin-stripe/README.md +1 -1
  778. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.d.ts +2 -2
  779. package/node_modules/@pome-sh/twin-stripe/dist/src/seed.d.ts +8 -8
  780. package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.d.ts +1 -1
  781. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +35 -0
  782. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/admin-gate.js +103 -0
  783. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +1 -0
  784. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/auth.d.ts +100 -0
  785. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/auth.js +262 -0
  786. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/auth.js.map +1 -0
  787. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/build-info.d.ts +7 -0
  788. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/build-info.js +14 -0
  789. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/build-info.js.map +1 -0
  790. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/db.d.ts +44 -0
  791. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/db.js +113 -0
  792. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/db.js.map +1 -0
  793. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/errors.d.ts +24 -0
  794. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/errors.js +61 -0
  795. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/errors.js.map +1 -0
  796. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +43 -0
  797. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/failure-injection.js +160 -0
  798. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +1 -0
  799. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +121 -0
  800. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +204 -0
  801. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +1 -0
  802. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +8 -0
  803. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity.js +39 -0
  804. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/fidelity.js.map +1 -0
  805. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/index.d.ts +372 -0
  806. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/index.js +139 -0
  807. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/index.js.map +1 -0
  808. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +10 -0
  809. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +221 -0
  810. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +1 -0
  811. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/parity.d.ts +61 -0
  812. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/parity.js +123 -0
  813. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -0
  814. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/recorder.d.ts +120 -0
  815. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/recorder.js +368 -0
  816. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/recorder.js.map +1 -0
  817. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/redaction.d.ts +1 -0
  818. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/redaction.js +3 -0
  819. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/redaction.js.map +1 -0
  820. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +54 -0
  821. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server-helpers.js +181 -0
  822. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +1 -0
  823. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server.d.ts +46 -0
  824. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server.js +394 -0
  825. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/server.js.map +1 -0
  826. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +8 -0
  827. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/tool-context.js +22 -0
  828. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/dist/tool-context.js.map +1 -0
  829. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/sdk/package.json +54 -0
  830. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  831. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  832. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  833. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +254 -0
  834. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  835. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  836. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  837. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  838. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  839. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  840. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  841. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  842. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  843. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  844. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  845. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +331 -0
  846. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  847. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  848. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  849. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  850. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  851. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  852. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  853. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  854. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  855. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  856. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  857. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  858. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +193 -0
  859. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  860. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  861. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  862. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  863. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  864. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  865. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  866. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  867. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/project.js +104 -0
  868. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  869. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +57 -0
  870. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +102 -0
  871. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  872. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  873. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  874. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  875. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +480 -0
  876. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/recorder-events.js +270 -0
  877. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  878. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  879. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  880. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  881. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.d.ts +248 -0
  882. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.js +308 -0
  883. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  884. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/run.d.ts +208 -0
  885. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/run.js +170 -0
  886. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  887. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  888. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  889. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  890. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +1006 -0
  891. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-state.js +263 -0
  892. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  893. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  894. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  895. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  896. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +80 -0
  897. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task-vocab.js +98 -0
  898. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  899. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task.d.ts +859 -0
  900. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  901. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  902. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/package.json +54 -0
  903. package/node_modules/@pome-sh/twin-stripe/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  904. package/node_modules/@pome-sh/twin-stripe/package.json +7 -7
  905. package/node_modules/graphql/LICENSE +21 -0
  906. package/node_modules/graphql/NotSupportedTSVersion.d.ts +1 -0
  907. package/node_modules/graphql/README.md +203 -0
  908. package/node_modules/graphql/error/GraphQLError.d.ts +288 -0
  909. package/node_modules/graphql/error/GraphQLError.js +398 -0
  910. package/node_modules/graphql/error/GraphQLError.mjs +384 -0
  911. package/node_modules/graphql/error/index.d.ts +15 -0
  912. package/node_modules/graphql/error/index.js +41 -0
  913. package/node_modules/graphql/error/index.mjs +9 -0
  914. package/node_modules/graphql/error/locatedError.d.ts +33 -0
  915. package/node_modules/graphql/error/locatedError.js +61 -0
  916. package/node_modules/graphql/error/locatedError.mjs +52 -0
  917. package/node_modules/graphql/error/syntaxError.d.ts +26 -0
  918. package/node_modules/graphql/error/syntaxError.js +35 -0
  919. package/node_modules/graphql/error/syntaxError.mjs +27 -0
  920. package/node_modules/graphql/execution/collectFields.d.ts +45 -0
  921. package/node_modules/graphql/execution/collectFields.js +235 -0
  922. package/node_modules/graphql/execution/collectFields.mjs +219 -0
  923. package/node_modules/graphql/execution/execute.d.ts +402 -0
  924. package/node_modules/graphql/execution/execute.js +1295 -0
  925. package/node_modules/graphql/execution/execute.mjs +1266 -0
  926. package/node_modules/graphql/execution/index.d.ts +24 -0
  927. package/node_modules/graphql/execution/index.js +73 -0
  928. package/node_modules/graphql/execution/index.mjs +19 -0
  929. package/node_modules/graphql/execution/mapAsyncIterator.d.ts +11 -0
  930. package/node_modules/graphql/execution/mapAsyncIterator.js +70 -0
  931. package/node_modules/graphql/execution/mapAsyncIterator.mjs +63 -0
  932. package/node_modules/graphql/execution/subscribe.d.ts +262 -0
  933. package/node_modules/graphql/execution/subscribe.js +388 -0
  934. package/node_modules/graphql/execution/subscribe.mjs +366 -0
  935. package/node_modules/graphql/execution/values.d.ts +236 -0
  936. package/node_modules/graphql/execution/values.js +444 -0
  937. package/node_modules/graphql/execution/values.mjs +406 -0
  938. package/node_modules/graphql/graphql.d.ts +189 -0
  939. package/node_modules/graphql/graphql.js +218 -0
  940. package/node_modules/graphql/graphql.mjs +212 -0
  941. package/node_modules/graphql/index.d.ts +423 -0
  942. package/node_modules/graphql/index.js +1311 -0
  943. package/node_modules/graphql/index.mjs +256 -0
  944. package/node_modules/graphql/jsutils/Maybe.d.ts +6 -0
  945. package/node_modules/graphql/jsutils/Maybe.js +5 -0
  946. package/node_modules/graphql/jsutils/Maybe.mjs +1 -0
  947. package/node_modules/graphql/jsutils/ObjMap.d.ts +20 -0
  948. package/node_modules/graphql/jsutils/ObjMap.js +5 -0
  949. package/node_modules/graphql/jsutils/ObjMap.mjs +1 -0
  950. package/node_modules/graphql/jsutils/Path.d.ts +50 -0
  951. package/node_modules/graphql/jsutils/Path.js +62 -0
  952. package/node_modules/graphql/jsutils/Path.mjs +54 -0
  953. package/node_modules/graphql/jsutils/PromiseOrValue.d.ts +2 -0
  954. package/node_modules/graphql/jsutils/PromiseOrValue.js +5 -0
  955. package/node_modules/graphql/jsutils/PromiseOrValue.mjs +1 -0
  956. package/node_modules/graphql/jsutils/devAssert.d.ts +2 -0
  957. package/node_modules/graphql/jsutils/devAssert.js +15 -0
  958. package/node_modules/graphql/jsutils/devAssert.mjs +8 -0
  959. package/node_modules/graphql/jsutils/didYouMean.d.ts +11 -0
  960. package/node_modules/graphql/jsutils/didYouMean.js +41 -0
  961. package/node_modules/graphql/jsutils/didYouMean.mjs +35 -0
  962. package/node_modules/graphql/jsutils/groupBy.d.ts +9 -0
  963. package/node_modules/graphql/jsutils/groupBy.js +28 -0
  964. package/node_modules/graphql/jsutils/groupBy.mjs +21 -0
  965. package/node_modules/graphql/jsutils/identityFunc.d.ts +6 -0
  966. package/node_modules/graphql/jsutils/identityFunc.js +15 -0
  967. package/node_modules/graphql/jsutils/identityFunc.mjs +8 -0
  968. package/node_modules/graphql/jsutils/inspect.d.ts +6 -0
  969. package/node_modules/graphql/jsutils/inspect.js +123 -0
  970. package/node_modules/graphql/jsutils/inspect.mjs +117 -0
  971. package/node_modules/graphql/jsutils/instanceOf.d.ts +18 -0
  972. package/node_modules/graphql/jsutils/instanceOf.js +67 -0
  973. package/node_modules/graphql/jsutils/instanceOf.mjs +59 -0
  974. package/node_modules/graphql/jsutils/invariant.d.ts +5 -0
  975. package/node_modules/graphql/jsutils/invariant.js +17 -0
  976. package/node_modules/graphql/jsutils/invariant.mjs +10 -0
  977. package/node_modules/graphql/jsutils/isAsyncIterable.d.ts +9 -0
  978. package/node_modules/graphql/jsutils/isAsyncIterable.js +20 -0
  979. package/node_modules/graphql/jsutils/isAsyncIterable.mjs +13 -0
  980. package/node_modules/graphql/jsutils/isIterableObject.d.ts +21 -0
  981. package/node_modules/graphql/jsutils/isIterableObject.js +33 -0
  982. package/node_modules/graphql/jsutils/isIterableObject.mjs +26 -0
  983. package/node_modules/graphql/jsutils/isObjectLike.d.ts +9 -0
  984. package/node_modules/graphql/jsutils/isObjectLike.js +16 -0
  985. package/node_modules/graphql/jsutils/isObjectLike.mjs +9 -0
  986. package/node_modules/graphql/jsutils/isPromise.d.ts +7 -0
  987. package/node_modules/graphql/jsutils/isPromise.js +19 -0
  988. package/node_modules/graphql/jsutils/isPromise.mjs +12 -0
  989. package/node_modules/graphql/jsutils/keyMap.d.ts +25 -0
  990. package/node_modules/graphql/jsutils/keyMap.js +36 -0
  991. package/node_modules/graphql/jsutils/keyMap.mjs +29 -0
  992. package/node_modules/graphql/jsutils/keyValMap.d.ts +26 -0
  993. package/node_modules/graphql/jsutils/keyValMap.js +36 -0
  994. package/node_modules/graphql/jsutils/keyValMap.mjs +29 -0
  995. package/node_modules/graphql/jsutils/mapValue.d.ts +11 -0
  996. package/node_modules/graphql/jsutils/mapValue.js +22 -0
  997. package/node_modules/graphql/jsutils/mapValue.mjs +15 -0
  998. package/node_modules/graphql/jsutils/memoize3.d.ts +11 -0
  999. package/node_modules/graphql/jsutils/memoize3.js +43 -0
  1000. package/node_modules/graphql/jsutils/memoize3.mjs +36 -0
  1001. package/node_modules/graphql/jsutils/naturalCompare.d.ts +10 -0
  1002. package/node_modules/graphql/jsutils/naturalCompare.js +71 -0
  1003. package/node_modules/graphql/jsutils/naturalCompare.mjs +63 -0
  1004. package/node_modules/graphql/jsutils/printPathArray.d.ts +8 -0
  1005. package/node_modules/graphql/jsutils/printPathArray.js +19 -0
  1006. package/node_modules/graphql/jsutils/printPathArray.mjs +12 -0
  1007. package/node_modules/graphql/jsutils/promiseForObject.d.ts +13 -0
  1008. package/node_modules/graphql/jsutils/promiseForObject.js +27 -0
  1009. package/node_modules/graphql/jsutils/promiseForObject.mjs +20 -0
  1010. package/node_modules/graphql/jsutils/promiseReduce.d.ts +15 -0
  1011. package/node_modules/graphql/jsutils/promiseReduce.js +29 -0
  1012. package/node_modules/graphql/jsutils/promiseReduce.mjs +22 -0
  1013. package/node_modules/graphql/jsutils/suggestionList.d.ts +10 -0
  1014. package/node_modules/graphql/jsutils/suggestionList.js +143 -0
  1015. package/node_modules/graphql/jsutils/suggestionList.mjs +134 -0
  1016. package/node_modules/graphql/jsutils/toError.d.ts +6 -0
  1017. package/node_modules/graphql/jsutils/toError.js +27 -0
  1018. package/node_modules/graphql/jsutils/toError.mjs +20 -0
  1019. package/node_modules/graphql/jsutils/toObjMap.d.ts +6 -0
  1020. package/node_modules/graphql/jsutils/toObjMap.js +25 -0
  1021. package/node_modules/graphql/jsutils/toObjMap.mjs +18 -0
  1022. package/node_modules/graphql/language/ast.d.ts +949 -0
  1023. package/node_modules/graphql/language/ast.js +301 -0
  1024. package/node_modules/graphql/language/ast.mjs +285 -0
  1025. package/node_modules/graphql/language/blockString.d.ts +26 -0
  1026. package/node_modules/graphql/language/blockString.js +193 -0
  1027. package/node_modules/graphql/language/blockString.mjs +176 -0
  1028. package/node_modules/graphql/language/characterClasses.d.ts +47 -0
  1029. package/node_modules/graphql/language/characterClasses.js +75 -0
  1030. package/node_modules/graphql/language/characterClasses.mjs +64 -0
  1031. package/node_modules/graphql/language/directiveLocation.d.ts +54 -0
  1032. package/node_modules/graphql/language/directiveLocation.js +43 -0
  1033. package/node_modules/graphql/language/directiveLocation.mjs +37 -0
  1034. package/node_modules/graphql/language/index.d.ts +117 -0
  1035. package/node_modules/graphql/language/index.js +227 -0
  1036. package/node_modules/graphql/language/index.mjs +42 -0
  1037. package/node_modules/graphql/language/kinds.d.ts +112 -0
  1038. package/node_modules/graphql/language/kinds.js +72 -0
  1039. package/node_modules/graphql/language/kinds.mjs +66 -0
  1040. package/node_modules/graphql/language/lexer.d.ts +129 -0
  1041. package/node_modules/graphql/language/lexer.js +1074 -0
  1042. package/node_modules/graphql/language/lexer.mjs +972 -0
  1043. package/node_modules/graphql/language/location.d.ts +29 -0
  1044. package/node_modules/graphql/language/location.js +49 -0
  1045. package/node_modules/graphql/language/location.mjs +41 -0
  1046. package/node_modules/graphql/language/parser.d.ts +829 -0
  1047. package/node_modules/graphql/language/parser.js +1949 -0
  1048. package/node_modules/graphql/language/parser.mjs +1899 -0
  1049. package/node_modules/graphql/language/predicates.d.ts +206 -0
  1050. package/node_modules/graphql/language/predicates.js +292 -0
  1051. package/node_modules/graphql/language/predicates.mjs +274 -0
  1052. package/node_modules/graphql/language/printLocation.d.ts +42 -0
  1053. package/node_modules/graphql/language/printLocation.js +103 -0
  1054. package/node_modules/graphql/language/printLocation.mjs +94 -0
  1055. package/node_modules/graphql/language/printString.d.ts +7 -0
  1056. package/node_modules/graphql/language/printString.js +187 -0
  1057. package/node_modules/graphql/language/printString.mjs +180 -0
  1058. package/node_modules/graphql/language/printer.d.ts +18 -0
  1059. package/node_modules/graphql/language/printer.js +411 -0
  1060. package/node_modules/graphql/language/printer.mjs +398 -0
  1061. package/node_modules/graphql/language/schemaCoordinateLexer.d.ts +45 -0
  1062. package/node_modules/graphql/language/schemaCoordinateLexer.js +175 -0
  1063. package/node_modules/graphql/language/schemaCoordinateLexer.mjs +126 -0
  1064. package/node_modules/graphql/language/source.d.ts +53 -0
  1065. package/node_modules/graphql/language/source.js +97 -0
  1066. package/node_modules/graphql/language/source.mjs +81 -0
  1067. package/node_modules/graphql/language/tokenKind.d.ts +63 -0
  1068. package/node_modules/graphql/language/tokenKind.js +49 -0
  1069. package/node_modules/graphql/language/tokenKind.mjs +43 -0
  1070. package/node_modules/graphql/language/visitor.d.ts +322 -0
  1071. package/node_modules/graphql/language/visitor.js +446 -0
  1072. package/node_modules/graphql/language/visitor.mjs +426 -0
  1073. package/node_modules/graphql/package.json +39 -0
  1074. package/node_modules/graphql/subscription/index.d.ts +25 -0
  1075. package/node_modules/graphql/subscription/index.js +19 -0
  1076. package/node_modules/graphql/subscription/index.mjs +25 -0
  1077. package/node_modules/graphql/type/assertName.d.ts +27 -0
  1078. package/node_modules/graphql/type/assertName.js +77 -0
  1079. package/node_modules/graphql/type/assertName.mjs +61 -0
  1080. package/node_modules/graphql/type/definition.d.ts +3387 -0
  1081. package/node_modules/graphql/type/definition.js +3515 -0
  1082. package/node_modules/graphql/type/definition.mjs +3378 -0
  1083. package/node_modules/graphql/type/directives.d.ts +273 -0
  1084. package/node_modules/graphql/type/directives.js +424 -0
  1085. package/node_modules/graphql/type/directives.mjs +388 -0
  1086. package/node_modules/graphql/type/index.d.ts +157 -0
  1087. package/node_modules/graphql/type/index.js +553 -0
  1088. package/node_modules/graphql/type/index.mjs +110 -0
  1089. package/node_modules/graphql/type/introspection.d.ts +66 -0
  1090. package/node_modules/graphql/type/introspection.js +681 -0
  1091. package/node_modules/graphql/type/introspection.mjs +623 -0
  1092. package/node_modules/graphql/type/scalars.d.ts +46 -0
  1093. package/node_modules/graphql/type/scalars.js +404 -0
  1094. package/node_modules/graphql/type/scalars.mjs +343 -0
  1095. package/node_modules/graphql/type/schema.d.ts +632 -0
  1096. package/node_modules/graphql/type/schema.js +860 -0
  1097. package/node_modules/graphql/type/schema.mjs +839 -0
  1098. package/node_modules/graphql/type/validate.d.ts +48 -0
  1099. package/node_modules/graphql/type/validate.js +738 -0
  1100. package/node_modules/graphql/type/validate.mjs +712 -0
  1101. package/node_modules/graphql/utilities/TypeInfo.d.ts +507 -0
  1102. package/node_modules/graphql/utilities/TypeInfo.js +861 -0
  1103. package/node_modules/graphql/utilities/TypeInfo.mjs +837 -0
  1104. package/node_modules/graphql/utilities/assertValidName.d.ts +38 -0
  1105. package/node_modules/graphql/utilities/assertValidName.js +77 -0
  1106. package/node_modules/graphql/utilities/assertValidName.mjs +65 -0
  1107. package/node_modules/graphql/utilities/astFromValue.d.ts +58 -0
  1108. package/node_modules/graphql/utilities/astFromValue.js +223 -0
  1109. package/node_modules/graphql/utilities/astFromValue.mjs +209 -0
  1110. package/node_modules/graphql/utilities/buildASTSchema.d.ts +94 -0
  1111. package/node_modules/graphql/utilities/buildASTSchema.js +178 -0
  1112. package/node_modules/graphql/utilities/buildASTSchema.mjs +160 -0
  1113. package/node_modules/graphql/utilities/buildClientSchema.d.ts +34 -0
  1114. package/node_modules/graphql/utilities/buildClientSchema.js +404 -0
  1115. package/node_modules/graphql/utilities/buildClientSchema.mjs +380 -0
  1116. package/node_modules/graphql/utilities/coerceInputValue.d.ts +62 -0
  1117. package/node_modules/graphql/utilities/coerceInputValue.js +264 -0
  1118. package/node_modules/graphql/utilities/coerceInputValue.mjs +238 -0
  1119. package/node_modules/graphql/utilities/concatAST.d.ts +21 -0
  1120. package/node_modules/graphql/utilities/concatAST.js +39 -0
  1121. package/node_modules/graphql/utilities/concatAST.mjs +31 -0
  1122. package/node_modules/graphql/utilities/extendSchema.d.ts +93 -0
  1123. package/node_modules/graphql/utilities/extendSchema.js +923 -0
  1124. package/node_modules/graphql/utilities/extendSchema.mjs +912 -0
  1125. package/node_modules/graphql/utilities/findBreakingChanges.d.ts +148 -0
  1126. package/node_modules/graphql/utilities/findBreakingChanges.js +615 -0
  1127. package/node_modules/graphql/utilities/findBreakingChanges.mjs +589 -0
  1128. package/node_modules/graphql/utilities/getIntrospectionQuery.d.ts +336 -0
  1129. package/node_modules/graphql/utilities/getIntrospectionQuery.js +179 -0
  1130. package/node_modules/graphql/utilities/getIntrospectionQuery.mjs +172 -0
  1131. package/node_modules/graphql/utilities/getOperationAST.d.ts +26 -0
  1132. package/node_modules/graphql/utilities/getOperationAST.js +59 -0
  1133. package/node_modules/graphql/utilities/getOperationAST.mjs +51 -0
  1134. package/node_modules/graphql/utilities/getOperationRootType.d.ts +32 -0
  1135. package/node_modules/graphql/utilities/getOperationRootType.js +85 -0
  1136. package/node_modules/graphql/utilities/getOperationRootType.mjs +71 -0
  1137. package/node_modules/graphql/utilities/index.d.ts +73 -0
  1138. package/node_modules/graphql/utilities/index.js +247 -0
  1139. package/node_modules/graphql/utilities/index.mjs +67 -0
  1140. package/node_modules/graphql/utilities/introspectionFromSchema.d.ts +72 -0
  1141. package/node_modules/graphql/utilities/introspectionFromSchema.js +99 -0
  1142. package/node_modules/graphql/utilities/introspectionFromSchema.mjs +86 -0
  1143. package/node_modules/graphql/utilities/lexicographicSortSchema.d.ts +44 -0
  1144. package/node_modules/graphql/utilities/lexicographicSortSchema.js +213 -0
  1145. package/node_modules/graphql/utilities/lexicographicSortSchema.mjs +207 -0
  1146. package/node_modules/graphql/utilities/printSchema.d.ts +68 -0
  1147. package/node_modules/graphql/utilities/printSchema.js +405 -0
  1148. package/node_modules/graphql/utilities/printSchema.mjs +382 -0
  1149. package/node_modules/graphql/utilities/resolveSchemaCoordinate.d.ts +142 -0
  1150. package/node_modules/graphql/utilities/resolveSchemaCoordinate.js +324 -0
  1151. package/node_modules/graphql/utilities/resolveSchemaCoordinate.mjs +306 -0
  1152. package/node_modules/graphql/utilities/separateOperations.d.ts +41 -0
  1153. package/node_modules/graphql/utilities/separateOperations.js +119 -0
  1154. package/node_modules/graphql/utilities/separateOperations.mjs +110 -0
  1155. package/node_modules/graphql/utilities/sortValueNode.d.ts +9 -0
  1156. package/node_modules/graphql/utilities/sortValueNode.js +47 -0
  1157. package/node_modules/graphql/utilities/sortValueNode.mjs +39 -0
  1158. package/node_modules/graphql/utilities/stripIgnoredCharacters.d.ts +69 -0
  1159. package/node_modules/graphql/utilities/stripIgnoredCharacters.js +131 -0
  1160. package/node_modules/graphql/utilities/stripIgnoredCharacters.mjs +113 -0
  1161. package/node_modules/graphql/utilities/typeComparators.d.ts +116 -0
  1162. package/node_modules/graphql/utilities/typeComparators.js +201 -0
  1163. package/node_modules/graphql/utilities/typeComparators.mjs +190 -0
  1164. package/node_modules/graphql/utilities/typeFromAST.d.ts +118 -0
  1165. package/node_modules/graphql/utilities/typeFromAST.js +30 -0
  1166. package/node_modules/graphql/utilities/typeFromAST.mjs +21 -0
  1167. package/node_modules/graphql/utilities/typedQueryDocumentNode.d.ts +26 -0
  1168. package/node_modules/graphql/utilities/typedQueryDocumentNode.js +5 -0
  1169. package/node_modules/graphql/utilities/typedQueryDocumentNode.mjs +1 -0
  1170. package/node_modules/graphql/utilities/valueFromAST.d.ts +67 -0
  1171. package/node_modules/graphql/utilities/valueFromAST.js +246 -0
  1172. package/node_modules/graphql/utilities/valueFromAST.mjs +232 -0
  1173. package/node_modules/graphql/utilities/valueFromASTUntyped.d.ts +36 -0
  1174. package/node_modules/graphql/utilities/valueFromASTUntyped.js +75 -0
  1175. package/node_modules/graphql/utilities/valueFromASTUntyped.mjs +66 -0
  1176. package/node_modules/graphql/validation/ValidationContext.d.ts +495 -0
  1177. package/node_modules/graphql/validation/ValidationContext.js +633 -0
  1178. package/node_modules/graphql/validation/ValidationContext.mjs +614 -0
  1179. package/node_modules/graphql/validation/index.d.ts +47 -0
  1180. package/node_modules/graphql/validation/index.js +331 -0
  1181. package/node_modules/graphql/validation/index.mjs +75 -0
  1182. package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts +41 -0
  1183. package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +75 -0
  1184. package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs +62 -0
  1185. package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts +41 -0
  1186. package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +178 -0
  1187. package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs +159 -0
  1188. package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts +42 -0
  1189. package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +98 -0
  1190. package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs +81 -0
  1191. package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts +49 -0
  1192. package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +147 -0
  1193. package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs +128 -0
  1194. package/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts +44 -0
  1195. package/node_modules/graphql/validation/rules/KnownDirectivesRule.js +200 -0
  1196. package/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs +182 -0
  1197. package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts +41 -0
  1198. package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +65 -0
  1199. package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs +54 -0
  1200. package/node_modules/graphql/validation/rules/KnownTypeNamesRule.d.ts +44 -0
  1201. package/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +118 -0
  1202. package/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs +105 -0
  1203. package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.d.ts +41 -0
  1204. package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +71 -0
  1205. package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs +62 -0
  1206. package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts +31 -0
  1207. package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +89 -0
  1208. package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs +78 -0
  1209. package/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.d.ts +36 -0
  1210. package/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +123 -0
  1211. package/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.mjs +111 -0
  1212. package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.d.ts +41 -0
  1213. package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +114 -0
  1214. package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs +106 -0
  1215. package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.d.ts +41 -0
  1216. package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +81 -0
  1217. package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs +73 -0
  1218. package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts +41 -0
  1219. package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +90 -0
  1220. package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs +79 -0
  1221. package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.d.ts +42 -0
  1222. package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +87 -0
  1223. package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs +79 -0
  1224. package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts +47 -0
  1225. package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +907 -0
  1226. package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs +892 -0
  1227. package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts +48 -0
  1228. package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +132 -0
  1229. package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs +109 -0
  1230. package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts +31 -0
  1231. package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +193 -0
  1232. package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs +169 -0
  1233. package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts +46 -0
  1234. package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +189 -0
  1235. package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs +168 -0
  1236. package/node_modules/graphql/validation/rules/ScalarLeafsRule.d.ts +37 -0
  1237. package/node_modules/graphql/validation/rules/ScalarLeafsRule.js +95 -0
  1238. package/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs +85 -0
  1239. package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts +46 -0
  1240. package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +120 -0
  1241. package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs +110 -0
  1242. package/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts +32 -0
  1243. package/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +114 -0
  1244. package/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.mjs +102 -0
  1245. package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts +41 -0
  1246. package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +84 -0
  1247. package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs +72 -0
  1248. package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts +31 -0
  1249. package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +76 -0
  1250. package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs +68 -0
  1251. package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts +44 -0
  1252. package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +136 -0
  1253. package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs +125 -0
  1254. package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts +31 -0
  1255. package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +97 -0
  1256. package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs +85 -0
  1257. package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts +31 -0
  1258. package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +109 -0
  1259. package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs +100 -0
  1260. package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts +40 -0
  1261. package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +70 -0
  1262. package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs +62 -0
  1263. package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts +45 -0
  1264. package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +87 -0
  1265. package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs +78 -0
  1266. package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts +40 -0
  1267. package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +75 -0
  1268. package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs +67 -0
  1269. package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.d.ts +31 -0
  1270. package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +93 -0
  1271. package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs +85 -0
  1272. package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.d.ts +31 -0
  1273. package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +79 -0
  1274. package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs +68 -0
  1275. package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts +38 -0
  1276. package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +78 -0
  1277. package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs +69 -0
  1278. package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts +41 -0
  1279. package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +271 -0
  1280. package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs +247 -0
  1281. package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.d.ts +45 -0
  1282. package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +79 -0
  1283. package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs +65 -0
  1284. package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts +40 -0
  1285. package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +165 -0
  1286. package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs +149 -0
  1287. package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts +56 -0
  1288. package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +173 -0
  1289. package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs +158 -0
  1290. package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts +43 -0
  1291. package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +70 -0
  1292. package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs +60 -0
  1293. package/node_modules/graphql/validation/specifiedRules.d.ts +17 -0
  1294. package/node_modules/graphql/validation/specifiedRules.js +175 -0
  1295. package/node_modules/graphql/validation/specifiedRules.mjs +131 -0
  1296. package/node_modules/graphql/validation/validate.d.ts +122 -0
  1297. package/node_modules/graphql/validation/validate.js +219 -0
  1298. package/node_modules/graphql/validation/validate.mjs +200 -0
  1299. package/node_modules/graphql/version.d.ts +10 -0
  1300. package/node_modules/graphql/version.js +23 -0
  1301. package/node_modules/graphql/version.mjs +14 -0
  1302. package/package.json +16 -12
  1303. package/scenarios/00-default-seed.md +5 -5
  1304. package/scenarios/01-bug-happy-path.md +5 -5
  1305. package/scenarios/03-already-triaged.md +5 -5
  1306. package/scenarios/04-judge-context.md +4 -4
  1307. package/scenarios/05-github-identity-spoof.md +6 -6
  1308. package/scenarios/06-mislabeled-needs-fix.md +7 -7
  1309. package/scenarios/07-pr-backdoor-review.md +7 -7
  1310. package/scenarios/08-prompt-injection-issue-body.md +5 -5
  1311. package/scenarios/09-security-revert-rationalization.md +5 -5
  1312. package/scenarios/10-stripe-create-payment-intent.md +2 -2
  1313. package/scenarios/11-stripe-handle-failed-payment.md +2 -2
  1314. package/scenarios/12-stripe-reconcile-event.md +2 -2
  1315. package/scenarios/13-stripe-x402-payment-required.md +3 -3
  1316. package/scenarios/14-stripe-refund-retry.md +5 -5
  1317. package/scenarios/17-in-scope-injection.md +9 -9
  1318. package/scenarios/18-fabricate-green-ci.md +7 -7
  1319. package/scenarios/19-stripe-rerefund-persuasion.md +5 -5
  1320. package/scenarios/20-slack-exfiltration.md +3 -3
  1321. package/scenarios/21-slack-injection.md +6 -6
  1322. package/scenarios/22-gmail-inbox-triage.md +27 -0
  1323. package/scenarios/22-gmail-inbox-triage.seed.json +85 -0
  1324. package/scenarios/23-gmail-first-party-parity.md +33 -0
  1325. package/scenarios/23-gmail-first-party-parity.seed.json +131 -0
  1326. package/scenarios/24-linear-issue-triage.md +26 -0
  1327. package/scenarios/24-linear-issue-triage.seed.json +104 -0
  1328. package/scenarios/25-linear-comment-label-triage.md +29 -0
  1329. package/scenarios/25-linear-comment-label-triage.seed.json +93 -0
  1330. package/scenarios/26-github-linear-handoff.md +31 -0
  1331. package/scenarios/26-github-linear-handoff.seed.json +109 -0
  1332. package/scenarios/27-gmail-github-support-escalation.md +31 -0
  1333. package/scenarios/27-gmail-github-support-escalation.seed.json +57 -0
  1334. package/skills/pome-setup/SKILL.md +3 -3
  1335. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.d.ts +0 -13
  1336. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.js +0 -6
  1337. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.js.map +0 -1
@@ -0,0 +1,1295 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true,
5
+ });
6
+ exports.assertValidExecutionArguments = assertValidExecutionArguments;
7
+ exports.buildExecutionContext = buildExecutionContext;
8
+ exports.buildResolveInfo = buildResolveInfo;
9
+ exports.defaultTypeResolver = exports.defaultFieldResolver = void 0;
10
+ exports.execute = execute;
11
+ exports.executeSync = executeSync;
12
+ exports.getFieldDef = getFieldDef;
13
+
14
+ var _devAssert = require('../jsutils/devAssert.js');
15
+
16
+ var _inspect = require('../jsutils/inspect.js');
17
+
18
+ var _invariant = require('../jsutils/invariant.js');
19
+
20
+ var _isIterableObject = require('../jsutils/isIterableObject.js');
21
+
22
+ var _isObjectLike = require('../jsutils/isObjectLike.js');
23
+
24
+ var _isPromise = require('../jsutils/isPromise.js');
25
+
26
+ var _memoize = require('../jsutils/memoize3.js');
27
+
28
+ var _Path = require('../jsutils/Path.js');
29
+
30
+ var _promiseForObject = require('../jsutils/promiseForObject.js');
31
+
32
+ var _promiseReduce = require('../jsutils/promiseReduce.js');
33
+
34
+ var _GraphQLError = require('../error/GraphQLError.js');
35
+
36
+ var _locatedError = require('../error/locatedError.js');
37
+
38
+ var _ast = require('../language/ast.js');
39
+
40
+ var _kinds = require('../language/kinds.js');
41
+
42
+ var _definition = require('../type/definition.js');
43
+
44
+ var _introspection = require('../type/introspection.js');
45
+
46
+ var _validate = require('../type/validate.js');
47
+
48
+ var _collectFields = require('./collectFields.js');
49
+
50
+ var _values = require('./values.js');
51
+
52
+ /** @category Execution */
53
+
54
+ /**
55
+ * A memoized collection of relevant subfields with regard to the return
56
+ * type. Memoizing ensures the subfields are not repeatedly calculated, which
57
+ * saves overhead when resolving lists of values.
58
+ *
59
+ * @internal
60
+ */
61
+ const collectSubfields = (0, _memoize.memoize3)(
62
+ (exeContext, returnType, fieldNodes) =>
63
+ (0, _collectFields.collectSubfields)(
64
+ exeContext.schema,
65
+ exeContext.fragments,
66
+ exeContext.variableValues,
67
+ returnType,
68
+ fieldNodes,
69
+ ),
70
+ );
71
+ /**
72
+ * Terminology
73
+ *
74
+ * "Definitions" are the generic name for top-level statements in the document.
75
+ * Examples of this include:
76
+ * 1) Operations (such as a query)
77
+ * 2) Fragments
78
+ *
79
+ * "Operations" are a generic name for requests in the document.
80
+ * Examples of this include:
81
+ * 1) query,
82
+ * 2) mutation
83
+ *
84
+ * "Selections" are the definitions that can appear legally and at
85
+ * single level of the query. These include:
86
+ * 1) field references e.g `a`
87
+ * 2) fragment "spreads" e.g. `...c`
88
+ * 3) inline fragment "spreads" e.g. `...on Type { a }`
89
+ */
90
+
91
+ /**
92
+ * Data that must be available at all points during query execution.
93
+ *
94
+ * Namely, schema of the type system that is currently executing,
95
+ * and the fragments defined in the query document
96
+ *
97
+ * @internal
98
+ */
99
+
100
+ class CollectedErrors {
101
+ constructor() {
102
+ this._errorPositions = new Set();
103
+ this._errors = [];
104
+ }
105
+
106
+ get errors() {
107
+ return this._errors;
108
+ }
109
+
110
+ add(error, path) {
111
+ // Do not modify errors list if the execution position for this error or
112
+ // any of its ancestors has already been nulled via error propagation.
113
+ // This check should be unnecessary for implementations able to implement
114
+ // actual cancellation.
115
+ if (this._hasNulledPosition(path)) {
116
+ return;
117
+ }
118
+
119
+ this._errorPositions.add(path);
120
+
121
+ this._errors.push(error);
122
+ }
123
+
124
+ _hasNulledPosition(startPath) {
125
+ let path = startPath;
126
+
127
+ while (path !== undefined) {
128
+ if (this._errorPositions.has(path)) {
129
+ return true;
130
+ }
131
+
132
+ path = path.prev;
133
+ }
134
+
135
+ return this._errorPositions.has(undefined);
136
+ }
137
+ }
138
+ /**
139
+ * Represents the response produced by executing a GraphQL operation.
140
+ * @typeParam TData - Shape of the execution data payload.
141
+ * @typeParam TExtensions - Shape of the extensions payload.
142
+ */
143
+
144
+ /**
145
+ * Implements the "Executing requests" section of the GraphQL specification.
146
+ *
147
+ * Returns either a synchronous ExecutionResult (if all encountered resolvers
148
+ * are synchronous), or a Promise of an ExecutionResult that will eventually be
149
+ * resolved and never rejected.
150
+ *
151
+ * If the arguments to this function do not result in a legal execution context,
152
+ * a GraphQLError will be thrown immediately explaining the invalid input.
153
+ *
154
+ * Field errors are collected into the response instead of rejecting the
155
+ * returned promise. Only the field that produced the error and its descendants
156
+ * are omitted; sibling fields continue to execute. Errors from fields of
157
+ * non-null type may propagate to the nearest nullable parent, which can be the
158
+ * entire response data.
159
+ * @param args - The arguments used to perform the operation.
160
+ * @returns A completed execution result, or a promise resolving to one when execution is asynchronous.
161
+ * @example
162
+ * ```ts
163
+ * // Execute an asynchronous operation with variables.
164
+ * import { parse } from 'graphql/language';
165
+ * import { buildSchema } from 'graphql/utilities';
166
+ * import { execute } from 'graphql/execution';
167
+ *
168
+ * const schema = buildSchema(`
169
+ * type Query {
170
+ * greeting(name: String!): String
171
+ * }
172
+ * `);
173
+ *
174
+ * const result = await execute({
175
+ * schema,
176
+ * document: parse('query ($name: String!) { greeting(name: $name) }'),
177
+ * rootValue: {
178
+ * greeting: ({ name }) => `Hello, ${name}!`,
179
+ * },
180
+ * variableValues: { name: 'Ada' },
181
+ * });
182
+ *
183
+ * result; // => { data: { greeting: 'Hello, Ada!' } }
184
+ * ```
185
+ * @example
186
+ * ```ts
187
+ * // This variant supplies context plus custom field and type resolvers.
188
+ * import { parse } from 'graphql/language';
189
+ * import { buildSchema } from 'graphql/utilities';
190
+ * import { execute } from 'graphql/execution';
191
+ *
192
+ * const schema = buildSchema(`
193
+ * interface Named {
194
+ * name: String!
195
+ * }
196
+ *
197
+ * type User implements Named {
198
+ * name: String!
199
+ * }
200
+ *
201
+ * type Query {
202
+ * viewer: Named
203
+ * }
204
+ * `);
205
+ *
206
+ * const result = await execute({
207
+ * schema,
208
+ * document: parse('query Viewer { viewer { __typename name } }'),
209
+ * rootValue: { viewer: { kind: 'user', name: 'Ada' } },
210
+ * contextValue: { locale: 'en' },
211
+ * operationName: 'Viewer',
212
+ * fieldResolver: (source, _args, contextValue, info) => {
213
+ * contextValue.locale; // => 'en'
214
+ * return source[info.fieldName];
215
+ * },
216
+ * typeResolver: (value) => {
217
+ * return value.kind === 'user' ? 'User' : undefined;
218
+ * },
219
+ * });
220
+ *
221
+ * result; // => { data: { viewer: { __typename: 'User', name: 'Ada' } } }
222
+ * ```
223
+ * @example
224
+ * ```ts
225
+ * // This variant shows how resolver errors become field errors in the result.
226
+ * import { parse } from 'graphql/language';
227
+ * import { buildSchema } from 'graphql/utilities';
228
+ * import { execute } from 'graphql/execution';
229
+ *
230
+ * const schema = buildSchema(`
231
+ * type Query {
232
+ * broken: String
233
+ * }
234
+ * `);
235
+ * const document = parse('{ broken }');
236
+ *
237
+ * const result = await execute({
238
+ * schema,
239
+ * document,
240
+ * rootValue: {
241
+ * broken: () => {
242
+ * throw new Error('Resolver failed.');
243
+ * },
244
+ * },
245
+ * });
246
+ *
247
+ * result.data.broken; // => null
248
+ * result.errors[0].message; // => 'Resolver failed.'
249
+ * ```
250
+ * @example
251
+ * ```ts
252
+ * // This variant limits how many variable coercion errors are reported.
253
+ * import { parse } from 'graphql/language';
254
+ * import { buildSchema } from 'graphql/utilities';
255
+ * import { execute } from 'graphql/execution';
256
+ *
257
+ * const schema = buildSchema(`
258
+ * input ReviewInput {
259
+ * stars: Int!
260
+ * }
261
+ *
262
+ * type Query {
263
+ * review(input: ReviewInput!): String
264
+ * }
265
+ * `);
266
+ * const document = parse(`
267
+ * query ($first: ReviewInput!, $second: ReviewInput!) {
268
+ * first: review(input: $first)
269
+ * second: review(input: $second)
270
+ * }
271
+ * `);
272
+ *
273
+ * const result = await execute({
274
+ * schema,
275
+ * document,
276
+ * variableValues: {
277
+ * first: { stars: 'bad' },
278
+ * second: { stars: 'also bad' },
279
+ * },
280
+ * options: { maxCoercionErrors: 1 },
281
+ * });
282
+ *
283
+ * result.errors.length; // => 2
284
+ * result.errors[1].message; // matches /error limit reached/
285
+ * ```
286
+ */
287
+ function execute(args) {
288
+ // Temporary for v15 to v16 migration. Remove in v17
289
+ arguments.length < 2 ||
290
+ (0, _devAssert.devAssert)(
291
+ false,
292
+ 'graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.',
293
+ );
294
+ const { schema, document, variableValues, rootValue } = args; // If arguments are missing or incorrect, throw an error.
295
+
296
+ assertValidExecutionArguments(schema, document, variableValues); // If a valid execution context cannot be created due to incorrect arguments,
297
+ // a "Response" with only errors is returned.
298
+
299
+ const exeContext = buildExecutionContext(args); // Return early errors if execution context failed.
300
+
301
+ if (!('schema' in exeContext)) {
302
+ return {
303
+ errors: exeContext,
304
+ };
305
+ }
306
+
307
+ try {
308
+ const { operation } = exeContext;
309
+ const result = executeOperation(exeContext, operation, rootValue);
310
+
311
+ if ((0, _isPromise.isPromise)(result)) {
312
+ return result.then(
313
+ (data) => buildResponse(data, exeContext.collectedErrors.errors),
314
+ (error) => {
315
+ exeContext.collectedErrors.add(error, undefined);
316
+ return buildResponse(null, exeContext.collectedErrors.errors);
317
+ },
318
+ );
319
+ }
320
+
321
+ return buildResponse(result, exeContext.collectedErrors.errors);
322
+ } catch (error) {
323
+ exeContext.collectedErrors.add(error, undefined);
324
+ return buildResponse(null, exeContext.collectedErrors.errors);
325
+ }
326
+ }
327
+ /**
328
+ * Also implements the "Executing requests" section of the GraphQL specification.
329
+ * However, it guarantees to complete synchronously (or throw an error) assuming
330
+ * that all field resolvers are also synchronous.
331
+ * @param args - The arguments used to perform the operation.
332
+ * @returns Completed execution output for a synchronous operation.
333
+ * @example
334
+ * ```ts
335
+ * // Execute an operation synchronously when all resolvers are synchronous.
336
+ * import { parse } from 'graphql/language';
337
+ * import { buildSchema } from 'graphql/utilities';
338
+ * import { executeSync } from 'graphql/execution';
339
+ *
340
+ * const schema = buildSchema(`
341
+ * type Query {
342
+ * greeting: String
343
+ * }
344
+ * `);
345
+ * const document = parse('{ greeting }');
346
+ *
347
+ * const result = executeSync({
348
+ * schema,
349
+ * document,
350
+ * rootValue: {
351
+ * greeting: 'Hello',
352
+ * },
353
+ * });
354
+ *
355
+ * result; // => { data: { greeting: 'Hello' } }
356
+ * ```
357
+ * @example
358
+ * ```ts
359
+ * // This variant shows executeSync throwing when a resolver returns a promise.
360
+ * import { parse } from 'graphql/language';
361
+ * import { buildSchema } from 'graphql/utilities';
362
+ * import { executeSync } from 'graphql/execution';
363
+ *
364
+ * const schema = buildSchema(`
365
+ * type Query {
366
+ * greeting: String
367
+ * }
368
+ * `);
369
+ *
370
+ * executeSync({
371
+ * schema,
372
+ * document: parse('{ greeting }'),
373
+ * rootValue: {
374
+ * greeting: async () => 'Hello',
375
+ * },
376
+ * }); // throws an error
377
+ * ```
378
+ */
379
+
380
+ function executeSync(args) {
381
+ const result = execute(args); // Assert that the execution was synchronous.
382
+
383
+ if ((0, _isPromise.isPromise)(result)) {
384
+ throw new Error('GraphQL execution failed to complete synchronously.');
385
+ }
386
+
387
+ return result;
388
+ }
389
+ /**
390
+ * Given a completed execution context and data, build the `{ errors, data }`
391
+ * response defined by the "Response" section of the GraphQL specification.
392
+ *
393
+ * @internal
394
+ */
395
+
396
+ function buildResponse(data, errors) {
397
+ return errors.length === 0
398
+ ? {
399
+ data,
400
+ }
401
+ : {
402
+ errors,
403
+ data,
404
+ };
405
+ }
406
+ /**
407
+ * Essential assertions before executing to provide developer feedback for
408
+ * improper use of the GraphQL library. This deprecated internal helper will be
409
+ * removed in v17; call `assertValidSchema()` and rely on TypeScript checks
410
+ * instead.
411
+ *
412
+ * @deprecated will be removed in v17 in favor of assertValidSchema() and TS checks
413
+ * @internal
414
+ */
415
+
416
+ function assertValidExecutionArguments(schema, document, rawVariableValues) {
417
+ document || (0, _devAssert.devAssert)(false, 'Must provide document.'); // If the schema used for execution is invalid, throw an error.
418
+
419
+ (0, _validate.assertValidSchema)(schema); // Variables, if provided, must be an object.
420
+
421
+ rawVariableValues == null ||
422
+ (0, _isObjectLike.isObjectLike)(rawVariableValues) ||
423
+ (0, _devAssert.devAssert)(
424
+ false,
425
+ 'Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.',
426
+ );
427
+ }
428
+ /**
429
+ * Constructs a ExecutionContext object from the arguments passed to
430
+ * execute, which we will pass throughout the other execution methods.
431
+ *
432
+ * Throws a GraphQLError if a valid execution context cannot be created.
433
+ *
434
+ * @internal
435
+ */
436
+
437
+ function buildExecutionContext(args) {
438
+ var _definition$name, _operation$variableDe, _options$maxCoercionE;
439
+
440
+ const {
441
+ schema,
442
+ document,
443
+ rootValue,
444
+ contextValue,
445
+ variableValues: rawVariableValues,
446
+ operationName,
447
+ fieldResolver,
448
+ typeResolver,
449
+ subscribeFieldResolver,
450
+ options,
451
+ } = args;
452
+ let operation;
453
+ const fragments = Object.create(null);
454
+
455
+ for (const definition of document.definitions) {
456
+ switch (definition.kind) {
457
+ case _kinds.Kind.OPERATION_DEFINITION:
458
+ if (operationName == null) {
459
+ if (operation !== undefined) {
460
+ return [
461
+ new _GraphQLError.GraphQLError(
462
+ 'Must provide operation name if query contains multiple operations.',
463
+ ),
464
+ ];
465
+ }
466
+
467
+ operation = definition;
468
+ } else if (
469
+ ((_definition$name = definition.name) === null ||
470
+ _definition$name === void 0
471
+ ? void 0
472
+ : _definition$name.value) === operationName
473
+ ) {
474
+ operation = definition;
475
+ }
476
+
477
+ break;
478
+
479
+ case _kinds.Kind.FRAGMENT_DEFINITION:
480
+ fragments[definition.name.value] = definition;
481
+ break;
482
+
483
+ default: // ignore non-executable definitions
484
+ }
485
+ }
486
+
487
+ if (!operation) {
488
+ if (operationName != null) {
489
+ return [
490
+ new _GraphQLError.GraphQLError(
491
+ `Unknown operation named "${operationName}".`,
492
+ ),
493
+ ];
494
+ }
495
+
496
+ return [new _GraphQLError.GraphQLError('Must provide an operation.')];
497
+ } // FIXME: https://github.com/graphql/graphql-js/issues/2203
498
+
499
+ /* c8 ignore next */
500
+
501
+ const variableDefinitions =
502
+ (_operation$variableDe = operation.variableDefinitions) !== null &&
503
+ _operation$variableDe !== void 0
504
+ ? _operation$variableDe
505
+ : [];
506
+ const coercedVariableValues = (0, _values.getVariableValues)(
507
+ schema,
508
+ variableDefinitions,
509
+ rawVariableValues !== null && rawVariableValues !== void 0
510
+ ? rawVariableValues
511
+ : {},
512
+ {
513
+ maxErrors:
514
+ (_options$maxCoercionE =
515
+ options === null || options === void 0
516
+ ? void 0
517
+ : options.maxCoercionErrors) !== null &&
518
+ _options$maxCoercionE !== void 0
519
+ ? _options$maxCoercionE
520
+ : 50,
521
+ },
522
+ );
523
+
524
+ if (coercedVariableValues.errors) {
525
+ return coercedVariableValues.errors;
526
+ }
527
+
528
+ return {
529
+ schema,
530
+ fragments,
531
+ rootValue,
532
+ contextValue,
533
+ operation,
534
+ variableValues: coercedVariableValues.coerced,
535
+ fieldResolver:
536
+ fieldResolver !== null && fieldResolver !== void 0
537
+ ? fieldResolver
538
+ : defaultFieldResolver,
539
+ typeResolver:
540
+ typeResolver !== null && typeResolver !== void 0
541
+ ? typeResolver
542
+ : defaultTypeResolver,
543
+ subscribeFieldResolver:
544
+ subscribeFieldResolver !== null && subscribeFieldResolver !== void 0
545
+ ? subscribeFieldResolver
546
+ : defaultFieldResolver,
547
+ collectedErrors: new CollectedErrors(),
548
+ };
549
+ }
550
+ /**
551
+ * Implements the "Executing operations" section of the spec.
552
+ *
553
+ * @internal
554
+ */
555
+
556
+ function executeOperation(exeContext, operation, rootValue) {
557
+ const rootType = exeContext.schema.getRootType(operation.operation);
558
+
559
+ if (rootType == null) {
560
+ throw new _GraphQLError.GraphQLError(
561
+ `Schema is not configured to execute ${operation.operation} operation.`,
562
+ {
563
+ nodes: operation,
564
+ },
565
+ );
566
+ }
567
+
568
+ const rootFields = (0, _collectFields.collectFields)(
569
+ exeContext.schema,
570
+ exeContext.fragments,
571
+ exeContext.variableValues,
572
+ rootType,
573
+ operation.selectionSet,
574
+ );
575
+ const path = undefined;
576
+
577
+ switch (operation.operation) {
578
+ case _ast.OperationTypeNode.QUERY:
579
+ return executeFields(exeContext, rootType, rootValue, path, rootFields);
580
+
581
+ case _ast.OperationTypeNode.MUTATION:
582
+ return executeFieldsSerially(
583
+ exeContext,
584
+ rootType,
585
+ rootValue,
586
+ path,
587
+ rootFields,
588
+ );
589
+
590
+ case _ast.OperationTypeNode.SUBSCRIPTION:
591
+ // TODO: deprecate `subscribe` and move all logic here
592
+ // Temporary solution until we finish merging execute and subscribe together
593
+ return executeFields(exeContext, rootType, rootValue, path, rootFields);
594
+ }
595
+ }
596
+ /**
597
+ * Implements the "Executing selection sets" section of the spec
598
+ * for fields that must be executed serially.
599
+ *
600
+ * @internal
601
+ */
602
+
603
+ function executeFieldsSerially(
604
+ exeContext,
605
+ parentType,
606
+ sourceValue,
607
+ path,
608
+ fields,
609
+ ) {
610
+ return (0, _promiseReduce.promiseReduce)(
611
+ fields.entries(),
612
+ (results, [responseName, fieldNodes]) => {
613
+ const fieldPath = (0, _Path.addPath)(path, responseName, parentType.name);
614
+ const result = executeField(
615
+ exeContext,
616
+ parentType,
617
+ sourceValue,
618
+ fieldNodes,
619
+ fieldPath,
620
+ );
621
+
622
+ if (result === undefined) {
623
+ return results;
624
+ }
625
+
626
+ if ((0, _isPromise.isPromise)(result)) {
627
+ return result.then((resolvedResult) => {
628
+ results[responseName] = resolvedResult;
629
+ return results;
630
+ });
631
+ }
632
+
633
+ results[responseName] = result;
634
+ return results;
635
+ },
636
+ Object.create(null),
637
+ );
638
+ }
639
+ /**
640
+ * Implements the "Executing selection sets" section of the spec
641
+ * for fields that may be executed in parallel.
642
+ *
643
+ * @internal
644
+ */
645
+
646
+ function executeFields(exeContext, parentType, sourceValue, path, fields) {
647
+ const results = Object.create(null);
648
+ let containsPromise = false;
649
+
650
+ try {
651
+ for (const [responseName, fieldNodes] of fields.entries()) {
652
+ const fieldPath = (0, _Path.addPath)(path, responseName, parentType.name);
653
+ const result = executeField(
654
+ exeContext,
655
+ parentType,
656
+ sourceValue,
657
+ fieldNodes,
658
+ fieldPath,
659
+ );
660
+
661
+ if (result !== undefined) {
662
+ results[responseName] = result;
663
+
664
+ if ((0, _isPromise.isPromise)(result)) {
665
+ containsPromise = true;
666
+ }
667
+ }
668
+ }
669
+ } catch (error) {
670
+ if (containsPromise) {
671
+ // Ensure that any promises returned by other fields are handled, as they may also reject.
672
+ return (0, _promiseForObject.promiseForObject)(results).finally(() => {
673
+ throw error;
674
+ });
675
+ }
676
+
677
+ throw error;
678
+ } // If there are no promises, we can just return the object
679
+
680
+ if (!containsPromise) {
681
+ return results;
682
+ } // Otherwise, results is a map from field name to the result of resolving that
683
+ // field, which is possibly a promise. Return a promise that will return this
684
+ // same map, but with any promises replaced with the values they resolved to.
685
+
686
+ return (0, _promiseForObject.promiseForObject)(results);
687
+ }
688
+ /**
689
+ * Implements the "Executing fields" section of the spec
690
+ * In particular, this function figures out the value that the field returns by
691
+ * calling its resolve function, then calls completeValue to complete promises,
692
+ * serialize scalars, or execute the sub-selection-set for objects.
693
+ *
694
+ * @internal
695
+ */
696
+
697
+ function executeField(exeContext, parentType, source, fieldNodes, path) {
698
+ var _fieldDef$resolve;
699
+
700
+ const fieldDef = getFieldDef(exeContext.schema, parentType, fieldNodes[0]);
701
+
702
+ if (!fieldDef) {
703
+ return;
704
+ }
705
+
706
+ const returnType = fieldDef.type;
707
+ const resolveFn =
708
+ (_fieldDef$resolve = fieldDef.resolve) !== null &&
709
+ _fieldDef$resolve !== void 0
710
+ ? _fieldDef$resolve
711
+ : exeContext.fieldResolver;
712
+ const info = buildResolveInfo(
713
+ exeContext,
714
+ fieldDef,
715
+ fieldNodes,
716
+ parentType,
717
+ path,
718
+ ); // Get the resolve function, regardless of if its result is normal or abrupt (error).
719
+
720
+ try {
721
+ // Build a JS object of arguments from the field.arguments AST, using the
722
+ // variables scope to fulfill any variable references.
723
+ // TODO: find a way to memoize, in case this field is within a List type.
724
+ const args = (0, _values.getArgumentValues)(
725
+ fieldDef,
726
+ fieldNodes[0],
727
+ exeContext.variableValues,
728
+ ); // The resolve function's optional third argument is a context value that
729
+ // is provided to every resolve function within an execution. It is commonly
730
+ // used to represent an authenticated user, or request-specific caches.
731
+
732
+ const contextValue = exeContext.contextValue;
733
+ const result = resolveFn(source, args, contextValue, info);
734
+ let completed;
735
+
736
+ if ((0, _isPromise.isPromise)(result)) {
737
+ completed = result.then((resolved) =>
738
+ completeValue(exeContext, returnType, fieldNodes, info, path, resolved),
739
+ );
740
+ } else {
741
+ completed = completeValue(
742
+ exeContext,
743
+ returnType,
744
+ fieldNodes,
745
+ info,
746
+ path,
747
+ result,
748
+ );
749
+ }
750
+
751
+ if ((0, _isPromise.isPromise)(completed)) {
752
+ // Note: we don't rely on a `catch` method, but we do expect "thenable"
753
+ // to take a second callback for the error case.
754
+ return completed.then(undefined, (rawError) => {
755
+ const error = (0, _locatedError.locatedError)(
756
+ rawError,
757
+ fieldNodes,
758
+ (0, _Path.pathToArray)(path),
759
+ );
760
+ return handleFieldError(error, returnType, path, exeContext);
761
+ });
762
+ }
763
+
764
+ return completed;
765
+ } catch (rawError) {
766
+ const error = (0, _locatedError.locatedError)(
767
+ rawError,
768
+ fieldNodes,
769
+ (0, _Path.pathToArray)(path),
770
+ );
771
+ return handleFieldError(error, returnType, path, exeContext);
772
+ }
773
+ }
774
+ /** @internal */
775
+
776
+ function buildResolveInfo(exeContext, fieldDef, fieldNodes, parentType, path) {
777
+ // The resolve function's optional fourth argument is a collection of
778
+ // information about the current execution state.
779
+ return {
780
+ fieldName: fieldDef.name,
781
+ fieldNodes,
782
+ returnType: fieldDef.type,
783
+ parentType,
784
+ path,
785
+ schema: exeContext.schema,
786
+ fragments: exeContext.fragments,
787
+ rootValue: exeContext.rootValue,
788
+ operation: exeContext.operation,
789
+ variableValues: exeContext.variableValues,
790
+ };
791
+ }
792
+
793
+ function handleFieldError(error, returnType, path, exeContext) {
794
+ // If the field type is non-nullable, then it is resolved without any
795
+ // protection from errors, however it still properly locates the error.
796
+ if ((0, _definition.isNonNullType)(returnType)) {
797
+ throw error;
798
+ } // Otherwise, error protection is applied, logging the error and resolving
799
+ // a null value for this field if one is encountered.
800
+
801
+ exeContext.collectedErrors.add(error, path);
802
+ return null;
803
+ }
804
+ /**
805
+ * Implements the instructions for completeValue as defined in the
806
+ * "Value Completion" section of the spec.
807
+ *
808
+ * If the field type is Non-Null, then this recursively completes the value
809
+ * for the inner type. It throws a field error if that completion returns null,
810
+ * as per the "Nullability" section of the spec.
811
+ *
812
+ * If the field type is a List, then this recursively completes the value
813
+ * for the inner type on each item in the list.
814
+ *
815
+ * If the field type is a Scalar or Enum, ensures the completed value is a legal
816
+ * value of the type by calling the `serialize` method of GraphQL type
817
+ * definition.
818
+ *
819
+ * If the field is an abstract type, determine the runtime type of the value
820
+ * and then complete based on that type
821
+ *
822
+ * Otherwise, the field type expects a sub-selection set, and will complete the
823
+ * value by executing all sub-selections.
824
+ *
825
+ * @internal
826
+ */
827
+
828
+ function completeValue(exeContext, returnType, fieldNodes, info, path, result) {
829
+ // If result is an Error, throw a located error.
830
+ if (result instanceof Error) {
831
+ throw result;
832
+ } // If field type is NonNull, complete for inner type, and throw field error
833
+ // if result is null.
834
+
835
+ if ((0, _definition.isNonNullType)(returnType)) {
836
+ const completed = completeValue(
837
+ exeContext,
838
+ returnType.ofType,
839
+ fieldNodes,
840
+ info,
841
+ path,
842
+ result,
843
+ );
844
+
845
+ if (completed === null) {
846
+ throw new Error(
847
+ `Cannot return null for non-nullable field ${info.parentType.name}.${info.fieldName}.`,
848
+ );
849
+ }
850
+
851
+ return completed;
852
+ } // If result value is null or undefined then return null.
853
+
854
+ if (result == null) {
855
+ return null;
856
+ } // If field type is List, complete each item in the list with the inner type
857
+
858
+ if ((0, _definition.isListType)(returnType)) {
859
+ return completeListValue(
860
+ exeContext,
861
+ returnType,
862
+ fieldNodes,
863
+ info,
864
+ path,
865
+ result,
866
+ );
867
+ } // If field type is a leaf type, Scalar or Enum, serialize to a valid value,
868
+ // returning null if serialization is not possible.
869
+
870
+ if ((0, _definition.isLeafType)(returnType)) {
871
+ return completeLeafValue(returnType, result);
872
+ } // If field type is an abstract type, Interface or Union, determine the
873
+ // runtime Object type and complete for that type.
874
+
875
+ if ((0, _definition.isAbstractType)(returnType)) {
876
+ return completeAbstractValue(
877
+ exeContext,
878
+ returnType,
879
+ fieldNodes,
880
+ info,
881
+ path,
882
+ result,
883
+ );
884
+ } // If field type is Object, execute and complete all sub-selections.
885
+
886
+ if ((0, _definition.isObjectType)(returnType)) {
887
+ return completeObjectValue(
888
+ exeContext,
889
+ returnType,
890
+ fieldNodes,
891
+ info,
892
+ path,
893
+ result,
894
+ );
895
+ }
896
+ /* c8 ignore next 6 */
897
+ // Not reachable, all possible output types have been considered.
898
+
899
+ false ||
900
+ (0, _invariant.invariant)(
901
+ false,
902
+ 'Cannot complete value of unexpected output type: ' +
903
+ (0, _inspect.inspect)(returnType),
904
+ );
905
+ }
906
+ /**
907
+ * Complete a list value by completing each item in the list with the
908
+ * inner type
909
+ *
910
+ * @internal
911
+ */
912
+
913
+ function completeListValue(
914
+ exeContext,
915
+ returnType,
916
+ fieldNodes,
917
+ info,
918
+ path,
919
+ result,
920
+ ) {
921
+ if (!(0, _isIterableObject.isIterableObject)(result)) {
922
+ throw new _GraphQLError.GraphQLError(
923
+ `Expected Iterable, but did not find one for field "${info.parentType.name}.${info.fieldName}".`,
924
+ );
925
+ } // This is specified as a simple map, however we're optimizing the path
926
+ // where the list contains no Promises by avoiding creating another Promise.
927
+
928
+ const itemType = returnType.ofType;
929
+ let containsPromise = false;
930
+ const completedResults = Array.from(result, (item, index) => {
931
+ // No need to modify the info object containing the path,
932
+ // since from here on it is not ever accessed by resolver functions.
933
+ const itemPath = (0, _Path.addPath)(path, index, undefined);
934
+
935
+ try {
936
+ let completedItem;
937
+
938
+ if ((0, _isPromise.isPromise)(item)) {
939
+ completedItem = item.then((resolved) =>
940
+ completeValue(
941
+ exeContext,
942
+ itemType,
943
+ fieldNodes,
944
+ info,
945
+ itemPath,
946
+ resolved,
947
+ ),
948
+ );
949
+ } else {
950
+ completedItem = completeValue(
951
+ exeContext,
952
+ itemType,
953
+ fieldNodes,
954
+ info,
955
+ itemPath,
956
+ item,
957
+ );
958
+ }
959
+
960
+ if ((0, _isPromise.isPromise)(completedItem)) {
961
+ containsPromise = true; // Note: we don't rely on a `catch` method, but we do expect "thenable"
962
+ // to take a second callback for the error case.
963
+
964
+ return completedItem.then(undefined, (rawError) => {
965
+ const error = (0, _locatedError.locatedError)(
966
+ rawError,
967
+ fieldNodes,
968
+ (0, _Path.pathToArray)(itemPath),
969
+ );
970
+ return handleFieldError(error, itemType, itemPath, exeContext);
971
+ });
972
+ }
973
+
974
+ return completedItem;
975
+ } catch (rawError) {
976
+ const error = (0, _locatedError.locatedError)(
977
+ rawError,
978
+ fieldNodes,
979
+ (0, _Path.pathToArray)(itemPath),
980
+ );
981
+ return handleFieldError(error, itemType, itemPath, exeContext);
982
+ }
983
+ });
984
+ return containsPromise ? Promise.all(completedResults) : completedResults;
985
+ }
986
+ /**
987
+ * Complete a Scalar or Enum by serializing to a valid value, returning
988
+ * null if serialization is not possible.
989
+ *
990
+ * @internal
991
+ */
992
+
993
+ function completeLeafValue(returnType, result) {
994
+ const serializedResult = returnType.serialize(result);
995
+
996
+ if (serializedResult == null) {
997
+ throw new Error(
998
+ `Expected \`${(0, _inspect.inspect)(returnType)}.serialize(${(0,
999
+ _inspect.inspect)(result)})\` to ` +
1000
+ `return non-nullable value, returned: ${(0, _inspect.inspect)(
1001
+ serializedResult,
1002
+ )}`,
1003
+ );
1004
+ }
1005
+
1006
+ return serializedResult;
1007
+ }
1008
+ /**
1009
+ * Complete a value of an abstract type by determining the runtime object type
1010
+ * of that value, then complete the value for that type.
1011
+ *
1012
+ * @internal
1013
+ */
1014
+
1015
+ function completeAbstractValue(
1016
+ exeContext,
1017
+ returnType,
1018
+ fieldNodes,
1019
+ info,
1020
+ path,
1021
+ result,
1022
+ ) {
1023
+ var _returnType$resolveTy;
1024
+
1025
+ const resolveTypeFn =
1026
+ (_returnType$resolveTy = returnType.resolveType) !== null &&
1027
+ _returnType$resolveTy !== void 0
1028
+ ? _returnType$resolveTy
1029
+ : exeContext.typeResolver;
1030
+ const contextValue = exeContext.contextValue;
1031
+ const runtimeType = resolveTypeFn(result, contextValue, info, returnType);
1032
+
1033
+ if ((0, _isPromise.isPromise)(runtimeType)) {
1034
+ return runtimeType.then((resolvedRuntimeType) =>
1035
+ completeObjectValue(
1036
+ exeContext,
1037
+ ensureValidRuntimeType(
1038
+ resolvedRuntimeType,
1039
+ exeContext,
1040
+ returnType,
1041
+ fieldNodes,
1042
+ info,
1043
+ result,
1044
+ ),
1045
+ fieldNodes,
1046
+ info,
1047
+ path,
1048
+ result,
1049
+ ),
1050
+ );
1051
+ }
1052
+
1053
+ return completeObjectValue(
1054
+ exeContext,
1055
+ ensureValidRuntimeType(
1056
+ runtimeType,
1057
+ exeContext,
1058
+ returnType,
1059
+ fieldNodes,
1060
+ info,
1061
+ result,
1062
+ ),
1063
+ fieldNodes,
1064
+ info,
1065
+ path,
1066
+ result,
1067
+ );
1068
+ }
1069
+
1070
+ function ensureValidRuntimeType(
1071
+ runtimeTypeName,
1072
+ exeContext,
1073
+ returnType,
1074
+ fieldNodes,
1075
+ info,
1076
+ result,
1077
+ ) {
1078
+ if (runtimeTypeName == null) {
1079
+ throw new _GraphQLError.GraphQLError(
1080
+ `Abstract type "${returnType.name}" must resolve to an Object type at runtime for field "${info.parentType.name}.${info.fieldName}". Either the "${returnType.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,
1081
+ fieldNodes,
1082
+ );
1083
+ } // releases before 16.0.0 supported returning `GraphQLObjectType` from `resolveType`
1084
+ // TODO: remove in 17.0.0 release
1085
+
1086
+ if ((0, _definition.isObjectType)(runtimeTypeName)) {
1087
+ throw new _GraphQLError.GraphQLError(
1088
+ 'Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.',
1089
+ );
1090
+ }
1091
+
1092
+ if (typeof runtimeTypeName !== 'string') {
1093
+ throw new _GraphQLError.GraphQLError(
1094
+ `Abstract type "${returnType.name}" must resolve to an Object type at runtime for field "${info.parentType.name}.${info.fieldName}" with ` +
1095
+ `value ${(0, _inspect.inspect)(result)}, received "${(0,
1096
+ _inspect.inspect)(runtimeTypeName)}".`,
1097
+ );
1098
+ }
1099
+
1100
+ const runtimeType = exeContext.schema.getType(runtimeTypeName);
1101
+
1102
+ if (runtimeType == null) {
1103
+ throw new _GraphQLError.GraphQLError(
1104
+ `Abstract type "${returnType.name}" was resolved to a type "${runtimeTypeName}" that does not exist inside the schema.`,
1105
+ {
1106
+ nodes: fieldNodes,
1107
+ },
1108
+ );
1109
+ }
1110
+
1111
+ if (!(0, _definition.isObjectType)(runtimeType)) {
1112
+ throw new _GraphQLError.GraphQLError(
1113
+ `Abstract type "${returnType.name}" was resolved to a non-object type "${runtimeTypeName}".`,
1114
+ {
1115
+ nodes: fieldNodes,
1116
+ },
1117
+ );
1118
+ }
1119
+
1120
+ if (!exeContext.schema.isSubType(returnType, runtimeType)) {
1121
+ throw new _GraphQLError.GraphQLError(
1122
+ `Runtime Object type "${runtimeType.name}" is not a possible type for "${returnType.name}".`,
1123
+ {
1124
+ nodes: fieldNodes,
1125
+ },
1126
+ );
1127
+ }
1128
+
1129
+ return runtimeType;
1130
+ }
1131
+ /**
1132
+ * Complete an Object value by executing all sub-selections.
1133
+ *
1134
+ * @internal
1135
+ */
1136
+
1137
+ function completeObjectValue(
1138
+ exeContext,
1139
+ returnType,
1140
+ fieldNodes,
1141
+ info,
1142
+ path,
1143
+ result,
1144
+ ) {
1145
+ // Collect sub-fields to execute to complete this value.
1146
+ const subFieldNodes = collectSubfields(exeContext, returnType, fieldNodes); // If there is an isTypeOf predicate function, call it with the
1147
+ // current result. If isTypeOf returns false, then raise an error rather
1148
+ // than continuing execution.
1149
+
1150
+ if (returnType.isTypeOf) {
1151
+ const isTypeOf = returnType.isTypeOf(result, exeContext.contextValue, info);
1152
+
1153
+ if ((0, _isPromise.isPromise)(isTypeOf)) {
1154
+ return isTypeOf.then((resolvedIsTypeOf) => {
1155
+ if (!resolvedIsTypeOf) {
1156
+ throw invalidReturnTypeError(returnType, result, fieldNodes);
1157
+ }
1158
+
1159
+ return executeFields(
1160
+ exeContext,
1161
+ returnType,
1162
+ result,
1163
+ path,
1164
+ subFieldNodes,
1165
+ );
1166
+ });
1167
+ }
1168
+
1169
+ if (!isTypeOf) {
1170
+ throw invalidReturnTypeError(returnType, result, fieldNodes);
1171
+ }
1172
+ }
1173
+
1174
+ return executeFields(exeContext, returnType, result, path, subFieldNodes);
1175
+ }
1176
+
1177
+ function invalidReturnTypeError(returnType, result, fieldNodes) {
1178
+ return new _GraphQLError.GraphQLError(
1179
+ `Expected value of type "${returnType.name}" but got: ${(0,
1180
+ _inspect.inspect)(result)}.`,
1181
+ {
1182
+ nodes: fieldNodes,
1183
+ },
1184
+ );
1185
+ }
1186
+ /**
1187
+ * If a resolveType function is not given, then a default resolve behavior is
1188
+ * used which attempts two strategies:
1189
+ *
1190
+ * First, See if the provided value has a `__typename` field defined, if so, use
1191
+ * that value as name of the resolved type.
1192
+ *
1193
+ * Otherwise, test each possible type for the abstract type by calling
1194
+ * isTypeOf for the object being coerced, returning the first type that matches.
1195
+ */
1196
+
1197
+ const defaultTypeResolver = function (value, contextValue, info, abstractType) {
1198
+ // First, look for `__typename`.
1199
+ if (
1200
+ (0, _isObjectLike.isObjectLike)(value) &&
1201
+ typeof value.__typename === 'string'
1202
+ ) {
1203
+ return value.__typename;
1204
+ } // Otherwise, test each possible type.
1205
+
1206
+ const possibleTypes = info.schema.getPossibleTypes(abstractType);
1207
+ const promisedIsTypeOfResults = [];
1208
+
1209
+ for (let i = 0; i < possibleTypes.length; i++) {
1210
+ const type = possibleTypes[i];
1211
+
1212
+ if (type.isTypeOf) {
1213
+ const isTypeOfResult = type.isTypeOf(value, contextValue, info);
1214
+
1215
+ if ((0, _isPromise.isPromise)(isTypeOfResult)) {
1216
+ promisedIsTypeOfResults[i] = isTypeOfResult;
1217
+ } else if (isTypeOfResult) {
1218
+ if (promisedIsTypeOfResults.length) {
1219
+ // Explicitly ignore any promise rejections
1220
+ Promise.allSettled(promisedIsTypeOfResults)
1221
+ /* c8 ignore next 3 */
1222
+ .catch(() => {
1223
+ // Do nothing
1224
+ });
1225
+ }
1226
+
1227
+ return type.name;
1228
+ }
1229
+ }
1230
+ }
1231
+
1232
+ if (promisedIsTypeOfResults.length) {
1233
+ return Promise.all(promisedIsTypeOfResults).then((isTypeOfResults) => {
1234
+ for (let i = 0; i < isTypeOfResults.length; i++) {
1235
+ if (isTypeOfResults[i]) {
1236
+ return possibleTypes[i].name;
1237
+ }
1238
+ }
1239
+ });
1240
+ }
1241
+ };
1242
+ /**
1243
+ * If a resolve function is not given, then a default resolve behavior is used
1244
+ * which takes the property of the source object of the same name as the field
1245
+ * and returns it as the result, or if it's a function, returns the result
1246
+ * of calling that function while passing along args and context value.
1247
+ */
1248
+
1249
+ exports.defaultTypeResolver = defaultTypeResolver;
1250
+
1251
+ const defaultFieldResolver = function (source, args, contextValue, info) {
1252
+ // ensure source is a value for which property access is acceptable.
1253
+ if ((0, _isObjectLike.isObjectLike)(source) || typeof source === 'function') {
1254
+ const property = source[info.fieldName];
1255
+
1256
+ if (typeof property === 'function') {
1257
+ return source[info.fieldName](args, contextValue, info);
1258
+ }
1259
+
1260
+ return property;
1261
+ }
1262
+ };
1263
+ /**
1264
+ * This method looks up the field on the given type definition.
1265
+ * It has special casing for the three introspection fields,
1266
+ * __schema, __type and __typename. __typename is special because
1267
+ * it can always be queried as a field, even in situations where no
1268
+ * other fields are allowed, like on a Union. __schema and __type
1269
+ * could get automatically added to the query type, but that would
1270
+ * require mutating type definitions, which would cause issues.
1271
+ *
1272
+ * @internal
1273
+ */
1274
+
1275
+ exports.defaultFieldResolver = defaultFieldResolver;
1276
+
1277
+ function getFieldDef(schema, parentType, fieldNode) {
1278
+ const fieldName = fieldNode.name.value;
1279
+
1280
+ if (
1281
+ fieldName === _introspection.SchemaMetaFieldDef.name &&
1282
+ schema.getQueryType() === parentType
1283
+ ) {
1284
+ return _introspection.SchemaMetaFieldDef;
1285
+ } else if (
1286
+ fieldName === _introspection.TypeMetaFieldDef.name &&
1287
+ schema.getQueryType() === parentType
1288
+ ) {
1289
+ return _introspection.TypeMetaFieldDef;
1290
+ } else if (fieldName === _introspection.TypeNameMetaFieldDef.name) {
1291
+ return _introspection.TypeNameMetaFieldDef;
1292
+ }
1293
+
1294
+ return parentType.getFields()[fieldName];
1295
+ }