@pome-sh/cli 0.1.1 → 0.2.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 (277) hide show
  1. package/README.md +5 -6
  2. package/dist/build-info.json +3 -3
  3. package/dist/src/cli/eval.js +26 -8
  4. package/dist/src/cli/init-sdk.d.ts +0 -3
  5. package/dist/src/cli/init-sdk.js +117 -24
  6. package/dist/src/cli/main.js +23 -69
  7. package/dist/src/cli/register.d.ts +9 -0
  8. package/dist/src/cli/register.js +51 -5
  9. package/dist/src/cli/session.d.ts +7 -1
  10. package/dist/src/cli/session.js +87 -27
  11. package/dist/src/demo/runDemo.js +3 -2
  12. package/dist/src/hosted/client.d.ts +41 -5
  13. package/dist/src/hosted/client.js +333 -19
  14. package/dist/src/hosted/errors.d.ts +11 -1
  15. package/dist/src/hosted/errors.js +8 -1
  16. package/dist/src/hosted/evalResultView.d.ts +2 -0
  17. package/dist/src/hosted/evalResultView.js +22 -0
  18. package/dist/src/hosted/uploadAndFinalize.d.ts +18 -1
  19. package/dist/src/hosted/uploadAndFinalize.js +51 -3
  20. package/dist/src/recorder/inspect.js +20 -2
  21. package/dist/src/runner/mergeAdapterSignals.js +2 -2
  22. package/dist/src/runner/ports.js +3 -0
  23. package/dist/src/runner/runScenario.d.ts +79 -2
  24. package/dist/src/runner/runScenario.js +94 -36
  25. package/dist/src/runner/runScenarioHosted.d.ts +37 -0
  26. package/dist/src/runner/runScenarioHosted.js +257 -58
  27. package/dist/src/runner/runTrialGroup.d.ts +1 -3
  28. package/dist/src/runner/runTrialGroup.js +1 -3
  29. package/dist/src/scenario/parseScenario.d.ts +5 -0
  30. package/dist/src/scenario/parseScenario.js +135 -8
  31. package/dist/src/scenario/scenarioSchema.d.ts +200 -3
  32. package/dist/src/scenario/scenarioSchema.js +12 -1
  33. package/dist/src/twin/twinHarness.d.ts +10 -0
  34. package/dist/src/twin/twinHarness.js +6 -2
  35. package/dist/src/twin/twinStart.d.ts +19 -0
  36. package/dist/src/twin/twinStart.js +156 -0
  37. package/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +121 -0
  38. package/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +204 -0
  39. package/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +1 -0
  40. package/node_modules/@pome-sh/sdk/dist/parity.d.ts +55 -0
  41. package/node_modules/@pome-sh/sdk/dist/parity.js +112 -0
  42. package/node_modules/@pome-sh/sdk/dist/parity.js.map +1 -0
  43. package/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +15 -0
  44. package/node_modules/@pome-sh/sdk/dist/server-helpers.js +96 -0
  45. package/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +1 -1
  46. package/node_modules/@pome-sh/sdk/dist/server.d.ts +1 -1
  47. package/node_modules/@pome-sh/sdk/dist/server.js +9 -7
  48. package/node_modules/@pome-sh/sdk/dist/server.js.map +1 -1
  49. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  50. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  51. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  52. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.d.ts +13 -0
  53. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.js +6 -0
  54. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/evaluator-hooks.js.map +1 -0
  55. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +215 -0
  56. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +83 -0
  57. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  58. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +175 -0
  59. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/github-access-control.js +182 -0
  60. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +1 -0
  61. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  62. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  63. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  64. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.d.ts +27 -0
  65. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.js +34 -0
  66. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -0
  67. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +286 -0
  68. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +33 -0
  69. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +1 -0
  70. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +65 -0
  71. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +455 -0
  72. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +1 -0
  73. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +39 -0
  74. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +47 -0
  75. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +1 -0
  76. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +25 -0
  77. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/index.js +27 -0
  78. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +1 -0
  79. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +100 -0
  80. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +185 -0
  81. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -0
  82. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +64 -0
  83. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +112 -0
  84. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +1 -0
  85. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +26 -0
  86. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/nano.js +61 -0
  87. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +1 -0
  88. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +42 -0
  89. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.js +96 -0
  90. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +1 -0
  91. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +51 -0
  92. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +74 -0
  93. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -0
  94. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +134 -0
  95. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +152 -0
  96. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +1 -0
  97. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +418 -0
  98. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.js +234 -0
  99. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -0
  100. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +2 -0
  101. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/redaction.js +152 -0
  102. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/redaction.js.map +1 -0
  103. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.d.ts +198 -0
  104. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.js +225 -0
  105. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  106. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.d.ts +201 -0
  107. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.js +166 -0
  108. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -0
  109. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
  110. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
  111. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  112. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  113. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  114. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  115. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +66 -0
  116. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.js +84 -0
  117. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +1 -0
  118. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.d.ts +483 -0
  119. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  120. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  121. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/package.json +54 -0
  122. package/node_modules/@pome-sh/sdk/node_modules/@pome-sh/shared-types/trace-contract.json +41 -0
  123. package/node_modules/@pome-sh/sdk/package.json +6 -2
  124. package/node_modules/@pome-sh/shared-types/dist/errors.d.ts +39 -0
  125. package/node_modules/@pome-sh/shared-types/dist/errors.js +33 -0
  126. package/node_modules/@pome-sh/shared-types/dist/errors.js.map +1 -0
  127. package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +252 -0
  128. package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +122 -0
  129. package/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +1 -0
  130. package/node_modules/@pome-sh/shared-types/dist/identity.d.ts +90 -0
  131. package/node_modules/@pome-sh/shared-types/dist/identity.js +72 -0
  132. package/node_modules/@pome-sh/shared-types/dist/identity.js.map +1 -0
  133. package/node_modules/@pome-sh/shared-types/dist/index.d.ts +13 -1353
  134. package/node_modules/@pome-sh/shared-types/dist/index.js +14 -568
  135. package/node_modules/@pome-sh/shared-types/dist/index.js.map +1 -1
  136. package/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +45 -0
  137. package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +8 -0
  138. package/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +1 -1
  139. package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +7 -0
  140. package/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +1 -1
  141. package/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +62 -0
  142. package/node_modules/@pome-sh/shared-types/dist/recorder-events.js +36 -0
  143. package/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +1 -1
  144. package/node_modules/@pome-sh/shared-types/dist/rest.d.ts +245 -0
  145. package/node_modules/@pome-sh/shared-types/dist/rest.js +303 -0
  146. package/node_modules/@pome-sh/shared-types/dist/rest.js.map +1 -0
  147. package/node_modules/@pome-sh/shared-types/dist/run.d.ts +7 -0
  148. package/node_modules/@pome-sh/shared-types/dist/run.js +4 -0
  149. package/node_modules/@pome-sh/shared-types/dist/run.js.map +1 -1
  150. package/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +14 -0
  151. package/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +46 -0
  152. package/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +1 -0
  153. package/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +446 -0
  154. package/node_modules/@pome-sh/shared-types/dist/seed-state.js +167 -0
  155. package/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +1 -0
  156. package/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +53 -0
  157. package/node_modules/@pome-sh/shared-types/dist/sessions.js +51 -0
  158. package/node_modules/@pome-sh/shared-types/dist/sessions.js.map +1 -0
  159. package/node_modules/@pome-sh/shared-types/dist/task.d.ts +485 -0
  160. package/node_modules/@pome-sh/shared-types/dist/task.js +60 -0
  161. package/node_modules/@pome-sh/shared-types/dist/task.js.map +1 -0
  162. package/node_modules/@pome-sh/shared-types/package.json +2 -1
  163. package/node_modules/@pome-sh/shared-types/trace-contract.json +1 -1
  164. package/node_modules/@pome-sh/twin-github/FIDELITY.md +127 -67
  165. package/node_modules/@pome-sh/twin-github/README.md +3 -7
  166. package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.js +4 -20
  167. package/node_modules/@pome-sh/twin-github/dist/examples/claude-github-agent.js.map +1 -1
  168. package/node_modules/@pome-sh/twin-github/dist/src/access-control.d.ts +3 -3
  169. package/node_modules/@pome-sh/twin-github/dist/src/domain.d.ts +141 -3
  170. package/node_modules/@pome-sh/twin-github/dist/src/domain.js +0 -0
  171. package/node_modules/@pome-sh/twin-github/dist/src/domain.js.map +1 -1
  172. package/node_modules/@pome-sh/twin-github/dist/src/routes.js +2 -0
  173. package/node_modules/@pome-sh/twin-github/dist/src/routes.js.map +1 -1
  174. package/node_modules/@pome-sh/twin-github/dist/src/seed.d.ts +1 -1
  175. package/node_modules/@pome-sh/twin-github/dist/src/serializers.d.ts +2 -2
  176. package/node_modules/@pome-sh/twin-github/dist/src/server.js +7 -6
  177. package/node_modules/@pome-sh/twin-github/dist/src/server.js.map +1 -1
  178. package/node_modules/@pome-sh/twin-github/dist/src/tools.d.ts +168 -18
  179. package/node_modules/@pome-sh/twin-github/dist/src/tools.js +23 -0
  180. package/node_modules/@pome-sh/twin-github/dist/src/tools.js.map +1 -1
  181. package/node_modules/@pome-sh/twin-github/fidelity.inventory.json +773 -0
  182. package/node_modules/@pome-sh/twin-github/package.json +5 -4
  183. package/node_modules/@pome-sh/twin-slack/FIDELITY.md +121 -35
  184. package/node_modules/@pome-sh/twin-slack/README.md +2 -6
  185. package/node_modules/@pome-sh/twin-slack/dist/scripts/fidelity-parity.d.ts +1 -0
  186. package/node_modules/@pome-sh/twin-slack/dist/scripts/fidelity-parity.js +92 -0
  187. package/node_modules/@pome-sh/twin-slack/dist/scripts/fidelity-parity.js.map +1 -0
  188. package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js +3 -3
  189. package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js.map +1 -1
  190. package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js +1 -1
  191. package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js.map +1 -1
  192. package/node_modules/@pome-sh/twin-slack/dist/src/server.js +7 -6
  193. package/node_modules/@pome-sh/twin-slack/dist/src/server.js.map +1 -1
  194. package/node_modules/@pome-sh/twin-slack/dist/src/tools.d.ts +30 -4
  195. package/node_modules/@pome-sh/twin-slack/dist/src/tools.js +48 -1
  196. package/node_modules/@pome-sh/twin-slack/dist/src/tools.js.map +1 -1
  197. package/node_modules/@pome-sh/twin-slack/fidelity.inventory.json +377 -0
  198. package/node_modules/@pome-sh/twin-slack/package.json +5 -4
  199. package/node_modules/@pome-sh/twin-stripe/FIDELITY.md +151 -50
  200. package/node_modules/@pome-sh/twin-stripe/README.md +42 -45
  201. package/node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.d.ts +1 -0
  202. package/node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.js +186 -0
  203. package/node_modules/@pome-sh/twin-stripe/dist/scripts/fidelity-parity.js.map +1 -0
  204. package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.js +8 -4
  205. package/node_modules/@pome-sh/twin-stripe/dist/scripts/smoke.js.map +1 -1
  206. package/node_modules/@pome-sh/twin-stripe/dist/src/db.js +26 -2
  207. package/node_modules/@pome-sh/twin-stripe/dist/src/db.js.map +1 -1
  208. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/billing.d.ts +101 -0
  209. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/billing.js +195 -0
  210. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/billing.js.map +1 -0
  211. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.d.ts +15 -1
  212. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.js +17 -5
  213. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/charges.js.map +1 -1
  214. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/customers.d.ts +47 -0
  215. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/customers.js +103 -0
  216. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/customers.js.map +1 -0
  217. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.d.ts +1 -1
  218. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/events.js.map +1 -1
  219. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.d.ts +6 -0
  220. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.js +3 -0
  221. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/index.js.map +1 -1
  222. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.d.ts +61 -2
  223. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.js +214 -52
  224. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-intents.js.map +1 -1
  225. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-methods.d.ts +45 -0
  226. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-methods.js +159 -0
  227. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/payment-methods.js.map +1 -0
  228. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.d.ts +6 -0
  229. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.js +16 -0
  230. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/refunds.js.map +1 -1
  231. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.d.ts +1 -0
  232. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.js +144 -1
  233. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/schema.js.map +1 -1
  234. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.d.ts +420 -43
  235. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.js +442 -13
  236. package/node_modules/@pome-sh/twin-stripe/dist/src/domain/stripe-domain.js.map +1 -1
  237. package/node_modules/@pome-sh/twin-stripe/dist/src/errors.d.ts +19 -0
  238. package/node_modules/@pome-sh/twin-stripe/dist/src/errors.js +15 -1
  239. package/node_modules/@pome-sh/twin-stripe/dist/src/errors.js.map +1 -1
  240. package/node_modules/@pome-sh/twin-stripe/dist/src/ids.d.ts +2 -0
  241. package/node_modules/@pome-sh/twin-stripe/dist/src/ids.js +2 -0
  242. package/node_modules/@pome-sh/twin-stripe/dist/src/ids.js.map +1 -1
  243. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.d.ts +8 -0
  244. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.js +105 -1
  245. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/_helpers.js.map +1 -1
  246. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/billing.d.ts +4 -0
  247. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/billing.js +117 -0
  248. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/billing.js.map +1 -0
  249. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/customers.d.ts +4 -0
  250. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/customers.js +47 -0
  251. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/customers.js.map +1 -0
  252. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.js +6 -0
  253. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/index.js.map +1 -1
  254. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.js +28 -102
  255. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-intents.js.map +1 -1
  256. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-methods.d.ts +4 -0
  257. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-methods.js +33 -0
  258. package/node_modules/@pome-sh/twin-stripe/dist/src/routes/payment-methods.js.map +1 -0
  259. package/node_modules/@pome-sh/twin-stripe/dist/src/seed.d.ts +10 -8
  260. package/node_modules/@pome-sh/twin-stripe/dist/src/seed.js +3 -2
  261. package/node_modules/@pome-sh/twin-stripe/dist/src/seed.js.map +1 -1
  262. package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.d.ts +181 -21
  263. package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.js +257 -34
  264. package/node_modules/@pome-sh/twin-stripe/dist/src/serializers.js.map +1 -1
  265. package/node_modules/@pome-sh/twin-stripe/dist/src/server.js +7 -6
  266. package/node_modules/@pome-sh/twin-stripe/dist/src/server.js.map +1 -1
  267. package/node_modules/@pome-sh/twin-stripe/dist/src/tools.d.ts +107 -5
  268. package/node_modules/@pome-sh/twin-stripe/dist/src/tools.js +139 -6
  269. package/node_modules/@pome-sh/twin-stripe/dist/src/tools.js.map +1 -1
  270. package/node_modules/@pome-sh/twin-stripe/dist/src/types.d.ts +73 -0
  271. package/node_modules/@pome-sh/twin-stripe/dist/src/upstream-types.d.ts +8 -0
  272. package/node_modules/@pome-sh/twin-stripe/dist/src/x402.js +6 -1
  273. package/node_modules/@pome-sh/twin-stripe/dist/src/x402.js.map +1 -1
  274. package/node_modules/@pome-sh/twin-stripe/fidelity.inventory.json +425 -0
  275. package/node_modules/@pome-sh/twin-stripe/package.json +5 -4
  276. package/package.json +8 -8
  277. package/skills/pome-setup/SKILL.md +1 -1
@@ -1,9 +1,12 @@
1
1
  import type { TwinStripeDatabase, StateDelta } from "../types.js";
2
- import { PaymentIntentsDomain, type CreatePIInput, type ListPIsInput } from "./payment-intents.js";
2
+ import { PaymentIntentsDomain, type CreatePIInput, type ListPIsInput, type UpdatePIInput } from "./payment-intents.js";
3
3
  import { ChargesDomain, type ListChargesInput } from "./charges.js";
4
4
  import { BalanceDomain, type ListBalanceTxInput } from "./balance.js";
5
5
  import { EventsDomain, type ListEventsInput } from "./events.js";
6
6
  import { RefundsDomain, type CreateRefundInput, type ListRefundsInput } from "./refunds.js";
7
+ import { CustomersDomain, type CustomerFieldsInput, type ListCustomersInput } from "./customers.js";
8
+ import { PaymentMethodsDomain, type CreatePaymentMethodInput, type ListCustomerPaymentMethodsInput } from "./payment-methods.js";
9
+ import { BillingDomain, type CreatePriceInput, type CreateSubscriptionInput, type ListBillingInput, type ProductFieldsInput, type UpdateSubscriptionInput } from "./billing.js";
7
10
  export declare class StripeDomain {
8
11
  readonly db: TwinStripeDatabase;
9
12
  readonly paymentIntents: PaymentIntentsDomain;
@@ -11,6 +14,9 @@ export declare class StripeDomain {
11
14
  readonly balance: BalanceDomain;
12
15
  readonly events: EventsDomain;
13
16
  readonly refunds: RefundsDomain;
17
+ readonly customers: CustomersDomain;
18
+ readonly paymentMethods: PaymentMethodsDomain;
19
+ readonly billing: BillingDomain;
14
20
  constructor(db: TwinStripeDatabase);
15
21
  /** Reset Stripe-domain state. Used by `/admin/reset`. */
16
22
  reset(): void;
@@ -39,15 +45,15 @@ export declare class StripeDomain {
39
45
  confirmation_method: import("../upstream-types.js").PaymentIntent["confirmation_method"];
40
46
  created: number;
41
47
  currency: string;
42
- customer: null;
48
+ customer: string | null;
43
49
  description: null;
44
- last_payment_error: null;
50
+ last_payment_error: import("../upstream-types.js").PaymentIntent["last_payment_error"];
45
51
  latest_charge: string | null;
46
52
  livemode: false;
47
53
  metadata: {};
48
54
  next_action: null;
49
55
  on_behalf_of: null;
50
- payment_method: null;
56
+ payment_method: string | null;
51
57
  payment_method_configuration_details: null;
52
58
  payment_method_types: string[];
53
59
  processing: null;
@@ -84,15 +90,15 @@ export declare class StripeDomain {
84
90
  confirmation_method: import("../upstream-types.js").PaymentIntent["confirmation_method"];
85
91
  created: number;
86
92
  currency: string;
87
- customer: null;
93
+ customer: string | null;
88
94
  description: null;
89
- last_payment_error: null;
95
+ last_payment_error: import("../upstream-types.js").PaymentIntent["last_payment_error"];
90
96
  latest_charge: string | null;
91
97
  livemode: false;
92
98
  metadata: {};
93
99
  next_action: null;
94
100
  on_behalf_of: null;
95
- payment_method: null;
101
+ payment_method: string | null;
96
102
  payment_method_configuration_details: null;
97
103
  payment_method_types: string[];
98
104
  processing: null;
@@ -109,7 +115,19 @@ export declare class StripeDomain {
109
115
  has_more: boolean;
110
116
  url: string;
111
117
  };
112
- confirmPaymentIntent(accountId: string, id: string): {
118
+ confirmPaymentIntent(accountId: string, id: string, opts?: {
119
+ payment_method?: string;
120
+ }): {
121
+ body: unknown;
122
+ delta: StateDelta;
123
+ };
124
+ /**
125
+ * POST /v1/payment_intents/:id (F-731). The ruled retry-with-new-PM step:
126
+ * metadata merges per-key, and attaching a PM moves the card PI back to
127
+ * requires_confirmation. PM/customer resolution happens here so unknown
128
+ * ids 404 with Stripe's resource_missing before any state gate fires.
129
+ */
130
+ updatePaymentIntent(accountId: string, id: string, input: UpdatePIInput): {
113
131
  body: unknown;
114
132
  delta: StateDelta;
115
133
  };
@@ -136,9 +154,13 @@ export declare class StripeDomain {
136
154
  };
137
155
  /**
138
156
  * Create a refund. Returns the serialized API shape plus a canonical
139
- * `state_delta` so the route can hand both to `respond()`. The INSERT
140
- * + charges.amount_refunded UPDATE happen in one better-sqlite3
141
- * transaction inside `refunds.create()`.
157
+ * `state_delta` so the route can hand both to `respond()`.
158
+ *
159
+ * F-733: the whole flow — refund INSERT + charges.amount_refunded UPDATE
160
+ * (inside `refunds.create()`, nested as a savepoint), the negative
161
+ * refund-type balance transaction, the ledger link backfill, and the
162
+ * charge.refunded / refund.created events — commits in one better-sqlite3
163
+ * transaction, mirroring the settle flows.
142
164
  */
143
165
  createRefund(accountId: string, input: CreateRefundInput): {
144
166
  body: unknown;
@@ -148,7 +170,7 @@ export declare class StripeDomain {
148
170
  id: string;
149
171
  object: "refund";
150
172
  amount: number;
151
- balance_transaction: null;
173
+ balance_transaction: string | null;
152
174
  charge: string;
153
175
  created: number;
154
176
  currency: string;
@@ -166,7 +188,7 @@ export declare class StripeDomain {
166
188
  id: string;
167
189
  object: "refund";
168
190
  amount: number;
169
- balance_transaction: null;
191
+ balance_transaction: string | null;
170
192
  charge: string;
171
193
  created: number;
172
194
  currency: string;
@@ -181,6 +203,159 @@ export declare class StripeDomain {
181
203
  has_more: boolean;
182
204
  url: string;
183
205
  };
206
+ createCustomer(accountId: string, input: CustomerFieldsInput): {
207
+ body: unknown;
208
+ delta: StateDelta;
209
+ };
210
+ /** Deleted customers serve the `{deleted: true}` stub, like real Stripe. */
211
+ retrieveCustomer(accountId: string, id: string): {
212
+ id: string;
213
+ object: "customer";
214
+ address: null;
215
+ balance: number;
216
+ created: number;
217
+ currency: null;
218
+ default_source: null;
219
+ delinquent: false;
220
+ description: string | null;
221
+ discount: null;
222
+ email: string | null;
223
+ invoice_settings: {
224
+ custom_fields: null;
225
+ default_payment_method: null;
226
+ footer: null;
227
+ rendering_options: null;
228
+ };
229
+ livemode: false;
230
+ metadata: {};
231
+ name: string | null;
232
+ phone: string | null;
233
+ preferred_locales: never[];
234
+ shipping: null;
235
+ tax_exempt: "none";
236
+ test_clock: null;
237
+ } | {
238
+ id: string;
239
+ object: "customer";
240
+ deleted: true;
241
+ };
242
+ updateCustomer(accountId: string, id: string, input: CustomerFieldsInput): {
243
+ body: unknown;
244
+ delta: StateDelta;
245
+ };
246
+ deleteCustomer(accountId: string, id: string): {
247
+ body: unknown;
248
+ delta: StateDelta;
249
+ };
250
+ listCustomers(accountId: string, input: ListCustomersInput): {
251
+ object: "list";
252
+ data: {
253
+ id: string;
254
+ object: "customer";
255
+ address: null;
256
+ balance: number;
257
+ created: number;
258
+ currency: null;
259
+ default_source: null;
260
+ delinquent: false;
261
+ description: string | null;
262
+ discount: null;
263
+ email: string | null;
264
+ invoice_settings: {
265
+ custom_fields: null;
266
+ default_payment_method: null;
267
+ footer: null;
268
+ rendering_options: null;
269
+ };
270
+ livemode: false;
271
+ metadata: {};
272
+ name: string | null;
273
+ phone: string | null;
274
+ preferred_locales: never[];
275
+ shipping: null;
276
+ tax_exempt: "none";
277
+ test_clock: null;
278
+ }[];
279
+ has_more: boolean;
280
+ url: string;
281
+ };
282
+ listCustomerPaymentMethods(accountId: string, customerId: string, input: ListCustomerPaymentMethodsInput): {
283
+ object: "list";
284
+ data: {
285
+ id: string;
286
+ object: "payment_method";
287
+ billing_details: {
288
+ address: {
289
+ city: null;
290
+ country: null;
291
+ line1: null;
292
+ line2: null;
293
+ postal_code: null;
294
+ state: null;
295
+ };
296
+ email: null;
297
+ name: null;
298
+ phone: null;
299
+ };
300
+ card: {
301
+ brand: string;
302
+ exp_month: number;
303
+ exp_year: number;
304
+ fingerprint: string;
305
+ funding: string;
306
+ last4: string;
307
+ };
308
+ created: number;
309
+ customer: string | null;
310
+ livemode: false;
311
+ metadata: {};
312
+ type: import("../upstream-types.js").PaymentMethod["type"];
313
+ }[];
314
+ has_more: boolean;
315
+ url: string;
316
+ };
317
+ createPaymentMethod(accountId: string, input: CreatePaymentMethodInput): {
318
+ body: unknown;
319
+ delta: StateDelta;
320
+ };
321
+ retrievePaymentMethod(accountId: string, id: string): {
322
+ id: string;
323
+ object: "payment_method";
324
+ billing_details: {
325
+ address: {
326
+ city: null;
327
+ country: null;
328
+ line1: null;
329
+ line2: null;
330
+ postal_code: null;
331
+ state: null;
332
+ };
333
+ email: null;
334
+ name: null;
335
+ phone: null;
336
+ };
337
+ card: {
338
+ brand: string;
339
+ exp_month: number;
340
+ exp_year: number;
341
+ fingerprint: string;
342
+ funding: string;
343
+ last4: string;
344
+ };
345
+ created: number;
346
+ customer: string | null;
347
+ livemode: false;
348
+ metadata: {};
349
+ type: import("../upstream-types.js").PaymentMethod["type"];
350
+ };
351
+ attachPaymentMethod(accountId: string, id: string, customerId: string): {
352
+ body: unknown;
353
+ delta: StateDelta;
354
+ };
355
+ detachPaymentMethod(accountId: string, id: string): {
356
+ body: unknown;
357
+ delta: StateDelta;
358
+ };
184
359
  retrieveCharge(accountId: string, id: string): {
185
360
  invoice: string | null;
186
361
  id: string;
@@ -209,35 +384,27 @@ export declare class StripeDomain {
209
384
  captured: boolean;
210
385
  created: number;
211
386
  currency: string;
212
- customer: null;
387
+ customer: string | null;
213
388
  description: null;
214
389
  disputed: false;
215
390
  failure_balance_transaction: null;
216
- failure_code: null;
217
- failure_message: null;
391
+ failure_code: import("../upstream-types.js").Charge["failure_code"];
392
+ failure_message: string | null;
218
393
  fraud_details: {};
219
394
  livemode: false;
220
395
  metadata: {};
221
396
  on_behalf_of: null;
222
397
  outcome: {
223
398
  network_status: string;
224
- reason: null;
399
+ reason: string | null;
225
400
  risk_level: string;
226
401
  seller_message: string;
227
402
  type: string;
228
403
  };
229
404
  paid: boolean;
230
405
  payment_intent: string;
231
- payment_method: null;
232
- payment_method_details: {
233
- type: string;
234
- crypto: {
235
- buyer_address: string | undefined;
236
- network: "base";
237
- token_currency: "usdc";
238
- transaction_hash: string | undefined;
239
- };
240
- };
406
+ payment_method: string | null;
407
+ payment_method_details: import("../upstream-types.js").Charge["payment_method_details"];
241
408
  receipt_email: null;
242
409
  receipt_number: null;
243
410
  receipt_url: null;
@@ -247,7 +414,7 @@ export declare class StripeDomain {
247
414
  source_transfer: null;
248
415
  statement_descriptor: null;
249
416
  statement_descriptor_suffix: null;
250
- status: "failed" | "pending" | "succeeded";
417
+ status: "succeeded" | "pending" | "failed";
251
418
  transfer_data: null;
252
419
  transfer_group: null;
253
420
  };
@@ -281,35 +448,27 @@ export declare class StripeDomain {
281
448
  captured: boolean;
282
449
  created: number;
283
450
  currency: string;
284
- customer: null;
451
+ customer: string | null;
285
452
  description: null;
286
453
  disputed: false;
287
454
  failure_balance_transaction: null;
288
- failure_code: null;
289
- failure_message: null;
455
+ failure_code: import("../upstream-types.js").Charge["failure_code"];
456
+ failure_message: string | null;
290
457
  fraud_details: {};
291
458
  livemode: false;
292
459
  metadata: {};
293
460
  on_behalf_of: null;
294
461
  outcome: {
295
462
  network_status: string;
296
- reason: null;
463
+ reason: string | null;
297
464
  risk_level: string;
298
465
  seller_message: string;
299
466
  type: string;
300
467
  };
301
468
  paid: boolean;
302
469
  payment_intent: string;
303
- payment_method: null;
304
- payment_method_details: {
305
- type: string;
306
- crypto: {
307
- buyer_address: string | undefined;
308
- network: "base";
309
- token_currency: "usdc";
310
- transaction_hash: string | undefined;
311
- };
312
- };
470
+ payment_method: string | null;
471
+ payment_method_details: import("../upstream-types.js").Charge["payment_method_details"];
313
472
  receipt_email: null;
314
473
  receipt_number: null;
315
474
  receipt_url: null;
@@ -319,7 +478,7 @@ export declare class StripeDomain {
319
478
  source_transfer: null;
320
479
  statement_descriptor: null;
321
480
  statement_descriptor_suffix: null;
322
- status: "failed" | "pending" | "succeeded";
481
+ status: "succeeded" | "pending" | "failed";
323
482
  transfer_data: null;
324
483
  transfer_group: null;
325
484
  }[];
@@ -387,6 +546,224 @@ export declare class StripeDomain {
387
546
  has_more: boolean;
388
547
  url: string;
389
548
  };
549
+ createProduct(accountId: string, input: ProductFieldsInput): {
550
+ body: unknown;
551
+ delta: StateDelta;
552
+ };
553
+ retrieveProduct(accountId: string, id: string): {
554
+ id: string;
555
+ object: "product";
556
+ active: boolean;
557
+ created: number;
558
+ default_price: null;
559
+ description: string | null;
560
+ images: never[];
561
+ livemode: false;
562
+ marketing_features: never[];
563
+ metadata: {};
564
+ name: string;
565
+ package_dimensions: null;
566
+ shippable: null;
567
+ tax_code: null;
568
+ type: "service";
569
+ unit_label: null;
570
+ updated: number;
571
+ url: null;
572
+ };
573
+ listProducts(accountId: string, input: ListBillingInput & {
574
+ active?: boolean;
575
+ }): {
576
+ object: "list";
577
+ data: {
578
+ id: string;
579
+ object: "product";
580
+ active: boolean;
581
+ created: number;
582
+ default_price: null;
583
+ description: string | null;
584
+ images: never[];
585
+ livemode: false;
586
+ marketing_features: never[];
587
+ metadata: {};
588
+ name: string;
589
+ package_dimensions: null;
590
+ shippable: null;
591
+ tax_code: null;
592
+ type: "service";
593
+ unit_label: null;
594
+ updated: number;
595
+ url: null;
596
+ }[];
597
+ has_more: boolean;
598
+ url: string;
599
+ };
600
+ createPrice(accountId: string, input: CreatePriceInput): {
601
+ body: unknown;
602
+ delta: StateDelta;
603
+ };
604
+ retrievePrice(accountId: string, id: string): {
605
+ id: string;
606
+ object: "price";
607
+ active: boolean;
608
+ billing_scheme: "per_unit";
609
+ created: number;
610
+ currency: string;
611
+ custom_unit_amount: null;
612
+ livemode: false;
613
+ lookup_key: string | null;
614
+ metadata: {};
615
+ nickname: string | null;
616
+ product: string;
617
+ recurring: {
618
+ interval: import("../upstream-types.js").PriceRecurring["interval"];
619
+ interval_count: number;
620
+ meter: null;
621
+ usage_type: "licensed";
622
+ } | null;
623
+ tax_behavior: "unspecified";
624
+ tiers_mode: null;
625
+ transform_quantity: null;
626
+ type: "recurring" | "one_time";
627
+ unit_amount: number | null;
628
+ unit_amount_decimal: string | null;
629
+ };
630
+ listPrices(accountId: string, input: ListBillingInput & {
631
+ product?: string;
632
+ active?: boolean;
633
+ }): {
634
+ object: "list";
635
+ data: {
636
+ id: string;
637
+ object: "price";
638
+ active: boolean;
639
+ billing_scheme: "per_unit";
640
+ created: number;
641
+ currency: string;
642
+ custom_unit_amount: null;
643
+ livemode: false;
644
+ lookup_key: string | null;
645
+ metadata: {};
646
+ nickname: string | null;
647
+ product: string;
648
+ recurring: {
649
+ interval: import("../upstream-types.js").PriceRecurring["interval"];
650
+ interval_count: number;
651
+ meter: null;
652
+ usage_type: "licensed";
653
+ } | null;
654
+ tax_behavior: "unspecified";
655
+ tiers_mode: null;
656
+ transform_quantity: null;
657
+ type: "recurring" | "one_time";
658
+ unit_amount: number | null;
659
+ unit_amount_decimal: string | null;
660
+ }[];
661
+ has_more: boolean;
662
+ url: string;
663
+ };
664
+ createSubscription(accountId: string, input: CreateSubscriptionInput): {
665
+ body: unknown;
666
+ delta: StateDelta;
667
+ };
668
+ retrieveSubscription(accountId: string, id: string): {
669
+ id: string;
670
+ object: "subscription";
671
+ billing_cycle_anchor: number;
672
+ cancel_at: null;
673
+ cancel_at_period_end: boolean;
674
+ canceled_at: number | null;
675
+ collection_method: "charge_automatically";
676
+ created: number;
677
+ currency: string;
678
+ customer: string;
679
+ days_until_due: null;
680
+ default_payment_method: null;
681
+ description: null;
682
+ ended_at: number | null;
683
+ items: {
684
+ object: "list";
685
+ data: {
686
+ id: string;
687
+ object: "subscription_item";
688
+ created: number;
689
+ metadata: {};
690
+ price: import("../upstream-types.js").DeepPartial<import("../upstream-types.js").SubscriptionItem>["price"];
691
+ quantity: number;
692
+ subscription: string;
693
+ }[];
694
+ has_more: false;
695
+ url: string;
696
+ };
697
+ latest_invoice: null;
698
+ livemode: false;
699
+ metadata: {};
700
+ start_date: number;
701
+ status: import("../types.js").SubscriptionStatus;
702
+ trial_end: null;
703
+ trial_start: null;
704
+ };
705
+ updateSubscription(accountId: string, id: string, input: UpdateSubscriptionInput): {
706
+ body: unknown;
707
+ delta: StateDelta;
708
+ };
709
+ cancelSubscription(accountId: string, id: string): {
710
+ body: unknown;
711
+ delta: StateDelta;
712
+ };
713
+ listSubscriptions(accountId: string, input: ListBillingInput & {
714
+ customer?: string;
715
+ status?: string;
716
+ }): {
717
+ object: "list";
718
+ data: {
719
+ id: string;
720
+ object: "subscription";
721
+ billing_cycle_anchor: number;
722
+ cancel_at: null;
723
+ cancel_at_period_end: boolean;
724
+ canceled_at: number | null;
725
+ collection_method: "charge_automatically";
726
+ created: number;
727
+ currency: string;
728
+ customer: string;
729
+ days_until_due: null;
730
+ default_payment_method: null;
731
+ description: null;
732
+ ended_at: number | null;
733
+ items: {
734
+ object: "list";
735
+ data: {
736
+ id: string;
737
+ object: "subscription_item";
738
+ created: number;
739
+ metadata: {};
740
+ price: import("../upstream-types.js").DeepPartial<import("../upstream-types.js").SubscriptionItem>["price"];
741
+ quantity: number;
742
+ subscription: string;
743
+ }[];
744
+ has_more: false;
745
+ url: string;
746
+ };
747
+ latest_invoice: null;
748
+ livemode: false;
749
+ metadata: {};
750
+ start_date: number;
751
+ status: import("../types.js").SubscriptionStatus;
752
+ trial_end: null;
753
+ trial_start: null;
754
+ }[];
755
+ has_more: boolean;
756
+ url: string;
757
+ };
758
+ /** Resolve item price rows so the serializer can expand SubscriptionItem.price. */
759
+ private subscriptionBody;
760
+ retrieveInvoice(accountId: string, id: string): never;
761
+ listInvoices(accountId: string, input: ListBillingInput): {
762
+ object: "list";
763
+ data: never[];
764
+ has_more: boolean;
765
+ url: string;
766
+ };
390
767
  /**
391
768
  * Account-scoped state export. Used by `/_pome/state` to surface only
392
769
  * the calling session's data. Two sessions hitting `_pome/state` see