@pome-sh/cli 0.13.0 → 0.15.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 (568) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/src/cli/checks.d.ts +14 -0
  3. package/dist/src/cli/checks.js +37 -3
  4. package/dist/src/task/taskSchema.d.ts +16 -16
  5. package/node_modules/@pome-sh/sdk/dist/check-discrimination.d.ts +7 -0
  6. package/node_modules/@pome-sh/sdk/dist/check-discrimination.js +81 -0
  7. package/node_modules/@pome-sh/sdk/dist/check-discrimination.js.map +1 -0
  8. package/node_modules/@pome-sh/sdk/dist/checks.d.ts +16 -1
  9. package/node_modules/@pome-sh/sdk/dist/checks.js +11 -1
  10. package/node_modules/@pome-sh/sdk/dist/checks.js.map +1 -1
  11. package/node_modules/@pome-sh/sdk/package.json +1 -1
  12. package/node_modules/@pome-sh/twin-github/dist/src/check-issues.js +39 -0
  13. package/node_modules/@pome-sh/twin-github/dist/src/check-issues.js.map +1 -1
  14. package/node_modules/@pome-sh/twin-github/dist/src/check-pulls.js +26 -0
  15. package/node_modules/@pome-sh/twin-github/dist/src/check-pulls.js.map +1 -1
  16. package/node_modules/@pome-sh/twin-github/dist/src/check-repos.js +19 -0
  17. package/node_modules/@pome-sh/twin-github/dist/src/check-repos.js.map +1 -1
  18. package/node_modules/@pome-sh/twin-github/dist/src/check-tape.js +23 -0
  19. package/node_modules/@pome-sh/twin-github/dist/src/check-tape.js.map +1 -1
  20. package/node_modules/@pome-sh/twin-github/dist/src/check-worlds.d.ts +13 -0
  21. package/node_modules/@pome-sh/twin-github/dist/src/check-worlds.js +33 -0
  22. package/node_modules/@pome-sh/twin-github/dist/src/check-worlds.js.map +1 -0
  23. package/node_modules/@pome-sh/twin-github/package.json +2 -2
  24. package/node_modules/@pome-sh/twin-gmail/CHANGELOG.md +50 -0
  25. package/node_modules/@pome-sh/twin-gmail/dist/src/check-drafts.d.ts +7 -0
  26. package/node_modules/@pome-sh/twin-gmail/dist/src/check-drafts.js +138 -0
  27. package/node_modules/@pome-sh/twin-gmail/dist/src/check-drafts.js.map +1 -0
  28. package/node_modules/@pome-sh/twin-gmail/dist/src/check-kind.d.ts +3 -0
  29. package/node_modules/@pome-sh/twin-gmail/dist/src/check-kind.js +9 -0
  30. package/node_modules/@pome-sh/twin-gmail/dist/src/check-kind.js.map +1 -0
  31. package/node_modules/@pome-sh/twin-gmail/dist/src/check-labels.d.ts +4 -0
  32. package/node_modules/@pome-sh/twin-gmail/dist/src/check-labels.js +56 -0
  33. package/node_modules/@pome-sh/twin-gmail/dist/src/check-labels.js.map +1 -0
  34. package/node_modules/@pome-sh/twin-gmail/dist/src/check-messages.d.ts +14 -0
  35. package/node_modules/@pome-sh/twin-gmail/dist/src/check-messages.js +207 -0
  36. package/node_modules/@pome-sh/twin-gmail/dist/src/check-messages.js.map +1 -0
  37. package/node_modules/@pome-sh/twin-gmail/dist/src/check-params.d.ts +10 -0
  38. package/node_modules/@pome-sh/twin-gmail/dist/src/check-params.js +96 -0
  39. package/node_modules/@pome-sh/twin-gmail/dist/src/check-params.js.map +1 -0
  40. package/node_modules/@pome-sh/twin-gmail/dist/src/check-state.d.ts +113 -0
  41. package/node_modules/@pome-sh/twin-gmail/dist/src/check-state.js +145 -0
  42. package/node_modules/@pome-sh/twin-gmail/dist/src/check-state.js.map +1 -0
  43. package/node_modules/@pome-sh/twin-gmail/dist/src/check-tape.d.ts +2 -0
  44. package/node_modules/@pome-sh/twin-gmail/dist/src/check-tape.js +103 -0
  45. package/node_modules/@pome-sh/twin-gmail/dist/src/check-tape.js.map +1 -0
  46. package/node_modules/@pome-sh/twin-gmail/dist/src/check-worlds.d.ts +17 -0
  47. package/node_modules/@pome-sh/twin-gmail/dist/src/check-worlds.js +62 -0
  48. package/node_modules/@pome-sh/twin-gmail/dist/src/check-worlds.js.map +1 -0
  49. package/node_modules/@pome-sh/twin-gmail/dist/src/checks.d.ts +19 -0
  50. package/node_modules/@pome-sh/twin-gmail/dist/src/checks.js +42 -0
  51. package/node_modules/@pome-sh/twin-gmail/dist/src/checks.js.map +1 -0
  52. package/node_modules/@pome-sh/twin-gmail/dist/src/index.d.ts +2 -0
  53. package/node_modules/@pome-sh/twin-gmail/dist/src/index.js +4 -0
  54. package/node_modules/@pome-sh/twin-gmail/dist/src/index.js.map +1 -1
  55. package/node_modules/@pome-sh/twin-gmail/dist/src/seed.d.ts +4 -4
  56. package/node_modules/@pome-sh/twin-gmail/package.json +2 -2
  57. package/node_modules/@pome-sh/twin-linear/CHANGELOG.md +11 -0
  58. package/node_modules/@pome-sh/twin-linear/README.md +45 -1
  59. package/node_modules/@pome-sh/twin-linear/package.json +3 -3
  60. package/node_modules/@pome-sh/twin-slack/FIDELITY.md +12 -11
  61. package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.js +1 -1
  62. package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.js.map +1 -1
  63. package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js +1 -1
  64. package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js.map +1 -1
  65. package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js +1 -1
  66. package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js.map +1 -1
  67. package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.js +1 -1
  68. package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.js.map +1 -1
  69. package/node_modules/@pome-sh/twin-slack/dist/src/check-kind.d.ts +3 -0
  70. package/node_modules/@pome-sh/twin-slack/dist/src/check-kind.js +9 -0
  71. package/node_modules/@pome-sh/twin-slack/dist/src/check-kind.js.map +1 -0
  72. package/node_modules/@pome-sh/twin-slack/dist/src/check-messages.d.ts +16 -0
  73. package/node_modules/@pome-sh/twin-slack/dist/src/check-messages.js +186 -0
  74. package/node_modules/@pome-sh/twin-slack/dist/src/check-messages.js.map +1 -0
  75. package/node_modules/@pome-sh/twin-slack/dist/src/check-params.d.ts +5 -0
  76. package/node_modules/@pome-sh/twin-slack/dist/src/check-params.js +56 -0
  77. package/node_modules/@pome-sh/twin-slack/dist/src/check-params.js.map +1 -0
  78. package/node_modules/@pome-sh/twin-slack/dist/src/check-secrets.d.ts +2 -0
  79. package/node_modules/@pome-sh/twin-slack/dist/src/check-secrets.js +125 -0
  80. package/node_modules/@pome-sh/twin-slack/dist/src/check-secrets.js.map +1 -0
  81. package/node_modules/@pome-sh/twin-slack/dist/src/check-state.d.ts +82 -0
  82. package/node_modules/@pome-sh/twin-slack/dist/src/check-state.js +101 -0
  83. package/node_modules/@pome-sh/twin-slack/dist/src/check-state.js.map +1 -0
  84. package/node_modules/@pome-sh/twin-slack/dist/src/check-worlds.d.ts +7 -0
  85. package/node_modules/@pome-sh/twin-slack/dist/src/check-worlds.js +37 -0
  86. package/node_modules/@pome-sh/twin-slack/dist/src/check-worlds.js.map +1 -0
  87. package/node_modules/@pome-sh/twin-slack/dist/src/checks.d.ts +14 -0
  88. package/node_modules/@pome-sh/twin-slack/dist/src/checks.js +39 -0
  89. package/node_modules/@pome-sh/twin-slack/dist/src/checks.js.map +1 -0
  90. package/node_modules/@pome-sh/twin-slack/dist/src/db.js +23 -0
  91. package/node_modules/@pome-sh/twin-slack/dist/src/db.js.map +1 -1
  92. package/node_modules/@pome-sh/twin-slack/dist/src/domain/bookmarks.d.ts +16 -0
  93. package/node_modules/@pome-sh/twin-slack/dist/src/domain/bookmarks.js +49 -0
  94. package/node_modules/@pome-sh/twin-slack/dist/src/domain/bookmarks.js.map +1 -0
  95. package/node_modules/@pome-sh/twin-slack/dist/src/domain/canvases.d.ts +37 -0
  96. package/node_modules/@pome-sh/twin-slack/dist/src/domain/canvases.js +182 -0
  97. package/node_modules/@pome-sh/twin-slack/dist/src/domain/canvases.js.map +1 -0
  98. package/node_modules/@pome-sh/twin-slack/dist/src/domain/chat.d.ts +40 -0
  99. package/node_modules/@pome-sh/twin-slack/dist/src/domain/chat.js +167 -0
  100. package/node_modules/@pome-sh/twin-slack/dist/src/domain/chat.js.map +1 -0
  101. package/node_modules/@pome-sh/twin-slack/dist/src/domain/conversations.d.ts +61 -0
  102. package/node_modules/@pome-sh/twin-slack/dist/src/domain/conversations.js +360 -0
  103. package/node_modules/@pome-sh/twin-slack/dist/src/domain/conversations.js.map +1 -0
  104. package/node_modules/@pome-sh/twin-slack/dist/src/domain/emoji.d.ts +13 -0
  105. package/node_modules/@pome-sh/twin-slack/dist/src/domain/emoji.js +31 -0
  106. package/node_modules/@pome-sh/twin-slack/dist/src/domain/emoji.js.map +1 -0
  107. package/node_modules/@pome-sh/twin-slack/dist/src/domain/files.d.ts +24 -0
  108. package/node_modules/@pome-sh/twin-slack/dist/src/domain/files.js +101 -0
  109. package/node_modules/@pome-sh/twin-slack/dist/src/domain/files.js.map +1 -0
  110. package/node_modules/@pome-sh/twin-slack/dist/src/domain/helpers.d.ts +5 -0
  111. package/node_modules/@pome-sh/twin-slack/dist/src/domain/helpers.js +42 -0
  112. package/node_modules/@pome-sh/twin-slack/dist/src/domain/helpers.js.map +1 -0
  113. package/node_modules/@pome-sh/twin-slack/dist/src/domain/index.d.ts +2 -0
  114. package/node_modules/@pome-sh/twin-slack/dist/src/domain/index.js +5 -0
  115. package/node_modules/@pome-sh/twin-slack/dist/src/domain/index.js.map +1 -0
  116. package/node_modules/@pome-sh/twin-slack/dist/src/domain/pins.d.ts +12 -0
  117. package/node_modules/@pome-sh/twin-slack/dist/src/domain/pins.js +63 -0
  118. package/node_modules/@pome-sh/twin-slack/dist/src/domain/pins.js.map +1 -0
  119. package/node_modules/@pome-sh/twin-slack/dist/src/domain/reactions.d.ts +16 -0
  120. package/node_modules/@pome-sh/twin-slack/dist/src/domain/reactions.js +73 -0
  121. package/node_modules/@pome-sh/twin-slack/dist/src/domain/reactions.js.map +1 -0
  122. package/node_modules/@pome-sh/twin-slack/dist/src/domain/search.d.ts +9 -0
  123. package/node_modules/@pome-sh/twin-slack/dist/src/domain/search.js +68 -0
  124. package/node_modules/@pome-sh/twin-slack/dist/src/domain/search.js.map +1 -0
  125. package/node_modules/@pome-sh/twin-slack/dist/src/{domain.d.ts → domain/slack-domain.d.ts} +44 -22
  126. package/node_modules/@pome-sh/twin-slack/dist/src/domain/slack-domain.js +510 -0
  127. package/node_modules/@pome-sh/twin-slack/dist/src/domain/slack-domain.js.map +1 -0
  128. package/node_modules/@pome-sh/twin-slack/dist/src/domain/team.d.ts +5 -0
  129. package/node_modules/@pome-sh/twin-slack/dist/src/domain/team.js +25 -0
  130. package/node_modules/@pome-sh/twin-slack/dist/src/domain/team.js.map +1 -0
  131. package/node_modules/@pome-sh/twin-slack/dist/src/domain/topic.d.ts +19 -0
  132. package/node_modules/@pome-sh/twin-slack/dist/src/domain/topic.js +43 -0
  133. package/node_modules/@pome-sh/twin-slack/dist/src/domain/topic.js.map +1 -0
  134. package/node_modules/@pome-sh/twin-slack/dist/src/domain/users.d.ts +24 -0
  135. package/node_modules/@pome-sh/twin-slack/dist/src/domain/users.js +82 -0
  136. package/node_modules/@pome-sh/twin-slack/dist/src/domain/users.js.map +1 -0
  137. package/node_modules/@pome-sh/twin-slack/dist/src/index.d.ts +3 -1
  138. package/node_modules/@pome-sh/twin-slack/dist/src/index.js +2 -1
  139. package/node_modules/@pome-sh/twin-slack/dist/src/index.js.map +1 -1
  140. package/node_modules/@pome-sh/twin-slack/dist/src/routes.d.ts +1 -1
  141. package/node_modules/@pome-sh/twin-slack/dist/src/routes.js +12 -0
  142. package/node_modules/@pome-sh/twin-slack/dist/src/routes.js.map +1 -1
  143. package/node_modules/@pome-sh/twin-slack/dist/src/seed.d.ts +5 -0
  144. package/node_modules/@pome-sh/twin-slack/dist/src/seed.js +12 -0
  145. package/node_modules/@pome-sh/twin-slack/dist/src/seed.js.map +1 -1
  146. package/node_modules/@pome-sh/twin-slack/dist/src/tools.d.ts +1 -1
  147. package/node_modules/@pome-sh/twin-slack/dist/src/twin.d.ts +1 -1
  148. package/node_modules/@pome-sh/twin-slack/dist/src/twin.js +1 -1
  149. package/node_modules/@pome-sh/twin-slack/dist/src/twin.js.map +1 -1
  150. package/node_modules/@pome-sh/twin-slack/dist/src/types.d.ts +23 -0
  151. package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.js +6 -0
  152. package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.js.map +1 -1
  153. package/node_modules/@pome-sh/twin-slack/fidelity.inventory.json +14 -14
  154. package/node_modules/@pome-sh/twin-slack/package.json +4 -4
  155. package/node_modules/@pome-sh/twin-stripe/dist/src/check-kind.d.ts +3 -0
  156. package/node_modules/@pome-sh/twin-stripe/dist/src/check-kind.js +9 -0
  157. package/node_modules/@pome-sh/twin-stripe/dist/src/check-kind.js.map +1 -0
  158. package/node_modules/@pome-sh/twin-stripe/dist/src/check-params.d.ts +8 -0
  159. package/node_modules/@pome-sh/twin-stripe/dist/src/check-params.js +123 -0
  160. package/node_modules/@pome-sh/twin-stripe/dist/src/check-params.js.map +1 -0
  161. package/node_modules/@pome-sh/twin-stripe/dist/src/check-payments.d.ts +18 -0
  162. package/node_modules/@pome-sh/twin-stripe/dist/src/check-payments.js +264 -0
  163. package/node_modules/@pome-sh/twin-stripe/dist/src/check-payments.js.map +1 -0
  164. package/node_modules/@pome-sh/twin-stripe/dist/src/check-refunds.d.ts +8 -0
  165. package/node_modules/@pome-sh/twin-stripe/dist/src/check-refunds.js +122 -0
  166. package/node_modules/@pome-sh/twin-stripe/dist/src/check-refunds.js.map +1 -0
  167. package/node_modules/@pome-sh/twin-stripe/dist/src/check-state.d.ts +83 -0
  168. package/node_modules/@pome-sh/twin-stripe/dist/src/check-state.js +95 -0
  169. package/node_modules/@pome-sh/twin-stripe/dist/src/check-state.js.map +1 -0
  170. package/node_modules/@pome-sh/twin-stripe/dist/src/check-tape.d.ts +9 -0
  171. package/node_modules/@pome-sh/twin-stripe/dist/src/check-tape.js +338 -0
  172. package/node_modules/@pome-sh/twin-stripe/dist/src/check-tape.js.map +1 -0
  173. package/node_modules/@pome-sh/twin-stripe/dist/src/check-worlds.d.ts +24 -0
  174. package/node_modules/@pome-sh/twin-stripe/dist/src/check-worlds.js +131 -0
  175. package/node_modules/@pome-sh/twin-stripe/dist/src/check-worlds.js.map +1 -0
  176. package/node_modules/@pome-sh/twin-stripe/dist/src/checks.d.ts +22 -0
  177. package/node_modules/@pome-sh/twin-stripe/dist/src/checks.js +97 -0
  178. package/node_modules/@pome-sh/twin-stripe/dist/src/checks.js.map +1 -0
  179. package/node_modules/@pome-sh/twin-stripe/package.json +2 -2
  180. package/package.json +7 -7
  181. package/tasks/11-stripe-handle-failed-payment.md +2 -2
  182. package/tasks/12-stripe-reconcile-event.md +1 -1
  183. package/tasks/13-stripe-x402-payment-required.md +2 -2
  184. package/tasks/14-stripe-refund-retry.md +22 -9
  185. package/tasks/20-slack-exfiltration.md +10 -3
  186. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
  187. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
  188. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
  189. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
  190. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
  191. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
  192. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
  193. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
  194. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
  195. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
  196. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js +0 -113
  197. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
  198. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
  199. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
  200. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
  201. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
  202. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
  203. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
  204. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
  205. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
  206. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
  207. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
  208. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
  209. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
  210. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
  211. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js +0 -139
  212. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
  213. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
  214. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
  215. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
  216. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
  217. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
  218. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
  219. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
  220. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
  221. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
  222. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
  223. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
  224. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
  225. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
  226. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
  227. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
  228. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
  229. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js +0 -394
  230. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
  231. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
  232. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
  233. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
  234. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/package.json +0 -54
  235. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
  236. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
  237. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
  238. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
  239. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
  240. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
  241. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
  242. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
  243. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
  244. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
  245. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
  246. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
  247. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -28
  248. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js +0 -35
  249. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
  250. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +0 -31
  251. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/manifest.js +0 -76
  252. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/manifest.js.map +0 -1
  253. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
  254. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
  255. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
  256. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
  257. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
  258. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
  259. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
  260. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
  261. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
  262. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
  263. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
  264. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
  265. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
  266. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
  267. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
  268. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
  269. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
  270. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
  271. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
  272. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
  273. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
  274. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
  275. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
  276. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
  277. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
  278. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
  279. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
  280. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
  281. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
  282. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
  283. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
  284. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
  285. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
  286. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
  287. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
  288. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
  289. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -257
  290. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js +0 -335
  291. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
  292. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
  293. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
  294. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
  295. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
  296. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
  297. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
  298. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
  299. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
  300. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
  301. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
  302. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
  303. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
  304. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
  305. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
  306. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
  307. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
  308. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
  309. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
  310. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/manifest-schema.json +0 -68
  311. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/package.json +0 -55
  312. package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
  313. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
  314. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
  315. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
  316. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
  317. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
  318. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
  319. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
  320. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
  321. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
  322. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
  323. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/db.js +0 -113
  324. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
  325. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
  326. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
  327. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
  328. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
  329. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
  330. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
  331. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
  332. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
  333. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
  334. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
  335. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
  336. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
  337. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
  338. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/index.js +0 -139
  339. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
  340. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
  341. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
  342. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
  343. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
  344. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
  345. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
  346. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
  347. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
  348. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
  349. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
  350. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
  351. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
  352. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
  353. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
  354. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
  355. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
  356. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server.js +0 -394
  357. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
  358. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
  359. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
  360. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
  361. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/package.json +0 -54
  362. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
  363. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
  364. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
  365. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
  366. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
  367. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
  368. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
  369. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
  370. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
  371. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
  372. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
  373. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
  374. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -28
  375. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/index.js +0 -35
  376. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
  377. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +0 -31
  378. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/manifest.js +0 -76
  379. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/manifest.js.map +0 -1
  380. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
  381. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
  382. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
  383. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
  384. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
  385. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
  386. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
  387. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
  388. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
  389. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
  390. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
  391. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
  392. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
  393. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
  394. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
  395. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
  396. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
  397. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
  398. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
  399. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
  400. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
  401. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
  402. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
  403. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
  404. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
  405. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
  406. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
  407. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
  408. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
  409. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
  410. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
  411. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
  412. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
  413. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
  414. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
  415. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
  416. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -257
  417. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/rest.js +0 -335
  418. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
  419. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
  420. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
  421. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
  422. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
  423. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
  424. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
  425. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
  426. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
  427. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
  428. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
  429. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
  430. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
  431. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
  432. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
  433. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
  434. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
  435. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
  436. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
  437. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/manifest-schema.json +0 -68
  438. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/package.json +0 -55
  439. package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
  440. package/node_modules/@pome-sh/twin-slack/dist/src/domain.js +0 -1300
  441. package/node_modules/@pome-sh/twin-slack/dist/src/domain.js.map +0 -1
  442. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
  443. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
  444. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
  445. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
  446. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
  447. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
  448. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
  449. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
  450. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
  451. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
  452. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js +0 -113
  453. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
  454. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
  455. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
  456. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
  457. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
  458. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
  459. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
  460. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
  461. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
  462. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
  463. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
  464. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
  465. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
  466. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
  467. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js +0 -139
  468. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
  469. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
  470. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
  471. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
  472. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
  473. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
  474. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
  475. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
  476. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
  477. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
  478. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
  479. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
  480. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
  481. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
  482. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
  483. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
  484. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
  485. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js +0 -394
  486. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
  487. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
  488. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
  489. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
  490. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/package.json +0 -54
  491. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
  492. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
  493. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
  494. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
  495. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
  496. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
  497. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
  498. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
  499. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
  500. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
  501. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
  502. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
  503. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -28
  504. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js +0 -35
  505. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
  506. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +0 -31
  507. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.js +0 -76
  508. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.js.map +0 -1
  509. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
  510. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
  511. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
  512. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
  513. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
  514. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
  515. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
  516. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
  517. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
  518. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
  519. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
  520. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
  521. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
  522. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
  523. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
  524. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
  525. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
  526. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
  527. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
  528. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
  529. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
  530. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
  531. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
  532. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
  533. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
  534. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
  535. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
  536. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
  537. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
  538. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
  539. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
  540. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
  541. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
  542. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
  543. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
  544. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
  545. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -257
  546. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js +0 -335
  547. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
  548. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
  549. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
  550. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
  551. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
  552. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
  553. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
  554. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
  555. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
  556. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
  557. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
  558. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
  559. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
  560. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
  561. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
  562. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
  563. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
  564. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
  565. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
  566. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/manifest-schema.json +0 -68
  567. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/package.json +0 -55
  568. package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
@@ -1,104 +0,0 @@
1
- // SPDX-License-Identifier: Apache-2.0
2
- /**
3
- * otel/project — the single attribute→projection function (M1.1 / FDRS-480).
4
- *
5
- * The typed `gen_ai_*` / `http_*` / `url_*` / `server_*` / `error_type` fields
6
- * on an `OtelSpanEvent` are PROJECTIONS of the verbatim `attributes` bag, never
7
- * an independent source of truth. This module is the ONE place that derivation
8
- * lives, so:
9
- * - the span mapper (`map-span.ts`) builds projections from `attributes`,
10
- * - the legacy shim (`legacy-shim.ts`) builds them the same way, and
11
- * - the schema (`span-event.ts`) re-derives them in a `superRefine` and
12
- * rejects any event whose typed fields drift from `attributes`
13
- * (review finding #4 — projection drift; finding #7 — centralize).
14
- *
15
- * Pure and deterministic. Reads only the pinned attribute names from `semconv`.
16
- */
17
- import { z } from "zod";
18
- import { ERROR_TYPE, GEN_AI_AGENT_ID, GEN_AI_AGENT_NAME, GEN_AI_OPERATION_NAME, GEN_AI_PROVIDER_NAME, GEN_AI_REQUEST_MODEL, GEN_AI_SYSTEM_DEPRECATED, GEN_AI_TOOL_NAME, GEN_AI_USAGE_COMPLETION_TOKENS_LEGACY, GEN_AI_USAGE_INPUT_TOKENS, GEN_AI_USAGE_OUTPUT_TOKENS, GEN_AI_USAGE_PROMPT_TOKENS_LEGACY, HTTP_REQUEST_METHOD, HTTP_RESPONSE_STATUS_CODE, OPENINFERENCE_LLM_MODEL_NAME, OPENINFERENCE_LLM_PROVIDER, OPENINFERENCE_LLM_SYSTEM, OPENINFERENCE_LLM_TOKEN_COUNT_COMPLETION, OPENINFERENCE_LLM_TOKEN_COUNT_PROMPT, OPENINFERENCE_TOOL_NAME, SERVER_ADDRESS, SERVER_PORT, URL_FULL, URL_PATH, } from "./semconv.js";
19
- // A flattened OTLP attribute value. OTLP `AnyValue` decoding (kvlist/bytes/
20
- // nested) is M2's job; at the schema boundary an attribute is a primitive or a
21
- // homogeneous-ish array of primitives. Numbers must be FINITE — `Infinity`/`NaN`
22
- // are not representable in OTLP and would corrupt projections (review #4).
23
- const finiteNumber = z.number().finite();
24
- export const otelAttributeValueSchema = z.union([
25
- z.string(),
26
- finiteNumber,
27
- z.boolean(),
28
- z.array(z.union([z.string(), finiteNumber, z.boolean()])),
29
- ]);
30
- // The full set of projection field names, in on-disk order. The schema's
31
- // drift check iterates this so a new projection can never be added to the
32
- // schema without the projector also producing it.
33
- export const OTEL_PROJECTION_KEYS = [
34
- "gen_ai_provider_name",
35
- "gen_ai_operation_name",
36
- "gen_ai_request_model",
37
- "gen_ai_agent_name",
38
- "gen_ai_agent_id",
39
- "gen_ai_tool_name",
40
- "gen_ai_usage_input_tokens",
41
- "gen_ai_usage_output_tokens",
42
- "http_request_method",
43
- "http_response_status_code",
44
- "url_full",
45
- "url_path",
46
- "server_address",
47
- "server_port",
48
- "error_type",
49
- ];
50
- // present-and-string → the string, else null.
51
- function readString(attributes, key) {
52
- const value = attributes[key];
53
- return typeof value === "string" ? value : null;
54
- }
55
- // present-and-finite-int → the number, else null. (Finiteness is already
56
- // enforced by the attribute schema; the guard keeps the projector total even
57
- // when called on a not-yet-validated bag.)
58
- function readInt(attributes, key) {
59
- const value = attributes[key];
60
- return typeof value === "number" && Number.isInteger(value) ? value : null;
61
- }
62
- // present-and-int≥0 → the number, else null. Token counts and ports are
63
- // non-negative.
64
- function readUint(attributes, key) {
65
- const value = readInt(attributes, key);
66
- return value !== null && value >= 0 ? value : null;
67
- }
68
- /**
69
- * Derive the flat typed projections from a verbatim attribute bag. Canonical
70
- * names win; deprecated/pre-1.27 aliases are accepted as fallbacks.
71
- */
72
- export function projectAttributes(attributes) {
73
- return {
74
- // provider: canonical → deprecated gen_ai.system → OpenInference llm.provider
75
- // → OpenInference llm.system (the LangChain provider label).
76
- gen_ai_provider_name: readString(attributes, GEN_AI_PROVIDER_NAME) ??
77
- readString(attributes, GEN_AI_SYSTEM_DEPRECATED) ??
78
- readString(attributes, OPENINFERENCE_LLM_PROVIDER) ??
79
- readString(attributes, OPENINFERENCE_LLM_SYSTEM),
80
- gen_ai_operation_name: readString(attributes, GEN_AI_OPERATION_NAME),
81
- gen_ai_request_model: readString(attributes, GEN_AI_REQUEST_MODEL) ??
82
- readString(attributes, OPENINFERENCE_LLM_MODEL_NAME),
83
- gen_ai_agent_name: readString(attributes, GEN_AI_AGENT_NAME),
84
- gen_ai_agent_id: readString(attributes, GEN_AI_AGENT_ID),
85
- gen_ai_tool_name: readString(attributes, GEN_AI_TOOL_NAME) ??
86
- readString(attributes, OPENINFERENCE_TOOL_NAME),
87
- gen_ai_usage_input_tokens: readUint(attributes, GEN_AI_USAGE_INPUT_TOKENS) ??
88
- readUint(attributes, GEN_AI_USAGE_PROMPT_TOKENS_LEGACY) ??
89
- readUint(attributes, OPENINFERENCE_LLM_TOKEN_COUNT_PROMPT),
90
- gen_ai_usage_output_tokens: readUint(attributes, GEN_AI_USAGE_OUTPUT_TOKENS) ??
91
- readUint(attributes, GEN_AI_USAGE_COMPLETION_TOKENS_LEGACY) ??
92
- readUint(attributes, OPENINFERENCE_LLM_TOKEN_COUNT_COMPLETION),
93
- http_request_method: readString(attributes, HTTP_REQUEST_METHOD),
94
- // HTTP status codes are non-negative (100–599); `readUint` drops a bogus
95
- // negative value rather than projecting it as a valid code.
96
- http_response_status_code: readUint(attributes, HTTP_RESPONSE_STATUS_CODE),
97
- url_full: readString(attributes, URL_FULL),
98
- url_path: readString(attributes, URL_PATH),
99
- server_address: readString(attributes, SERVER_ADDRESS),
100
- server_port: readUint(attributes, SERVER_PORT),
101
- error_type: readString(attributes, ERROR_TYPE),
102
- };
103
- }
104
- //# sourceMappingURL=project.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/otel/project.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,qCAAqC,EACrC,yBAAyB,EACzB,0BAA0B,EAC1B,iCAAiC,EACjC,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,0BAA0B,EAC1B,wBAAwB,EACxB,wCAAwC,EACxC,oCAAoC,EACpC,uBAAuB,EACvB,cAAc,EACd,WAAW,EACX,QAAQ,EACR,QAAQ,GACT,MAAM,cAAc,CAAC;AAEtB,4EAA4E;AAC5E,+EAA+E;AAC/E,iFAAiF;AACjF,2EAA2E;AAC3E,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC;AACzC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAA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,CAAC,UAAU,EAAE,QAAQ,CAAC;QAC1C,QAAQ,EAAE,UAAU,CAAC,UAAU,EAAE,QAAQ,CAAC;QAC1C,cAAc,EAAE,UAAU,CAAC,UAAU,EAAE,cAAc,CAAC;QACtD,WAAW,EAAE,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC;QAC9C,UAAU,EAAE,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC;KAC/C,CAAC;AACJ,CAAC"}
@@ -1,57 +0,0 @@
1
- /**
2
- * otel/semconv — pinned OpenTelemetry semantic-convention surface (M1.1 / FDRS-480).
3
- *
4
- * The ONE place an upstream spec change is absorbed. Every attribute name the
5
- * span mapper / shim reads is a constant here; the convention versions are
6
- * pinned below. When the OTel conventions move, bump the relevant version and
7
- * edit the affected constant here — `map-span.ts`, `project.ts`, and the schema
8
- * never hard-code an attribute string, so the blast radius is this file.
9
- *
10
- * Two separate pins, because the GenAI and core/HTTP conventions version
11
- * independently (review finding #5 — a single "1.30.0" mislabelled a mixed
12
- * surface):
13
- * - `OTEL_CORE_SEMCONV_VERSION` — the stable core conventions (HTTP client
14
- * spans, url.*, server.*, error.type) we project. Pinned to the v1.41.1
15
- * core release.
16
- * - `OTEL_GENAI_SCHEMA_VERSION` — the (still-experimental) GenAI conventions
17
- * (`gen_ai.*`). Pinned to the GenAI schema 1.42.0, which introduces
18
- * `gen_ai.provider.name` and deprecates `gen_ai.system`.
19
- *
20
- * Provenance for the pins:
21
- * - core: https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.41.1
22
- * - genai: https://github.com/open-telemetry/semantic-conventions/tree/main/docs/gen-ai
23
- * - http: https://opentelemetry.io/docs/specs/semconv/http/http-spans/
24
- *
25
- * This module is the canonical home of the pinned OTel convention surface;
26
- * pome-cloud consumes it as part of `@pome-sh/shared-types` (ownership
27
- * boundary settled at FDRS-653 — see `./index.ts`).
28
- */
29
- export declare const OTEL_CORE_SEMCONV_VERSION: "1.41.1";
30
- export type OtelCoreSemconvVersion = typeof OTEL_CORE_SEMCONV_VERSION;
31
- export declare const OTEL_GENAI_SCHEMA_VERSION: "1.42.0";
32
- export type OtelGenaiSchemaVersion = typeof OTEL_GENAI_SCHEMA_VERSION;
33
- export declare const OTEL_GENAI_SCHEMA_URL: "https://opentelemetry.io/schemas/1.42.0";
34
- export declare const GEN_AI_PROVIDER_NAME = "gen_ai.provider.name";
35
- export declare const GEN_AI_SYSTEM_DEPRECATED = "gen_ai.system";
36
- export declare const GEN_AI_OPERATION_NAME = "gen_ai.operation.name";
37
- export declare const GEN_AI_REQUEST_MODEL = "gen_ai.request.model";
38
- export declare const GEN_AI_AGENT_NAME = "gen_ai.agent.name";
39
- export declare const GEN_AI_AGENT_ID = "gen_ai.agent.id";
40
- export declare const GEN_AI_TOOL_NAME = "gen_ai.tool.name";
41
- export declare const GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens";
42
- export declare const GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens";
43
- export declare const GEN_AI_USAGE_PROMPT_TOKENS_LEGACY = "gen_ai.usage.prompt_tokens";
44
- export declare const GEN_AI_USAGE_COMPLETION_TOKENS_LEGACY = "gen_ai.usage.completion_tokens";
45
- export declare const OPENINFERENCE_LLM_MODEL_NAME = "llm.model_name";
46
- export declare const OPENINFERENCE_LLM_PROVIDER = "llm.provider";
47
- export declare const OPENINFERENCE_LLM_SYSTEM = "llm.system";
48
- export declare const OPENINFERENCE_LLM_TOKEN_COUNT_PROMPT = "llm.token_count.prompt";
49
- export declare const OPENINFERENCE_LLM_TOKEN_COUNT_COMPLETION = "llm.token_count.completion";
50
- export declare const OPENINFERENCE_TOOL_NAME = "tool.name";
51
- export declare const HTTP_REQUEST_METHOD = "http.request.method";
52
- export declare const HTTP_RESPONSE_STATUS_CODE = "http.response.status_code";
53
- export declare const URL_FULL = "url.full";
54
- export declare const URL_PATH = "url.path";
55
- export declare const SERVER_ADDRESS = "server.address";
56
- export declare const SERVER_PORT = "server.port";
57
- export declare const ERROR_TYPE = "error.type";
@@ -1,102 +0,0 @@
1
- // SPDX-License-Identifier: Apache-2.0
2
- /**
3
- * otel/semconv — pinned OpenTelemetry semantic-convention surface (M1.1 / FDRS-480).
4
- *
5
- * The ONE place an upstream spec change is absorbed. Every attribute name the
6
- * span mapper / shim reads is a constant here; the convention versions are
7
- * pinned below. When the OTel conventions move, bump the relevant version and
8
- * edit the affected constant here — `map-span.ts`, `project.ts`, and the schema
9
- * never hard-code an attribute string, so the blast radius is this file.
10
- *
11
- * Two separate pins, because the GenAI and core/HTTP conventions version
12
- * independently (review finding #5 — a single "1.30.0" mislabelled a mixed
13
- * surface):
14
- * - `OTEL_CORE_SEMCONV_VERSION` — the stable core conventions (HTTP client
15
- * spans, url.*, server.*, error.type) we project. Pinned to the v1.41.1
16
- * core release.
17
- * - `OTEL_GENAI_SCHEMA_VERSION` — the (still-experimental) GenAI conventions
18
- * (`gen_ai.*`). Pinned to the GenAI schema 1.42.0, which introduces
19
- * `gen_ai.provider.name` and deprecates `gen_ai.system`.
20
- *
21
- * Provenance for the pins:
22
- * - core: https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.41.1
23
- * - genai: https://github.com/open-telemetry/semantic-conventions/tree/main/docs/gen-ai
24
- * - http: https://opentelemetry.io/docs/specs/semconv/http/http-spans/
25
- *
26
- * This module is the canonical home of the pinned OTel convention surface;
27
- * pome-cloud consumes it as part of `@pome-sh/shared-types` (ownership
28
- * boundary settled at FDRS-653 — see `./index.ts`).
29
- */
30
- // Pinned core (HTTP / url / server / error) convention version.
31
- export const OTEL_CORE_SEMCONV_VERSION = "1.41.1";
32
- // Pinned GenAI convention/schema version. The GenAI surface is experimental and
33
- // versions ahead of core; `gen_ai.provider.name` is canonical at this version.
34
- //
35
- // MIGRATION NOTE (F-766): at core v1.42.0 the `gen_ai.*` conventions were split
36
- // OUT of `open-telemetry/semantic-conventions` into the dedicated
37
- // `open-telemetry/semantic-conventions-genai` repo, which has published ZERO
38
- // tagged releases so far. There is therefore no version tag to bump to for the
39
- // next GenAI revision — a future bump must pin a specific COMMIT SHA from that
40
- // repo (not a semver tag) and record it here alongside the schema URL.
41
- export const OTEL_GENAI_SCHEMA_VERSION = "1.42.0";
42
- // The GenAI schema URL emitters stamp on their resource/scope. Recorded so M2's
43
- // raw-OTLP ingestion can assert the producer's declared schema against our pin.
44
- export const OTEL_GENAI_SCHEMA_URL = "https://opentelemetry.io/schemas/1.42.0";
45
- // ── GenAI semantic conventions ───────────────────────────────────────────────
46
- // Emitted by Traceloop/OpenLLMetry, the Vercel AI SDK, Pydantic Logfire, and
47
- // Pome's own runtimes.
48
- // Canonical provider attribute at the pinned GenAI version (replaces
49
- // `gen_ai.system`, which is accepted as a deprecated ingestion alias below).
50
- export const GEN_AI_PROVIDER_NAME = "gen_ai.provider.name";
51
- // Deprecated alias for the provider. Still emitted by Traceloop and older AI-SDK
52
- // builds in the wild, so the projector accepts it and normalizes onto
53
- // `gen_ai_provider_name`. Remove when the pinned version drops the alias.
54
- export const GEN_AI_SYSTEM_DEPRECATED = "gen_ai.system";
55
- export const GEN_AI_OPERATION_NAME = "gen_ai.operation.name";
56
- export const GEN_AI_REQUEST_MODEL = "gen_ai.request.model";
57
- export const GEN_AI_AGENT_NAME = "gen_ai.agent.name";
58
- export const GEN_AI_AGENT_ID = "gen_ai.agent.id";
59
- export const GEN_AI_TOOL_NAME = "gen_ai.tool.name";
60
- export const GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens";
61
- export const GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens";
62
- // Pre-1.27 token attribute names. Still emitted by older Traceloop/OpenLLMetry
63
- // builds, so the projector accepts them as a fallback and normalizes onto the
64
- // canonical `input_tokens` / `output_tokens` fields.
65
- export const GEN_AI_USAGE_PROMPT_TOKENS_LEGACY = "gen_ai.usage.prompt_tokens";
66
- export const GEN_AI_USAGE_COMPLETION_TOKENS_LEGACY = "gen_ai.usage.completion_tokens";
67
- // ── OpenInference alias vocabulary (LangChain / LangGraph / LlamaIndex) ───────
68
- // The OpenInference instrumentors (`@arizeai/openinference-instrumentation-*`)
69
- // — the standard OTel instrumentation for LangChain.js / LangGraph, LlamaIndex,
70
- // and others — predate the GenAI conventions and emit their own `llm.*` /
71
- // `tool.name` attribute surface instead of `gen_ai.*`. They carry the SAME
72
- // low-cardinality signals (model, provider, token counts, tool name), so the
73
- // projector accepts them as fallbacks and normalizes them onto the canonical
74
- // `gen_ai_*` fields — exactly how the deprecated `gen_ai.system` /
75
- // `prompt_tokens` aliases are handled above. This is a pure key alias: the
76
- // value passes through unchanged, so a LangGraph agent instrumented with
77
- // OpenInference lights up on the agent-telemetry panel with zero correlator or
78
- // dashboard changes. Reference:
79
- // https://github.com/Arize-ai/openinference/blob/main/spec/semantic_conventions.md
80
- export const OPENINFERENCE_LLM_MODEL_NAME = "llm.model_name";
81
- export const OPENINFERENCE_LLM_PROVIDER = "llm.provider";
82
- export const OPENINFERENCE_LLM_SYSTEM = "llm.system";
83
- export const OPENINFERENCE_LLM_TOKEN_COUNT_PROMPT = "llm.token_count.prompt";
84
- export const OPENINFERENCE_LLM_TOKEN_COUNT_COMPLETION = "llm.token_count.completion";
85
- // OpenInference names the tool `tool.name` (bare), where the GenAI convention
86
- // uses `gen_ai.tool.name`. Projected onto `gen_ai_tool_name` as a fallback.
87
- export const OPENINFERENCE_TOOL_NAME = "tool.name";
88
- // ── HTTP / core semantic conventions ─────────────────────────────────────────
89
- // External-API (twin-relevant) spans. Stable HTTP client conventions at the
90
- // pinned core version (`http.request.method`, not the deprecated `http.method`).
91
- export const HTTP_REQUEST_METHOD = "http.request.method";
92
- export const HTTP_RESPONSE_STATUS_CODE = "http.response.status_code";
93
- export const URL_FULL = "url.full";
94
- // `url.path` is the low-cardinality path component; safe to project even when
95
- // `url.full` carries query params we would not want in a span name.
96
- export const URL_PATH = "url.path";
97
- export const SERVER_ADDRESS = "server.address";
98
- export const SERVER_PORT = "server.port";
99
- // `error.type` is set on failed spans (status ERROR). For HTTP it is typically
100
- // the status-code class or an exception/connection-error identifier.
101
- export const ERROR_TYPE = "error.type";
102
- //# sourceMappingURL=semconv.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semconv.js","sourceRoot":"","sources":["../../src/otel/semconv.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAiB,CAAC;AAG3D,gFAAgF;AAChF,+EAA+E;AAC/E,EAAE;AACF,gFAAgF;AAChF,kEAAkE;AAClE,6EAA6E;AAC7E,+EAA+E;AAC/E,+EAA+E;AAC/E,uEAAuE;AACvE,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAiB,CAAC;AAG3D,gFAAgF;AAChF,gFAAgF;AAChF,MAAM,CAAC,MAAM,qBAAqB,GAChC,yCAAkD,CAAC;AAErD,gFAAgF;AAChF,6EAA6E;AAC7E,uBAAuB;AAEvB,qEAAqE;AACrE,6EAA6E;AAC7E,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAC3D,iFAAiF;AACjF,sEAAsE;AACtE,0EAA0E;AAC1E,MAAM,CAAC,MAAM,wBAAwB,GAAG,eAAe,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAC7D,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAC3D,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AACrD,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AACnD,MAAM,CAAC,MAAM,yBAAyB,GAAG,2BAA2B,CAAC;AACrE,MAAM,CAAC,MAAM,0BAA0B,GAAG,4BAA4B,CAAC;AAEvE,+EAA+E;AAC/E,8EAA8E;AAC9E,qDAAqD;AACrD,MAAM,CAAC,MAAM,iCAAiC,GAAG,4BAA4B,CAAC;AAC9E,MAAM,CAAC,MAAM,qCAAqC,GAAG,gCAAgC,CAAC;AAEtF,iFAAiF;AACjF,+EAA+E;AAC/E,gFAAgF;AAChF,0EAA0E;AAC1E,2EAA2E;AAC3E,6EAA6E;AAC7E,6EAA6E;AAC7E,mEAAmE;AACnE,2EAA2E;AAC3E,yEAAyE;AACzE,+EAA+E;AAC/E,gCAAgC;AAChC,mFAAmF;AACnF,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;AAC7D,MAAM,CAAC,MAAM,0BAA0B,GAAG,cAAc,CAAC;AACzD,MAAM,CAAC,MAAM,wBAAwB,GAAG,YAAY,CAAC;AACrD,MAAM,CAAC,MAAM,oCAAoC,GAAG,wBAAwB,CAAC;AAC7E,MAAM,CAAC,MAAM,wCAAwC,GAAG,4BAA4B,CAAC;AACrF,8EAA8E;AAC9E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,uBAAuB,GAAG,WAAW,CAAC;AAEnD,gFAAgF;AAChF,4EAA4E;AAC5E,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,MAAM,CAAC,MAAM,yBAAyB,GAAG,2BAA2B,CAAC;AACrE,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC;AACnC,8EAA8E;AAC9E,oEAAoE;AACpE,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC;AACnC,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAC/C,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;AACzC,+EAA+E;AAC/E,qEAAqE;AACrE,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC"}
@@ -1,134 +0,0 @@
1
- /**
2
- * otel/span-event — the `OtelSpanEvent` Zod schema (M1.1 / FDRS-480).
3
- *
4
- * The canonical internal representation of a single OpenTelemetry span, mapped
5
- * onto Pome's event union. From M1 on, OTel spans are the canonical model;
6
- * legacy `TwinHttpEvent` / `LlmCallEvent` / `ToolUseEvent` rows are shimmed *up*
7
- * into this shape (M1.2). `OtelSpanEvent` is a non-breaking `kind` extension of
8
- * the event union (composed in `./event-schema.ts`, cloud-only).
9
- *
10
- * Invariants enforced (review finding #4 — the schema was too weak):
11
- * - `*_unix_nano` are uint64 decimal strings WITHIN range (no overflow that
12
- * could throw a RangeError downstream).
13
- * - IDs are real W3C trace context (32-/16-char lowercase hex, non-zero) OR
14
- * an explicit `legacy:<source-id>` (the shim's namespace). Nothing else.
15
- * - `end_time_unix_nano >= start_time_unix_nano` (no reversed spans).
16
- * - `event_id === span_id` and `parent_id === parent_span_id` (the base
17
- * event-union chain mirrors span context).
18
- * - `ts` is exactly `nanosToIso(start_time_unix_nano)`.
19
- * - the typed `gen_ai_*` / `http_*` / `url_*` / `server_*` / `error_type`
20
- * fields EQUAL `projectAttributes(attributes)` — they are projections of
21
- * the verbatim bag and cannot drift from it.
22
- *
23
- * Field conventions: snake_case, flat. `attributes` holds the FULL verbatim
24
- * attribute bag; the typed fields above are projections of it (see `project.ts`).
25
- */
26
- import { z } from "zod";
27
- export declare const OTEL_SPAN_KINDS: readonly ["UNSPECIFIED", "INTERNAL", "SERVER", "CLIENT", "PRODUCER", "CONSUMER"];
28
- export declare const otelSpanKindSchema: z.ZodEnum<{
29
- UNSPECIFIED: "UNSPECIFIED";
30
- INTERNAL: "INTERNAL";
31
- SERVER: "SERVER";
32
- CLIENT: "CLIENT";
33
- PRODUCER: "PRODUCER";
34
- CONSUMER: "CONSUMER";
35
- }>;
36
- export type OtelSpanKind = z.infer<typeof otelSpanKindSchema>;
37
- export declare const OTEL_STATUS_CODES: readonly ["UNSET", "OK", "ERROR"];
38
- export declare const otelStatusCodeSchema: z.ZodEnum<{
39
- UNSET: "UNSET";
40
- OK: "OK";
41
- ERROR: "ERROR";
42
- }>;
43
- export type OtelStatusCode = z.infer<typeof otelStatusCodeSchema>;
44
- export declare const unixNanoSchema: z.ZodString;
45
- export declare const w3cTraceIdSchema: z.ZodString;
46
- export declare const w3cSpanIdSchema: z.ZodString;
47
- export declare const canonicalTraceIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
48
- export declare const canonicalSpanIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
49
- declare const otelSpanEventObjectSchema: z.ZodObject<{
50
- ts: z.ZodString;
51
- event_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
52
- parent_id: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
53
- kind: z.ZodLiteral<"OtelSpanEvent">;
54
- trace_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
55
- span_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
56
- parent_span_id: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
57
- name: z.ZodString;
58
- span_kind: z.ZodEnum<{
59
- UNSPECIFIED: "UNSPECIFIED";
60
- INTERNAL: "INTERNAL";
61
- SERVER: "SERVER";
62
- CLIENT: "CLIENT";
63
- PRODUCER: "PRODUCER";
64
- CONSUMER: "CONSUMER";
65
- }>;
66
- start_time_unix_nano: z.ZodString;
67
- end_time_unix_nano: z.ZodNullable<z.ZodString>;
68
- status_code: z.ZodEnum<{
69
- UNSET: "UNSET";
70
- OK: "OK";
71
- ERROR: "ERROR";
72
- }>;
73
- status_message: z.ZodNullable<z.ZodString>;
74
- gen_ai_provider_name: z.ZodNullable<z.ZodString>;
75
- gen_ai_operation_name: z.ZodNullable<z.ZodString>;
76
- gen_ai_request_model: z.ZodNullable<z.ZodString>;
77
- gen_ai_agent_name: z.ZodNullable<z.ZodString>;
78
- gen_ai_agent_id: z.ZodNullable<z.ZodString>;
79
- gen_ai_tool_name: z.ZodNullable<z.ZodString>;
80
- gen_ai_usage_input_tokens: z.ZodNullable<z.ZodNumber>;
81
- gen_ai_usage_output_tokens: z.ZodNullable<z.ZodNumber>;
82
- http_request_method: z.ZodNullable<z.ZodString>;
83
- http_response_status_code: z.ZodNullable<z.ZodNumber>;
84
- url_full: z.ZodNullable<z.ZodString>;
85
- url_path: z.ZodNullable<z.ZodString>;
86
- server_address: z.ZodNullable<z.ZodString>;
87
- server_port: z.ZodNullable<z.ZodNumber>;
88
- error_type: z.ZodNullable<z.ZodString>;
89
- attributes: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
90
- }, z.core.$strip>;
91
- export declare const otelSpanEventSchema: z.ZodObject<{
92
- ts: z.ZodString;
93
- event_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
94
- parent_id: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
95
- kind: z.ZodLiteral<"OtelSpanEvent">;
96
- trace_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
97
- span_id: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
98
- parent_span_id: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
99
- name: z.ZodString;
100
- span_kind: z.ZodEnum<{
101
- UNSPECIFIED: "UNSPECIFIED";
102
- INTERNAL: "INTERNAL";
103
- SERVER: "SERVER";
104
- CLIENT: "CLIENT";
105
- PRODUCER: "PRODUCER";
106
- CONSUMER: "CONSUMER";
107
- }>;
108
- start_time_unix_nano: z.ZodString;
109
- end_time_unix_nano: z.ZodNullable<z.ZodString>;
110
- status_code: z.ZodEnum<{
111
- UNSET: "UNSET";
112
- OK: "OK";
113
- ERROR: "ERROR";
114
- }>;
115
- status_message: z.ZodNullable<z.ZodString>;
116
- gen_ai_provider_name: z.ZodNullable<z.ZodString>;
117
- gen_ai_operation_name: z.ZodNullable<z.ZodString>;
118
- gen_ai_request_model: z.ZodNullable<z.ZodString>;
119
- gen_ai_agent_name: z.ZodNullable<z.ZodString>;
120
- gen_ai_agent_id: z.ZodNullable<z.ZodString>;
121
- gen_ai_tool_name: z.ZodNullable<z.ZodString>;
122
- gen_ai_usage_input_tokens: z.ZodNullable<z.ZodNumber>;
123
- gen_ai_usage_output_tokens: z.ZodNullable<z.ZodNumber>;
124
- http_request_method: z.ZodNullable<z.ZodString>;
125
- http_response_status_code: z.ZodNullable<z.ZodNumber>;
126
- url_full: z.ZodNullable<z.ZodString>;
127
- url_path: z.ZodNullable<z.ZodString>;
128
- server_address: z.ZodNullable<z.ZodString>;
129
- server_port: z.ZodNullable<z.ZodNumber>;
130
- error_type: z.ZodNullable<z.ZodString>;
131
- attributes: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
132
- }, z.core.$strip>;
133
- export type OtelSpanEvent = z.infer<typeof otelSpanEventObjectSchema>;
134
- export {};
@@ -1,152 +0,0 @@
1
- // SPDX-License-Identifier: Apache-2.0
2
- /**
3
- * otel/span-event — the `OtelSpanEvent` Zod schema (M1.1 / FDRS-480).
4
- *
5
- * The canonical internal representation of a single OpenTelemetry span, mapped
6
- * onto Pome's event union. From M1 on, OTel spans are the canonical model;
7
- * legacy `TwinHttpEvent` / `LlmCallEvent` / `ToolUseEvent` rows are shimmed *up*
8
- * into this shape (M1.2). `OtelSpanEvent` is a non-breaking `kind` extension of
9
- * the event union (composed in `./event-schema.ts`, cloud-only).
10
- *
11
- * Invariants enforced (review finding #4 — the schema was too weak):
12
- * - `*_unix_nano` are uint64 decimal strings WITHIN range (no overflow that
13
- * could throw a RangeError downstream).
14
- * - IDs are real W3C trace context (32-/16-char lowercase hex, non-zero) OR
15
- * an explicit `legacy:<source-id>` (the shim's namespace). Nothing else.
16
- * - `end_time_unix_nano >= start_time_unix_nano` (no reversed spans).
17
- * - `event_id === span_id` and `parent_id === parent_span_id` (the base
18
- * event-union chain mirrors span context).
19
- * - `ts` is exactly `nanosToIso(start_time_unix_nano)`.
20
- * - the typed `gen_ai_*` / `http_*` / `url_*` / `server_*` / `error_type`
21
- * fields EQUAL `projectAttributes(attributes)` — they are projections of
22
- * the verbatim bag and cannot drift from it.
23
- *
24
- * Field conventions: snake_case, flat. `attributes` holds the FULL verbatim
25
- * attribute bag; the typed fields above are projections of it (see `project.ts`).
26
- */
27
- import { z } from "zod";
28
- import { compareUint64, isUint64, nanosToIso } from "./nano.js";
29
- import { OTEL_PROJECTION_KEYS, otelAttributeValueSchema, projectAttributes, } from "./project.js";
30
- // OTel SpanKind, by name. OTLP encodes these as ints 0–5; the mapper normalizes
31
- // numeric input onto these names. Order matches the OTLP enum (index == int).
32
- export const OTEL_SPAN_KINDS = [
33
- "UNSPECIFIED",
34
- "INTERNAL",
35
- "SERVER",
36
- "CLIENT",
37
- "PRODUCER",
38
- "CONSUMER",
39
- ];
40
- export const otelSpanKindSchema = z.enum(OTEL_SPAN_KINDS);
41
- // OTel status code, by name. OTLP encodes these as ints 0–2 (index == int).
42
- export const OTEL_STATUS_CODES = ["UNSET", "OK", "ERROR"];
43
- export const otelStatusCodeSchema = z.enum(OTEL_STATUS_CODES);
44
- // uint64 nanoseconds-since-epoch as a decimal string, WITHIN the uint64 range.
45
- export const unixNanoSchema = z
46
- .string()
47
- .refine(isUint64, "expected a uint64 decimal string (unix nanoseconds) within range");
48
- // ── W3C trace-context identifiers ────────────────────────────────────────────
49
- // Real OTel IDs are lowercase hex, fixed-width, and never all-zero (the
50
- // all-zero id is the "invalid" sentinel). The shim namespaces non-OTel legacy
51
- // ids as `legacy:<source-id>` so a stored span always declares its provenance.
52
- const NON_ZERO = (hex) => /[1-9a-f]/.test(hex);
53
- export const w3cTraceIdSchema = z
54
- .string()
55
- .regex(/^[0-9a-f]{32}$/, "expected a 32-char lowercase-hex W3C trace id")
56
- .refine(NON_ZERO, "trace id must not be all-zero");
57
- export const w3cSpanIdSchema = z
58
- .string()
59
- .regex(/^[0-9a-f]{16}$/, "expected a 16-char lowercase-hex W3C span id")
60
- .refine(NON_ZERO, "span id must not be all-zero");
61
- const legacyIdSchema = z
62
- .string()
63
- .regex(/^legacy:.+$/, "expected a `legacy:<source-id>` namespaced id");
64
- // A canonical stored id: either real W3C trace context or an explicit
65
- // `legacy:` id. Used for the `OtelSpanEvent` (which may originate from the shim).
66
- export const canonicalTraceIdSchema = z.union([w3cTraceIdSchema, legacyIdSchema]);
67
- export const canonicalSpanIdSchema = z.union([w3cSpanIdSchema, legacyIdSchema]);
68
- const otelSpanEventObjectSchema = z.object({
69
- // ── shared event-union base (mirrors `eventBaseShape` in recorder-events.ts) ─
70
- ts: z.string().datetime(),
71
- event_id: canonicalSpanIdSchema,
72
- parent_id: canonicalSpanIdSchema.nullable(),
73
- kind: z.literal("OtelSpanEvent"),
74
- // ── W3C trace context — real span parentage (M3 correlation reads these) ────
75
- trace_id: canonicalTraceIdSchema,
76
- span_id: canonicalSpanIdSchema,
77
- parent_span_id: canonicalSpanIdSchema.nullable(),
78
- // ── span identity / timing / status ────────────────────────────────────────
79
- name: z.string().min(1),
80
- span_kind: otelSpanKindSchema,
81
- start_time_unix_nano: unixNanoSchema,
82
- end_time_unix_nano: unixNanoSchema.nullable(),
83
- status_code: otelStatusCodeSchema,
84
- status_message: z.string().nullable(),
85
- // ── GenAI projections (flat; null when the span lacks the attribute) ────────
86
- gen_ai_provider_name: z.string().nullable(),
87
- gen_ai_operation_name: z.string().nullable(),
88
- gen_ai_request_model: z.string().nullable(),
89
- gen_ai_agent_name: z.string().nullable(),
90
- gen_ai_agent_id: z.string().nullable(),
91
- gen_ai_tool_name: z.string().nullable(),
92
- gen_ai_usage_input_tokens: z.number().int().min(0).nullable(),
93
- gen_ai_usage_output_tokens: z.number().int().min(0).nullable(),
94
- // ── HTTP / core projections (flat; null when the span lacks the attribute) ──
95
- http_request_method: z.string().nullable(),
96
- http_response_status_code: z.number().int().nullable(),
97
- url_full: z.string().nullable(),
98
- url_path: z.string().nullable(),
99
- server_address: z.string().nullable(),
100
- server_port: z.number().int().min(0).nullable(),
101
- error_type: z.string().nullable(),
102
- // ── full, verbatim attribute bag (lossless; typed fields project from this) ─
103
- attributes: z.record(z.string(), otelAttributeValueSchema),
104
- });
105
- export const otelSpanEventSchema = otelSpanEventObjectSchema.superRefine((event, ctx) => {
106
- // Base-union chain mirrors span context.
107
- if (event.event_id !== event.span_id) {
108
- ctx.addIssue({
109
- code: "custom",
110
- path: ["event_id"],
111
- message: "event_id must equal span_id",
112
- });
113
- }
114
- if (event.parent_id !== event.parent_span_id) {
115
- ctx.addIssue({
116
- code: "custom",
117
- path: ["parent_id"],
118
- message: "parent_id must equal parent_span_id",
119
- });
120
- }
121
- // `ts` is the human-sortable mirror of the span start time.
122
- if (event.ts !== nanosToIso(event.start_time_unix_nano)) {
123
- ctx.addIssue({
124
- code: "custom",
125
- path: ["ts"],
126
- message: "ts must equal nanosToIso(start_time_unix_nano)",
127
- });
128
- }
129
- // No reversed spans.
130
- if (event.end_time_unix_nano !== null &&
131
- compareUint64(event.end_time_unix_nano, event.start_time_unix_nano) < 0) {
132
- ctx.addIssue({
133
- code: "custom",
134
- path: ["end_time_unix_nano"],
135
- message: "end_time_unix_nano must be >= start_time_unix_nano",
136
- });
137
- }
138
- // Projection-drift guard: typed fields must equal the attribute bag's
139
- // projection. The mapper and shim both build them via `projectAttributes`,
140
- // so a mismatch means a hand-constructed (or corrupted) event.
141
- const projected = projectAttributes(event.attributes);
142
- for (const key of OTEL_PROJECTION_KEYS) {
143
- if (event[key] !== projected[key]) {
144
- ctx.addIssue({
145
- code: "custom",
146
- path: [key],
147
- message: `${key} must equal projectAttributes(attributes).${key}`,
148
- });
149
- }
150
- }
151
- });
152
- //# sourceMappingURL=span-event.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"span-event.js","sourceRoot":"","sources":["../../src/otel/span-event.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAE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