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