@amplitude/ai 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/.cursor/skills/instrument-with-amplitude-ai/SKILL.md +50 -0
  2. package/AGENTS.md +79 -0
  3. package/LICENSE +21 -0
  4. package/README.md +2111 -0
  5. package/bin/amplitude-ai-completions.mjs +19 -0
  6. package/bin/amplitude-ai-doctor.mjs +26 -0
  7. package/bin/amplitude-ai-init.mjs +27 -0
  8. package/bin/amplitude-ai-instrument.mjs +52 -0
  9. package/bin/amplitude-ai-mcp.mjs +8 -0
  10. package/bin/amplitude-ai-register-catalog.mjs +156 -0
  11. package/bin/amplitude-ai-status.mjs +28 -0
  12. package/bin/amplitude-ai.mjs +43 -0
  13. package/bin/validate-catalog-constants.mjs +134 -0
  14. package/data/agent_event_catalog.json +1277 -0
  15. package/dist/_virtual/rolldown_runtime.js +31 -0
  16. package/dist/bound-agent.d.ts +56 -0
  17. package/dist/bound-agent.d.ts.map +1 -0
  18. package/dist/bound-agent.js +155 -0
  19. package/dist/bound-agent.js.map +1 -0
  20. package/dist/cli/doctor.d.ts +17 -0
  21. package/dist/cli/doctor.d.ts.map +1 -0
  22. package/dist/cli/doctor.js +89 -0
  23. package/dist/cli/doctor.js.map +1 -0
  24. package/dist/cli/init.d.ts +14 -0
  25. package/dist/cli/init.d.ts.map +1 -0
  26. package/dist/cli/init.js +40 -0
  27. package/dist/cli/init.js.map +1 -0
  28. package/dist/cli/providers.d.ts +32 -0
  29. package/dist/cli/providers.d.ts.map +1 -0
  30. package/dist/cli/providers.js +46 -0
  31. package/dist/cli/providers.js.map +1 -0
  32. package/dist/cli/status.d.ts +14 -0
  33. package/dist/cli/status.d.ts.map +1 -0
  34. package/dist/cli/status.js +38 -0
  35. package/dist/cli/status.js.map +1 -0
  36. package/dist/client.d.ts +246 -0
  37. package/dist/client.d.ts.map +1 -0
  38. package/dist/client.js +369 -0
  39. package/dist/client.js.map +1 -0
  40. package/dist/config.d.ts +60 -0
  41. package/dist/config.d.ts.map +1 -0
  42. package/dist/config.js +57 -0
  43. package/dist/config.js.map +1 -0
  44. package/dist/context.d.ts +44 -0
  45. package/dist/context.d.ts.map +1 -0
  46. package/dist/context.js +53 -0
  47. package/dist/context.js.map +1 -0
  48. package/dist/core/constants.d.ts +96 -0
  49. package/dist/core/constants.d.ts.map +1 -0
  50. package/dist/core/constants.js +105 -0
  51. package/dist/core/constants.js.map +1 -0
  52. package/dist/core/enrichments.d.ts +139 -0
  53. package/dist/core/enrichments.d.ts.map +1 -0
  54. package/dist/core/enrichments.js +177 -0
  55. package/dist/core/enrichments.js.map +1 -0
  56. package/dist/core/privacy.d.ts +53 -0
  57. package/dist/core/privacy.d.ts.map +1 -0
  58. package/dist/core/privacy.js +235 -0
  59. package/dist/core/privacy.js.map +1 -0
  60. package/dist/core/tracking.d.ts +242 -0
  61. package/dist/core/tracking.d.ts.map +1 -0
  62. package/dist/core/tracking.js +469 -0
  63. package/dist/core/tracking.js.map +1 -0
  64. package/dist/decorators.d.ts +109 -0
  65. package/dist/decorators.d.ts.map +1 -0
  66. package/dist/decorators.js +281 -0
  67. package/dist/decorators.js.map +1 -0
  68. package/dist/exceptions.d.ts +19 -0
  69. package/dist/exceptions.d.ts.map +1 -0
  70. package/dist/exceptions.js +35 -0
  71. package/dist/exceptions.js.map +1 -0
  72. package/dist/index.d.ts +37 -0
  73. package/dist/index.js +38 -0
  74. package/dist/integrations/anthropic-tools.d.ts +38 -0
  75. package/dist/integrations/anthropic-tools.d.ts.map +1 -0
  76. package/dist/integrations/anthropic-tools.js +175 -0
  77. package/dist/integrations/anthropic-tools.js.map +1 -0
  78. package/dist/integrations/crewai.d.ts +14 -0
  79. package/dist/integrations/crewai.d.ts.map +1 -0
  80. package/dist/integrations/crewai.js +19 -0
  81. package/dist/integrations/crewai.js.map +1 -0
  82. package/dist/integrations/langchain.d.ts +37 -0
  83. package/dist/integrations/langchain.d.ts.map +1 -0
  84. package/dist/integrations/langchain.js +189 -0
  85. package/dist/integrations/langchain.js.map +1 -0
  86. package/dist/integrations/llamaindex.d.ts +44 -0
  87. package/dist/integrations/llamaindex.d.ts.map +1 -0
  88. package/dist/integrations/llamaindex.js +144 -0
  89. package/dist/integrations/llamaindex.js.map +1 -0
  90. package/dist/integrations/openai-agents.d.ts +35 -0
  91. package/dist/integrations/openai-agents.d.ts.map +1 -0
  92. package/dist/integrations/openai-agents.js +248 -0
  93. package/dist/integrations/openai-agents.js.map +1 -0
  94. package/dist/integrations/opentelemetry.d.ts +40 -0
  95. package/dist/integrations/opentelemetry.d.ts.map +1 -0
  96. package/dist/integrations/opentelemetry.js +146 -0
  97. package/dist/integrations/opentelemetry.js.map +1 -0
  98. package/dist/internals.d.ts +5 -0
  99. package/dist/internals.js +5 -0
  100. package/dist/mcp/contract.d.ts +27 -0
  101. package/dist/mcp/contract.d.ts.map +1 -0
  102. package/dist/mcp/contract.js +25 -0
  103. package/dist/mcp/contract.js.map +1 -0
  104. package/dist/mcp/index.d.ts +4 -0
  105. package/dist/mcp/index.js +5 -0
  106. package/dist/mcp/patterns.d.ts +11 -0
  107. package/dist/mcp/patterns.d.ts.map +1 -0
  108. package/dist/mcp/patterns.js +38 -0
  109. package/dist/mcp/patterns.js.map +1 -0
  110. package/dist/mcp/server.d.ts +10 -0
  111. package/dist/mcp/server.d.ts.map +1 -0
  112. package/dist/mcp/server.js +241 -0
  113. package/dist/mcp/server.js.map +1 -0
  114. package/dist/mcp/validate-file.d.ts +20 -0
  115. package/dist/mcp/validate-file.d.ts.map +1 -0
  116. package/dist/mcp/validate-file.js +122 -0
  117. package/dist/mcp/validate-file.js.map +1 -0
  118. package/dist/middleware.d.ts +32 -0
  119. package/dist/middleware.d.ts.map +1 -0
  120. package/dist/middleware.js +67 -0
  121. package/dist/middleware.js.map +1 -0
  122. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +54 -0
  123. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +1 -0
  124. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +20 -0
  125. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +1 -0
  126. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +34 -0
  127. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js.map +1 -0
  128. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +225 -0
  129. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +1 -0
  130. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +22 -0
  131. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -0
  132. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +351 -0
  133. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +1 -0
  134. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +634 -0
  135. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +1 -0
  136. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js +60 -0
  137. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +1 -0
  138. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +122 -0
  139. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -0
  140. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +37 -0
  141. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +1 -0
  142. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +858 -0
  143. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -0
  144. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js +32 -0
  145. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +1 -0
  146. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +74 -0
  147. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js.map +1 -0
  148. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +1262 -0
  149. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -0
  150. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +83 -0
  151. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +1 -0
  152. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +195 -0
  153. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js.map +1 -0
  154. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +44 -0
  155. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js.map +1 -0
  156. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +88 -0
  157. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js.map +1 -0
  158. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +107 -0
  159. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -0
  160. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js +142 -0
  161. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  162. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +678 -0
  163. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  164. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +145 -0
  165. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  166. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +106 -0
  167. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js.map +1 -0
  168. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +227 -0
  169. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -0
  170. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +33 -0
  171. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js.map +1 -0
  172. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +22 -0
  173. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  174. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +137 -0
  175. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  176. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +65 -0
  177. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js.map +1 -0
  178. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +150 -0
  179. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js.map +1 -0
  180. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +27 -0
  181. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  182. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +52 -0
  183. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  184. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +176 -0
  185. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  186. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  187. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  188. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +437 -0
  189. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  190. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +117 -0
  191. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  192. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +76 -0
  193. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  194. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +587 -0
  195. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -0
  196. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.js +22 -0
  197. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.js.map +1 -0
  198. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.js +145 -0
  199. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.js.map +1 -0
  200. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +16 -0
  201. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  202. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +29 -0
  203. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  204. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +16 -0
  205. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  206. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js +20 -0
  207. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  208. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +61 -0
  209. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  210. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +101 -0
  211. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  212. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +34 -0
  213. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  214. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +21 -0
  215. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  216. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +94 -0
  217. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  218. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +91 -0
  219. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  220. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  221. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  222. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +64 -0
  223. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  224. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +63 -0
  225. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  226. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +39 -0
  227. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  228. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +36 -0
  229. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  230. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +56 -0
  231. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  232. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +66 -0
  233. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  234. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +22 -0
  235. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  236. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +57 -0
  237. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  238. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +46 -0
  239. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  240. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +22 -0
  241. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  242. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +134 -0
  243. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  244. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +19 -0
  245. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  246. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +27 -0
  247. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  248. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +116 -0
  249. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  250. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +106 -0
  251. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  252. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +18 -0
  253. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  254. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +31 -0
  255. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  256. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +97 -0
  257. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  258. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +15 -0
  259. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  260. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +27 -0
  261. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  262. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +32 -0
  263. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  264. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +54 -0
  265. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  266. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +53 -0
  267. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  268. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +33 -0
  269. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  270. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +38 -0
  271. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  272. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +52 -0
  273. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  274. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +33 -0
  275. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  276. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +32 -0
  277. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  278. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +43 -0
  279. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  280. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +77 -0
  281. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  282. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +75 -0
  283. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  284. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +37 -0
  285. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -0
  286. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js +240 -0
  287. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js.map +1 -0
  288. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js +194 -0
  289. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js.map +1 -0
  290. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js +286 -0
  291. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js.map +1 -0
  292. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +82 -0
  293. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js.map +1 -0
  294. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js +37 -0
  295. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js.map +1 -0
  296. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Refs.js +30 -0
  297. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Refs.js.map +1 -0
  298. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +16 -0
  299. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/errorMessages.js.map +1 -0
  300. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +10 -0
  301. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js.map +1 -0
  302. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parseDef.js +57 -0
  303. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parseDef.js.map +1 -0
  304. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
  305. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/any.js.map +1 -0
  306. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +23 -0
  307. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/array.js.map +1 -0
  308. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +36 -0
  309. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js.map +1 -0
  310. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +8 -0
  311. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js.map +1 -0
  312. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +10 -0
  313. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js.map +1 -0
  314. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +10 -0
  315. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js.map +1 -0
  316. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +39 -0
  317. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/date.js.map +1 -0
  318. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +13 -0
  319. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/default.js.map +1 -0
  320. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +11 -0
  321. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js.map +1 -0
  322. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +11 -0
  323. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js.map +1 -0
  324. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +47 -0
  325. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js.map +1 -0
  326. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +17 -0
  327. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js.map +1 -0
  328. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +38 -0
  329. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/map.js.map +1 -0
  330. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
  331. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js.map +1 -0
  332. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +13 -0
  333. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/never.js.map +1 -0
  334. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +11 -0
  335. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/null.js.map +1 -0
  336. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +46 -0
  337. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js.map +1 -0
  338. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +37 -0
  339. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/number.js.map +1 -0
  340. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +64 -0
  341. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/object.js.map +1 -0
  342. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +20 -0
  343. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js.map +1 -0
  344. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +27 -0
  345. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js.map +1 -0
  346. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +10 -0
  347. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js.map +1 -0
  348. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +10 -0
  349. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js.map +1 -0
  350. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +56 -0
  351. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/record.js.map +1 -0
  352. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +21 -0
  353. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/set.js.map +1 -0
  354. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +250 -0
  355. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +1 -0
  356. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +38 -0
  357. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js.map +1 -0
  358. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +10 -0
  359. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js.map +1 -0
  360. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +64 -0
  361. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/union.js.map +1 -0
  362. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +10 -0
  363. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js.map +1 -0
  364. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/selectParser.js +78 -0
  365. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/selectParser.js.map +1 -0
  366. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +70 -0
  367. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js.map +1 -0
  368. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js +104 -0
  369. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js.map +1 -0
  370. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js +11 -0
  371. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js.map +1 -0
  372. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js +10 -0
  373. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js.map +1 -0
  374. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js +110 -0
  375. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js.map +1 -0
  376. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js +99 -0
  377. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js.map +1 -0
  378. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js +84 -0
  379. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js.map +1 -0
  380. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js +3160 -0
  381. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js.map +1 -0
  382. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.js +23 -0
  383. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.js.map +1 -0
  384. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.js +38 -0
  385. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.js.map +1 -0
  386. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.js +12 -0
  387. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.js.map +1 -0
  388. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.js +611 -0
  389. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.js.map +1 -0
  390. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.js +437 -0
  391. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.js.map +1 -0
  392. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.js +360 -0
  393. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.js.map +1 -0
  394. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.js +50 -0
  395. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.js.map +1 -0
  396. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/doc.js +34 -0
  397. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/doc.js.map +1 -0
  398. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.js +71 -0
  399. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.js.map +1 -0
  400. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/parse.js +74 -0
  401. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/parse.js.map +1 -0
  402. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/regexes.js +63 -0
  403. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/regexes.js.map +1 -0
  404. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js +50 -0
  405. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js.map +1 -0
  406. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.js +1098 -0
  407. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.js.map +1 -0
  408. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js +599 -0
  409. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js.map +1 -0
  410. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.js +267 -0
  411. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.js.map +1 -0
  412. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.js +10 -0
  413. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.js.map +1 -0
  414. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/mini/schemas.js +50 -0
  415. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/mini/schemas.js.map +1 -0
  416. package/dist/patching.d.ts +59 -0
  417. package/dist/patching.d.ts.map +1 -0
  418. package/dist/patching.js +891 -0
  419. package/dist/patching.js.map +1 -0
  420. package/dist/propagation.d.ts +8 -0
  421. package/dist/propagation.d.ts.map +1 -0
  422. package/dist/propagation.js +46 -0
  423. package/dist/propagation.js.map +1 -0
  424. package/dist/providers/anthropic.d.ts +44 -0
  425. package/dist/providers/anthropic.d.ts.map +1 -0
  426. package/dist/providers/anthropic.js +287 -0
  427. package/dist/providers/anthropic.js.map +1 -0
  428. package/dist/providers/azure-openai.d.ts +32 -0
  429. package/dist/providers/azure-openai.d.ts.map +1 -0
  430. package/dist/providers/azure-openai.js +39 -0
  431. package/dist/providers/azure-openai.js.map +1 -0
  432. package/dist/providers/base.d.ts +70 -0
  433. package/dist/providers/base.d.ts.map +1 -0
  434. package/dist/providers/base.js +141 -0
  435. package/dist/providers/base.js.map +1 -0
  436. package/dist/providers/bedrock.d.ts +41 -0
  437. package/dist/providers/bedrock.d.ts.map +1 -0
  438. package/dist/providers/bedrock.js +229 -0
  439. package/dist/providers/bedrock.js.map +1 -0
  440. package/dist/providers/gemini.d.ts +34 -0
  441. package/dist/providers/gemini.d.ts.map +1 -0
  442. package/dist/providers/gemini.js +225 -0
  443. package/dist/providers/gemini.js.map +1 -0
  444. package/dist/providers/mistral.d.ts +32 -0
  445. package/dist/providers/mistral.d.ts.map +1 -0
  446. package/dist/providers/mistral.js +218 -0
  447. package/dist/providers/mistral.js.map +1 -0
  448. package/dist/providers/openai.d.ts +61 -0
  449. package/dist/providers/openai.d.ts.map +1 -0
  450. package/dist/providers/openai.js +530 -0
  451. package/dist/providers/openai.js.map +1 -0
  452. package/dist/register.d.ts +1 -0
  453. package/dist/register.js +46 -0
  454. package/dist/register.js.map +1 -0
  455. package/dist/session.d.ts +46 -0
  456. package/dist/session.d.ts.map +1 -0
  457. package/dist/session.js +144 -0
  458. package/dist/session.js.map +1 -0
  459. package/dist/tenant.d.ts +30 -0
  460. package/dist/tenant.d.ts.map +1 -0
  461. package/dist/tenant.js +23 -0
  462. package/dist/tenant.js.map +1 -0
  463. package/dist/testing.d.ts +46 -0
  464. package/dist/testing.d.ts.map +1 -0
  465. package/dist/testing.js +120 -0
  466. package/dist/testing.js.map +1 -0
  467. package/dist/types.d.ts +384 -0
  468. package/dist/types.d.ts.map +1 -0
  469. package/dist/types.js +13 -0
  470. package/dist/types.js.map +1 -0
  471. package/dist/utils/costs.d.ts +27 -0
  472. package/dist/utils/costs.d.ts.map +1 -0
  473. package/dist/utils/costs.js +63 -0
  474. package/dist/utils/costs.js.map +1 -0
  475. package/dist/utils/debug.d.ts +6 -0
  476. package/dist/utils/debug.d.ts.map +1 -0
  477. package/dist/utils/debug.js +73 -0
  478. package/dist/utils/debug.js.map +1 -0
  479. package/dist/utils/logger.d.ts +11 -0
  480. package/dist/utils/logger.d.ts.map +1 -0
  481. package/dist/utils/logger.js +18 -0
  482. package/dist/utils/logger.js.map +1 -0
  483. package/dist/utils/model-tiers.d.ts +8 -0
  484. package/dist/utils/model-tiers.d.ts.map +1 -0
  485. package/dist/utils/model-tiers.js +76 -0
  486. package/dist/utils/model-tiers.js.map +1 -0
  487. package/dist/utils/providers.d.ts +5 -0
  488. package/dist/utils/providers.d.ts.map +1 -0
  489. package/dist/utils/providers.js +20 -0
  490. package/dist/utils/providers.js.map +1 -0
  491. package/dist/utils/resolve-module.d.ts +5 -0
  492. package/dist/utils/resolve-module.d.ts.map +1 -0
  493. package/dist/utils/resolve-module.js +29 -0
  494. package/dist/utils/resolve-module.js.map +1 -0
  495. package/dist/utils/streaming.d.ts +55 -0
  496. package/dist/utils/streaming.d.ts.map +1 -0
  497. package/dist/utils/streaming.js +72 -0
  498. package/dist/utils/streaming.js.map +1 -0
  499. package/dist/utils/tokens.d.ts +16 -0
  500. package/dist/utils/tokens.d.ts.map +1 -0
  501. package/dist/utils/tokens.js +80 -0
  502. package/dist/utils/tokens.js.map +1 -0
  503. package/dist/wrappers.d.ts +37 -0
  504. package/dist/wrappers.d.ts.map +1 -0
  505. package/dist/wrappers.js +61 -0
  506. package/dist/wrappers.js.map +1 -0
  507. package/llms-full.txt +127 -0
  508. package/llms.txt +28 -0
  509. package/mcp.schema.json +18 -0
  510. package/package.json +189 -0
@@ -0,0 +1,1277 @@
1
+ {
2
+ "_meta": {
3
+ "schema_version": 1,
4
+ "generated_at": "2026-03-17T17:32:06.752295+00:00",
5
+ "source": "langley/langley/llm_analytics/taxonomy_catalog.py",
6
+ "category": "Agent Analytics"
7
+ },
8
+ "events": [
9
+ {
10
+ "event_type": "[Agent] User Message",
11
+ "description": "Fired when a user sends a message to an AI agent. Captures session/trace/turn context, message content (via $llm_message chunking), implicit feedback signals (regeneration, edit), and file attachments. The entry point for user-initiated AI interactions.",
12
+ "properties": [
13
+ {
14
+ "name": "[Agent] Session ID",
15
+ "type": "string",
16
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
17
+ "is_required": true
18
+ },
19
+ {
20
+ "name": "[Agent] Trace ID",
21
+ "type": "string",
22
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
23
+ },
24
+ {
25
+ "name": "[Agent] Turn ID",
26
+ "type": "number",
27
+ "description": "Monotonically increasing counter for event ordering within a session."
28
+ },
29
+ {
30
+ "name": "[Agent] Agent ID",
31
+ "type": "string",
32
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
33
+ },
34
+ {
35
+ "name": "[Agent] Parent Agent ID",
36
+ "type": "string",
37
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
38
+ },
39
+ {
40
+ "name": "[Agent] Customer Org ID",
41
+ "type": "string",
42
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
43
+ },
44
+ {
45
+ "name": "[Agent] Agent Version",
46
+ "type": "string",
47
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
48
+ },
49
+ {
50
+ "name": "[Agent] Context",
51
+ "type": "string",
52
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
53
+ },
54
+ {
55
+ "name": "[Agent] Env",
56
+ "type": "string",
57
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
58
+ },
59
+ {
60
+ "name": "[Agent] SDK Version",
61
+ "type": "string",
62
+ "description": "Version of the amplitude-ai SDK that produced this event.",
63
+ "is_required": true
64
+ },
65
+ {
66
+ "name": "[Agent] Runtime",
67
+ "type": "string",
68
+ "description": "SDK runtime: 'python' or 'node'.",
69
+ "is_required": true
70
+ },
71
+ {
72
+ "name": "[Agent] Message ID",
73
+ "type": "string",
74
+ "description": "Unique identifier for this message event (UUID). Used to link scores and tool calls back to specific messages.",
75
+ "is_required": true
76
+ },
77
+ {
78
+ "name": "[Agent] Component Type",
79
+ "type": "string",
80
+ "description": "Type of component that produced this event: 'user_input', 'llm', 'tool', 'embedding'.",
81
+ "is_required": true
82
+ },
83
+ {
84
+ "name": "[Agent] Locale",
85
+ "type": "string",
86
+ "description": "User locale (e.g., 'en-US')."
87
+ },
88
+ {
89
+ "name": "[Amplitude] Session Replay ID",
90
+ "type": "string",
91
+ "description": "Links to Amplitude Session Replay (format: device_id/session_id). Enables one-click navigation from AI session to browser replay."
92
+ },
93
+ {
94
+ "name": "[Agent] Is Regeneration",
95
+ "type": "boolean",
96
+ "description": "Whether the user requested the AI regenerate a previous response."
97
+ },
98
+ {
99
+ "name": "[Agent] Is Edit",
100
+ "type": "boolean",
101
+ "description": "Whether the user edited a previous message and resubmitted."
102
+ },
103
+ {
104
+ "name": "[Agent] Edited Message ID",
105
+ "type": "string",
106
+ "description": "The message_id of the original message that was edited (links the edit to the original)."
107
+ },
108
+ {
109
+ "name": "[Agent] Has Attachments",
110
+ "type": "boolean",
111
+ "description": "Whether this message includes file attachments (uploads, images, etc.)."
112
+ },
113
+ {
114
+ "name": "[Agent] Attachment Types",
115
+ "type": "string",
116
+ "description": "Distinct attachment types (e.g., 'pdf', 'image', 'csv'). Serialized JSON array.",
117
+ "is_array_type": true
118
+ },
119
+ {
120
+ "name": "[Agent] Attachment Count",
121
+ "type": "number",
122
+ "description": "Number of file attachments included with this message."
123
+ },
124
+ {
125
+ "name": "[Agent] Total Attachment Size Bytes",
126
+ "type": "number",
127
+ "description": "Total size of all attachments in bytes."
128
+ },
129
+ {
130
+ "name": "[Agent] Attachments",
131
+ "type": "string",
132
+ "description": "Serialized JSON array of attachment metadata (type, name, size_bytes, mime_type). Only metadata, never file content."
133
+ },
134
+ {
135
+ "name": "[Agent] Message Labels",
136
+ "type": "string",
137
+ "description": "Serialized JSON array of MessageLabel objects (key-value pairs with optional confidence). Used for routing tags, classifier output, business context."
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "event_type": "[Agent] AI Response",
143
+ "description": "Fired when an AI agent generates a response. Captures model, provider, latency, TTFB, token breakdowns (input/output/reasoning/cache), cache-aware cost, finish reason, reasoning content, system prompt, model configuration, copy signal, and model tier. The primary event for LLM performance and cost analytics.",
144
+ "properties": [
145
+ {
146
+ "name": "[Agent] Session ID",
147
+ "type": "string",
148
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
149
+ "is_required": true
150
+ },
151
+ {
152
+ "name": "[Agent] Trace ID",
153
+ "type": "string",
154
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
155
+ },
156
+ {
157
+ "name": "[Agent] Turn ID",
158
+ "type": "number",
159
+ "description": "Monotonically increasing counter for event ordering within a session."
160
+ },
161
+ {
162
+ "name": "[Agent] Agent ID",
163
+ "type": "string",
164
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
165
+ },
166
+ {
167
+ "name": "[Agent] Parent Agent ID",
168
+ "type": "string",
169
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
170
+ },
171
+ {
172
+ "name": "[Agent] Customer Org ID",
173
+ "type": "string",
174
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
175
+ },
176
+ {
177
+ "name": "[Agent] Agent Version",
178
+ "type": "string",
179
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
180
+ },
181
+ {
182
+ "name": "[Agent] Context",
183
+ "type": "string",
184
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
185
+ },
186
+ {
187
+ "name": "[Agent] Env",
188
+ "type": "string",
189
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
190
+ },
191
+ {
192
+ "name": "[Agent] SDK Version",
193
+ "type": "string",
194
+ "description": "Version of the amplitude-ai SDK that produced this event.",
195
+ "is_required": true
196
+ },
197
+ {
198
+ "name": "[Agent] Runtime",
199
+ "type": "string",
200
+ "description": "SDK runtime: 'python' or 'node'.",
201
+ "is_required": true
202
+ },
203
+ {
204
+ "name": "[Agent] Message ID",
205
+ "type": "string",
206
+ "description": "Unique identifier for this message event (UUID). Used to link scores and tool calls back to specific messages.",
207
+ "is_required": true
208
+ },
209
+ {
210
+ "name": "[Agent] Component Type",
211
+ "type": "string",
212
+ "description": "Type of component that produced this event: 'user_input', 'llm', 'tool', 'embedding'.",
213
+ "is_required": true
214
+ },
215
+ {
216
+ "name": "[Agent] Model Name",
217
+ "type": "string",
218
+ "description": "LLM model identifier (e.g., 'gpt-4o', 'claude-sonnet-4-20250514').",
219
+ "is_required": true
220
+ },
221
+ {
222
+ "name": "[Agent] Provider",
223
+ "type": "string",
224
+ "description": "LLM provider name (e.g., 'openai', 'anthropic', 'google', 'mistral', 'bedrock').",
225
+ "is_required": true
226
+ },
227
+ {
228
+ "name": "[Agent] Latency Ms",
229
+ "type": "number",
230
+ "description": "Total wall-clock latency in milliseconds for this operation.",
231
+ "is_required": true
232
+ },
233
+ {
234
+ "name": "[Agent] Is Error",
235
+ "type": "boolean",
236
+ "description": "Whether this event represents an error condition.",
237
+ "is_required": true
238
+ },
239
+ {
240
+ "name": "[Agent] Error Message",
241
+ "type": "string",
242
+ "description": "Error message text when Is Error is true."
243
+ },
244
+ {
245
+ "name": "[Agent] Locale",
246
+ "type": "string",
247
+ "description": "User locale (e.g., 'en-US')."
248
+ },
249
+ {
250
+ "name": "[Agent] Span Kind",
251
+ "type": "string",
252
+ "description": "Classification of the span type for OTEL bridge compatibility."
253
+ },
254
+ {
255
+ "name": "[Amplitude] Session Replay ID",
256
+ "type": "string",
257
+ "description": "Links to Amplitude Session Replay (format: device_id/session_id). Enables one-click navigation from AI session to browser replay."
258
+ },
259
+ {
260
+ "name": "[Agent] TTFB Ms",
261
+ "type": "number",
262
+ "description": "Time to first byte/token in milliseconds. Measures perceived responsiveness for streaming."
263
+ },
264
+ {
265
+ "name": "[Agent] Input Tokens",
266
+ "type": "number",
267
+ "description": "Number of input/prompt tokens consumed by this LLM call."
268
+ },
269
+ {
270
+ "name": "[Agent] Output Tokens",
271
+ "type": "number",
272
+ "description": "Number of output/completion tokens generated by this LLM call."
273
+ },
274
+ {
275
+ "name": "[Agent] Total Tokens",
276
+ "type": "number",
277
+ "description": "Total tokens consumed (input + output)."
278
+ },
279
+ {
280
+ "name": "[Agent] Reasoning Tokens",
281
+ "type": "number",
282
+ "description": "Tokens consumed by reasoning/thinking (o1, o3, extended thinking models)."
283
+ },
284
+ {
285
+ "name": "[Agent] Cache Read Tokens",
286
+ "type": "number",
287
+ "description": "Input tokens served from the provider's prompt cache (cheaper rate). Used for cache-aware cost calculation."
288
+ },
289
+ {
290
+ "name": "[Agent] Cache Creation Tokens",
291
+ "type": "number",
292
+ "description": "Input tokens that created new prompt cache entries."
293
+ },
294
+ {
295
+ "name": "[Agent] Cost USD",
296
+ "type": "number",
297
+ "description": "Estimated cost in USD for this LLM call. Cache-aware when cache token counts are provided."
298
+ },
299
+ {
300
+ "name": "[Agent] Finish Reason",
301
+ "type": "string",
302
+ "description": "Why the model stopped generating: 'stop', 'end_turn', 'tool_use', 'length', 'content_filter', etc."
303
+ },
304
+ {
305
+ "name": "[Agent] Tool Calls",
306
+ "type": "string",
307
+ "description": "Serialized JSON array of tool call requests made by the AI in this response."
308
+ },
309
+ {
310
+ "name": "[Agent] Has Reasoning",
311
+ "type": "boolean",
312
+ "description": "Whether the AI response included reasoning/thinking content."
313
+ },
314
+ {
315
+ "name": "[Agent] Reasoning Content",
316
+ "type": "string",
317
+ "description": "The AI's reasoning/thinking content (when available and content_mode permits)."
318
+ },
319
+ {
320
+ "name": "[Agent] System Prompt",
321
+ "type": "string",
322
+ "description": "The system prompt used for this LLM call (when content_mode permits). Chunked for long prompts."
323
+ },
324
+ {
325
+ "name": "[Agent] System Prompt Length",
326
+ "type": "number",
327
+ "description": "Character length of the system prompt."
328
+ },
329
+ {
330
+ "name": "[Agent] Temperature",
331
+ "type": "number",
332
+ "description": "Temperature parameter used for this LLM call."
333
+ },
334
+ {
335
+ "name": "[Agent] Max Output Tokens",
336
+ "type": "number",
337
+ "description": "Maximum output tokens configured for this LLM call."
338
+ },
339
+ {
340
+ "name": "[Agent] Top P",
341
+ "type": "number",
342
+ "description": "Top-p (nucleus sampling) parameter used for this LLM call."
343
+ },
344
+ {
345
+ "name": "[Agent] Is Streaming",
346
+ "type": "boolean",
347
+ "description": "Whether this response was generated via streaming."
348
+ },
349
+ {
350
+ "name": "[Agent] Prompt ID",
351
+ "type": "string",
352
+ "description": "Identifier for the prompt template or version used."
353
+ },
354
+ {
355
+ "name": "[Agent] Was Copied",
356
+ "type": "boolean",
357
+ "description": "Whether the user copied this AI response content. An implicit positive quality signal."
358
+ },
359
+ {
360
+ "name": "[Agent] Was Cached",
361
+ "type": "boolean",
362
+ "description": "Whether this response was served from a semantic/full-response cache (distinct from token-level prompt caching)."
363
+ },
364
+ {
365
+ "name": "[Agent] Model Tier",
366
+ "type": "string",
367
+ "description": "Model tier classification: 'fast' (GPT-4o-mini, Haiku, Flash), 'standard' (GPT-4o, Sonnet, Pro), or 'reasoning' (o1, o3, DeepSeek-R1). Auto-inferred from model name."
368
+ },
369
+ {
370
+ "name": "[Agent] Has Attachments",
371
+ "type": "boolean",
372
+ "description": "Whether this AI response includes generated attachments (images, charts, files)."
373
+ },
374
+ {
375
+ "name": "[Agent] Attachment Types",
376
+ "type": "string",
377
+ "description": "Distinct attachment types in this AI response. Serialized JSON array.",
378
+ "is_array_type": true
379
+ },
380
+ {
381
+ "name": "[Agent] Attachment Count",
382
+ "type": "number",
383
+ "description": "Number of attachments generated by the AI in this response."
384
+ },
385
+ {
386
+ "name": "[Agent] Total Attachment Size Bytes",
387
+ "type": "number",
388
+ "description": "Total size of all AI-generated attachments in bytes."
389
+ },
390
+ {
391
+ "name": "[Agent] Attachments",
392
+ "type": "string",
393
+ "description": "Serialized JSON array of AI-generated attachment metadata."
394
+ },
395
+ {
396
+ "name": "[Agent] Message Labels",
397
+ "type": "string",
398
+ "description": "Serialized JSON array of MessageLabel objects attached to this AI response."
399
+ },
400
+ {
401
+ "name": "[Agent] Message Label Map",
402
+ "type": "string",
403
+ "description": "Serialized JSON map of label key to value for quick lookup."
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "event_type": "[Agent] Tool Call",
409
+ "description": "Fired when an AI agent invokes a tool or function. Captures tool name, input/output (serialized JSON, respects content_mode), latency, success status, and error details. Use to identify which tools are most frequently used, slowest, and most error-prone.",
410
+ "properties": [
411
+ {
412
+ "name": "[Agent] Session ID",
413
+ "type": "string",
414
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
415
+ "is_required": true
416
+ },
417
+ {
418
+ "name": "[Agent] Trace ID",
419
+ "type": "string",
420
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
421
+ },
422
+ {
423
+ "name": "[Agent] Turn ID",
424
+ "type": "number",
425
+ "description": "Monotonically increasing counter for event ordering within a session."
426
+ },
427
+ {
428
+ "name": "[Agent] Agent ID",
429
+ "type": "string",
430
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
431
+ },
432
+ {
433
+ "name": "[Agent] Parent Agent ID",
434
+ "type": "string",
435
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
436
+ },
437
+ {
438
+ "name": "[Agent] Customer Org ID",
439
+ "type": "string",
440
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
441
+ },
442
+ {
443
+ "name": "[Agent] Agent Version",
444
+ "type": "string",
445
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
446
+ },
447
+ {
448
+ "name": "[Agent] Context",
449
+ "type": "string",
450
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
451
+ },
452
+ {
453
+ "name": "[Agent] Env",
454
+ "type": "string",
455
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
456
+ },
457
+ {
458
+ "name": "[Agent] SDK Version",
459
+ "type": "string",
460
+ "description": "Version of the amplitude-ai SDK that produced this event.",
461
+ "is_required": true
462
+ },
463
+ {
464
+ "name": "[Agent] Runtime",
465
+ "type": "string",
466
+ "description": "SDK runtime: 'python' or 'node'.",
467
+ "is_required": true
468
+ },
469
+ {
470
+ "name": "[Agent] Component Type",
471
+ "type": "string",
472
+ "description": "Type of component that produced this event: 'user_input', 'llm', 'tool', 'embedding'.",
473
+ "is_required": true
474
+ },
475
+ {
476
+ "name": "[Agent] Latency Ms",
477
+ "type": "number",
478
+ "description": "Total wall-clock latency in milliseconds for this operation.",
479
+ "is_required": true
480
+ },
481
+ {
482
+ "name": "[Agent] Is Error",
483
+ "type": "boolean",
484
+ "description": "Whether this event represents an error condition.",
485
+ "is_required": true
486
+ },
487
+ {
488
+ "name": "[Agent] Error Message",
489
+ "type": "string",
490
+ "description": "Error message text when Is Error is true."
491
+ },
492
+ {
493
+ "name": "[Agent] Locale",
494
+ "type": "string",
495
+ "description": "User locale (e.g., 'en-US')."
496
+ },
497
+ {
498
+ "name": "[Agent] Span Kind",
499
+ "type": "string",
500
+ "description": "Classification of the span type for OTEL bridge compatibility."
501
+ },
502
+ {
503
+ "name": "[Amplitude] Session Replay ID",
504
+ "type": "string",
505
+ "description": "Links to Amplitude Session Replay (format: device_id/session_id). Enables one-click navigation from AI session to browser replay."
506
+ },
507
+ {
508
+ "name": "[Agent] Invocation ID",
509
+ "type": "string",
510
+ "description": "Unique identifier for this tool invocation (UUID). Used to link tool calls to parent messages.",
511
+ "is_required": true
512
+ },
513
+ {
514
+ "name": "[Agent] Tool Name",
515
+ "type": "string",
516
+ "description": "Name of the tool/function that was invoked (e.g., 'search_docs', 'web_search').",
517
+ "is_required": true
518
+ },
519
+ {
520
+ "name": "[Agent] Tool Success",
521
+ "type": "boolean",
522
+ "description": "Whether the tool call completed successfully.",
523
+ "is_required": true
524
+ },
525
+ {
526
+ "name": "[Agent] Tool Input",
527
+ "type": "string",
528
+ "description": "Serialized JSON of the tool's input arguments. Only sent when content_mode='full'."
529
+ },
530
+ {
531
+ "name": "[Agent] Tool Output",
532
+ "type": "string",
533
+ "description": "Serialized JSON of the tool's output/return value. Only sent when content_mode='full'."
534
+ },
535
+ {
536
+ "name": "[Agent] Parent Message ID",
537
+ "type": "string",
538
+ "description": "The message_id of the user message that triggered this tool call. Links the tool call into the event graph."
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "event_type": "[Agent] Embedding",
544
+ "description": "Fired when a vector embedding operation is performed. Captures model, provider, latency, input tokens, vector dimensions, and cost. Used for RAG pipeline analytics.",
545
+ "properties": [
546
+ {
547
+ "name": "[Agent] Session ID",
548
+ "type": "string",
549
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
550
+ "is_required": true
551
+ },
552
+ {
553
+ "name": "[Agent] Trace ID",
554
+ "type": "string",
555
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
556
+ },
557
+ {
558
+ "name": "[Agent] Turn ID",
559
+ "type": "number",
560
+ "description": "Monotonically increasing counter for event ordering within a session."
561
+ },
562
+ {
563
+ "name": "[Agent] Agent ID",
564
+ "type": "string",
565
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
566
+ },
567
+ {
568
+ "name": "[Agent] Parent Agent ID",
569
+ "type": "string",
570
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
571
+ },
572
+ {
573
+ "name": "[Agent] Customer Org ID",
574
+ "type": "string",
575
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
576
+ },
577
+ {
578
+ "name": "[Agent] Agent Version",
579
+ "type": "string",
580
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
581
+ },
582
+ {
583
+ "name": "[Agent] Context",
584
+ "type": "string",
585
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
586
+ },
587
+ {
588
+ "name": "[Agent] Env",
589
+ "type": "string",
590
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
591
+ },
592
+ {
593
+ "name": "[Agent] SDK Version",
594
+ "type": "string",
595
+ "description": "Version of the amplitude-ai SDK that produced this event.",
596
+ "is_required": true
597
+ },
598
+ {
599
+ "name": "[Agent] Runtime",
600
+ "type": "string",
601
+ "description": "SDK runtime: 'python' or 'node'.",
602
+ "is_required": true
603
+ },
604
+ {
605
+ "name": "[Agent] Component Type",
606
+ "type": "string",
607
+ "description": "Type of component that produced this event: 'user_input', 'llm', 'tool', 'embedding'.",
608
+ "is_required": true
609
+ },
610
+ {
611
+ "name": "[Agent] Model Name",
612
+ "type": "string",
613
+ "description": "LLM model identifier (e.g., 'gpt-4o', 'claude-sonnet-4-20250514').",
614
+ "is_required": true
615
+ },
616
+ {
617
+ "name": "[Agent] Provider",
618
+ "type": "string",
619
+ "description": "LLM provider name (e.g., 'openai', 'anthropic', 'google', 'mistral', 'bedrock').",
620
+ "is_required": true
621
+ },
622
+ {
623
+ "name": "[Agent] Latency Ms",
624
+ "type": "number",
625
+ "description": "Total wall-clock latency in milliseconds for this operation.",
626
+ "is_required": true
627
+ },
628
+ {
629
+ "name": "[Agent] Span ID",
630
+ "type": "string",
631
+ "description": "Unique identifier for this embedding operation (UUID).",
632
+ "is_required": true
633
+ },
634
+ {
635
+ "name": "[Agent] Input Tokens",
636
+ "type": "number",
637
+ "description": "Number of input tokens processed by the embedding model."
638
+ },
639
+ {
640
+ "name": "[Agent] Embedding Dimensions",
641
+ "type": "number",
642
+ "description": "Dimensionality of the output embedding vector."
643
+ },
644
+ {
645
+ "name": "[Agent] Cost USD",
646
+ "type": "number",
647
+ "description": "Estimated cost in USD for this embedding operation."
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "event_type": "[Agent] Span",
653
+ "description": "Fired for a generic pipeline operation such as vector search, rerank, guardrails, or any custom step. Captures span name, input/output state (serialized JSON), latency, and parent span hierarchy. Enables pipeline step analysis and latency attribution.",
654
+ "properties": [
655
+ {
656
+ "name": "[Agent] Session ID",
657
+ "type": "string",
658
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
659
+ "is_required": true
660
+ },
661
+ {
662
+ "name": "[Agent] Trace ID",
663
+ "type": "string",
664
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
665
+ },
666
+ {
667
+ "name": "[Agent] Turn ID",
668
+ "type": "number",
669
+ "description": "Monotonically increasing counter for event ordering within a session."
670
+ },
671
+ {
672
+ "name": "[Agent] Agent ID",
673
+ "type": "string",
674
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
675
+ },
676
+ {
677
+ "name": "[Agent] Parent Agent ID",
678
+ "type": "string",
679
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
680
+ },
681
+ {
682
+ "name": "[Agent] Customer Org ID",
683
+ "type": "string",
684
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
685
+ },
686
+ {
687
+ "name": "[Agent] Agent Version",
688
+ "type": "string",
689
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
690
+ },
691
+ {
692
+ "name": "[Agent] Context",
693
+ "type": "string",
694
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
695
+ },
696
+ {
697
+ "name": "[Agent] Env",
698
+ "type": "string",
699
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
700
+ },
701
+ {
702
+ "name": "[Agent] SDK Version",
703
+ "type": "string",
704
+ "description": "Version of the amplitude-ai SDK that produced this event.",
705
+ "is_required": true
706
+ },
707
+ {
708
+ "name": "[Agent] Runtime",
709
+ "type": "string",
710
+ "description": "SDK runtime: 'python' or 'node'.",
711
+ "is_required": true
712
+ },
713
+ {
714
+ "name": "[Agent] Latency Ms",
715
+ "type": "number",
716
+ "description": "Total wall-clock latency in milliseconds for this operation.",
717
+ "is_required": true
718
+ },
719
+ {
720
+ "name": "[Agent] Is Error",
721
+ "type": "boolean",
722
+ "description": "Whether this event represents an error condition.",
723
+ "is_required": true
724
+ },
725
+ {
726
+ "name": "[Agent] Error Message",
727
+ "type": "string",
728
+ "description": "Error message text when Is Error is true."
729
+ },
730
+ {
731
+ "name": "[Agent] Span ID",
732
+ "type": "string",
733
+ "description": "Unique identifier for this span (UUID).",
734
+ "is_required": true
735
+ },
736
+ {
737
+ "name": "[Agent] Span Name",
738
+ "type": "string",
739
+ "description": "Name of the operation (e.g., 'rag_pipeline', 'vector_search', 'rerank').",
740
+ "is_required": true
741
+ },
742
+ {
743
+ "name": "[Agent] Parent Span ID",
744
+ "type": "string",
745
+ "description": "Span ID of the parent span for nested pipeline steps."
746
+ },
747
+ {
748
+ "name": "[Agent] Input State",
749
+ "type": "string",
750
+ "description": "Serialized JSON of the span's input state. Only sent when content_mode='full'."
751
+ },
752
+ {
753
+ "name": "[Agent] Output State",
754
+ "type": "string",
755
+ "description": "Serialized JSON of the span's output state. Only sent when content_mode='full'."
756
+ }
757
+ ]
758
+ },
759
+ {
760
+ "event_type": "[Agent] Session End",
761
+ "description": "Fired when a session is explicitly closed by the SDK (via track_session_end() or Session context manager exit). Can carry optional enrichments and abandonment tracking. Triggers server-side enrichment when content_mode='full'.",
762
+ "properties": [
763
+ {
764
+ "name": "[Agent] Session ID",
765
+ "type": "string",
766
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
767
+ "is_required": true
768
+ },
769
+ {
770
+ "name": "[Agent] Trace ID",
771
+ "type": "string",
772
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
773
+ },
774
+ {
775
+ "name": "[Agent] Turn ID",
776
+ "type": "number",
777
+ "description": "Monotonically increasing counter for event ordering within a session."
778
+ },
779
+ {
780
+ "name": "[Agent] Agent ID",
781
+ "type": "string",
782
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
783
+ },
784
+ {
785
+ "name": "[Agent] Parent Agent ID",
786
+ "type": "string",
787
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
788
+ },
789
+ {
790
+ "name": "[Agent] Customer Org ID",
791
+ "type": "string",
792
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
793
+ },
794
+ {
795
+ "name": "[Agent] Agent Version",
796
+ "type": "string",
797
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
798
+ },
799
+ {
800
+ "name": "[Agent] Context",
801
+ "type": "string",
802
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
803
+ },
804
+ {
805
+ "name": "[Agent] Env",
806
+ "type": "string",
807
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
808
+ },
809
+ {
810
+ "name": "[Agent] SDK Version",
811
+ "type": "string",
812
+ "description": "Version of the amplitude-ai SDK that produced this event.",
813
+ "is_required": true
814
+ },
815
+ {
816
+ "name": "[Agent] Runtime",
817
+ "type": "string",
818
+ "description": "SDK runtime: 'python' or 'node'.",
819
+ "is_required": true
820
+ },
821
+ {
822
+ "name": "[Agent] Enrichments",
823
+ "type": "string",
824
+ "description": "Serialized JSON of SessionEnrichments (topic classifications, rubric scores, outcome, flags). Attached when enrichments are provided at session close."
825
+ },
826
+ {
827
+ "name": "[Agent] Abandonment Turn",
828
+ "type": "number",
829
+ "description": "Turn ID of the last user message that received an AI response before the user left. Low values (e.g., 1) strongly signal first-response dissatisfaction."
830
+ },
831
+ {
832
+ "name": "[Agent] Session Idle Timeout Minutes",
833
+ "type": "number",
834
+ "description": "Custom idle timeout for this session (default 30 min). Tells the server how long to wait before auto-closing."
835
+ }
836
+ ]
837
+ },
838
+ {
839
+ "event_type": "[Agent] Session Enrichment",
840
+ "description": "Fired when a customer provides structured session classifications via track_session_enrichment(). Used with content_mode='customer_enriched' for teams who run their own classifiers. Distinct from the server-generated [Agent] Session Evaluation. Contains serialized SessionEnrichments (topics, rubrics, outcome, flags) as a single JSON property.",
841
+ "properties": [
842
+ {
843
+ "name": "[Agent] Session ID",
844
+ "type": "string",
845
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
846
+ "is_required": true
847
+ },
848
+ {
849
+ "name": "[Agent] Trace ID",
850
+ "type": "string",
851
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
852
+ },
853
+ {
854
+ "name": "[Agent] Turn ID",
855
+ "type": "number",
856
+ "description": "Monotonically increasing counter for event ordering within a session."
857
+ },
858
+ {
859
+ "name": "[Agent] Agent ID",
860
+ "type": "string",
861
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
862
+ },
863
+ {
864
+ "name": "[Agent] Parent Agent ID",
865
+ "type": "string",
866
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
867
+ },
868
+ {
869
+ "name": "[Agent] Customer Org ID",
870
+ "type": "string",
871
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
872
+ },
873
+ {
874
+ "name": "[Agent] Agent Version",
875
+ "type": "string",
876
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
877
+ },
878
+ {
879
+ "name": "[Agent] Context",
880
+ "type": "string",
881
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
882
+ },
883
+ {
884
+ "name": "[Agent] Env",
885
+ "type": "string",
886
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
887
+ },
888
+ {
889
+ "name": "[Agent] SDK Version",
890
+ "type": "string",
891
+ "description": "Version of the amplitude-ai SDK that produced this event.",
892
+ "is_required": true
893
+ },
894
+ {
895
+ "name": "[Agent] Runtime",
896
+ "type": "string",
897
+ "description": "SDK runtime: 'python' or 'node'.",
898
+ "is_required": true
899
+ },
900
+ {
901
+ "name": "[Agent] Enrichments",
902
+ "type": "string",
903
+ "description": "Serialized JSON of SessionEnrichments: topic_classifications, rubrics, overall_outcome, quality_score, sentiment_score, boolean flags, agent chain metadata, and message labels.",
904
+ "is_required": true
905
+ }
906
+ ]
907
+ },
908
+ {
909
+ "event_type": "[Agent] Score",
910
+ "description": "Quality signal attached to a message or session. Covers user feedback (source='user', e.g., thumbs up/down), automated evals (source='ai', e.g., LLM-as-judge), human annotations (source='reviewer'), and server-generated rubric scores. All quality signals share this event type, enabling unified queries across signal sources.",
911
+ "properties": [
912
+ {
913
+ "name": "[Agent] Session ID",
914
+ "type": "string",
915
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
916
+ "is_required": true
917
+ },
918
+ {
919
+ "name": "[Agent] Trace ID",
920
+ "type": "string",
921
+ "description": "Identifies one user-message-to-AI-response cycle within a session."
922
+ },
923
+ {
924
+ "name": "[Agent] Turn ID",
925
+ "type": "number",
926
+ "description": "Monotonically increasing counter for event ordering within a session."
927
+ },
928
+ {
929
+ "name": "[Agent] Agent ID",
930
+ "type": "string",
931
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston')."
932
+ },
933
+ {
934
+ "name": "[Agent] Parent Agent ID",
935
+ "type": "string",
936
+ "description": "For multi-agent orchestration: the agent that delegated to this agent."
937
+ },
938
+ {
939
+ "name": "[Agent] Customer Org ID",
940
+ "type": "string",
941
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics."
942
+ },
943
+ {
944
+ "name": "[Agent] Agent Version",
945
+ "type": "string",
946
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
947
+ },
948
+ {
949
+ "name": "[Agent] Context",
950
+ "type": "string",
951
+ "description": "Serialized JSON dict of arbitrary segmentation dimensions (experiment_variant, surface, feature_flag, prompt_revision, etc.)."
952
+ },
953
+ {
954
+ "name": "[Agent] Env",
955
+ "type": "string",
956
+ "description": "Deployment environment: 'production', 'staging', or 'dev'."
957
+ },
958
+ {
959
+ "name": "[Agent] SDK Version",
960
+ "type": "string",
961
+ "description": "Version of the amplitude-ai SDK that produced this event.",
962
+ "is_required": true
963
+ },
964
+ {
965
+ "name": "[Agent] Runtime",
966
+ "type": "string",
967
+ "description": "SDK runtime: 'python' or 'node'.",
968
+ "is_required": true
969
+ },
970
+ {
971
+ "name": "[Agent] Score Name",
972
+ "type": "string",
973
+ "description": "Name of the score (e.g., 'user-feedback', 'task_completion', 'accuracy', 'groundedness').",
974
+ "is_required": true
975
+ },
976
+ {
977
+ "name": "[Agent] Score Value",
978
+ "type": "number",
979
+ "description": "Numeric score value. Binary (0/1), continuous (0.0-1.0), or rating scale (1-5).",
980
+ "is_required": true
981
+ },
982
+ {
983
+ "name": "[Agent] Target ID",
984
+ "type": "string",
985
+ "description": "The message_id or session_id being scored.",
986
+ "is_required": true
987
+ },
988
+ {
989
+ "name": "[Agent] Target Type",
990
+ "type": "string",
991
+ "description": "What is being scored: 'message' or 'session'.",
992
+ "is_required": true
993
+ },
994
+ {
995
+ "name": "[Agent] Evaluation Source",
996
+ "type": "string",
997
+ "description": "Source of the evaluation: 'user' (end-user feedback), 'ai' (automated/server pipeline), or 'reviewer' (human expert).",
998
+ "is_required": true
999
+ },
1000
+ {
1001
+ "name": "[Agent] Comment",
1002
+ "type": "string",
1003
+ "description": "Optional text explanation for the score (respects content_mode)."
1004
+ },
1005
+ {
1006
+ "name": "[Agent] Taxonomy Version",
1007
+ "type": "string",
1008
+ "description": "Which taxonomy config version produced this enrichment (from ai_category_config.config_version_id)."
1009
+ },
1010
+ {
1011
+ "name": "[Agent] Evaluated At",
1012
+ "type": "number",
1013
+ "description": "Epoch milliseconds when this enrichment/evaluation was computed."
1014
+ },
1015
+ {
1016
+ "name": "[Agent] Score Label",
1017
+ "type": "string",
1018
+ "description": "Direction-neutral magnitude label derived from score value. Default 5-tier: very_high (>=0.8), high (>=0.6), moderate (>=0.4), low (>=0.2), very_low (>=0.0). Server-side only."
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "event_type": "[Agent] Session Evaluation",
1024
+ "description": "Fired once per enriched session by the server-side enrichment pipeline. Contains session-level facts: overall outcome, turn count, boolean flags (has_task_failure, has_negative_feedback, has_technical_failure, has_data_quality_issues), cost, and behavioral patterns. Enables cohorts like 'users with 3+ task failures in 30 days'.",
1025
+ "properties": [
1026
+ {
1027
+ "name": "[Agent] Session ID",
1028
+ "type": "string",
1029
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
1030
+ "is_required": true
1031
+ },
1032
+ {
1033
+ "name": "[Agent] Agent ID",
1034
+ "type": "string",
1035
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston').",
1036
+ "is_required": true
1037
+ },
1038
+ {
1039
+ "name": "[Agent] Customer Org ID",
1040
+ "type": "string",
1041
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics.",
1042
+ "is_required": true
1043
+ },
1044
+ {
1045
+ "name": "[Agent] Evaluation Source",
1046
+ "type": "string",
1047
+ "description": "Source of the evaluation: 'user' (end-user feedback), 'ai' (automated/server pipeline), or 'reviewer' (human expert).",
1048
+ "is_required": true
1049
+ },
1050
+ {
1051
+ "name": "[Agent] Taxonomy Version",
1052
+ "type": "string",
1053
+ "description": "Which taxonomy config version produced this enrichment (from ai_category_config.config_version_id).",
1054
+ "is_required": true
1055
+ },
1056
+ {
1057
+ "name": "[Agent] Evaluated At",
1058
+ "type": "number",
1059
+ "description": "Epoch milliseconds when this enrichment/evaluation was computed.",
1060
+ "is_required": true
1061
+ },
1062
+ {
1063
+ "name": "[Agent] Overall Outcome",
1064
+ "type": "string",
1065
+ "description": "Session outcome classification: 'success', 'partial_success', 'failure', 'abandoned', 'response_provided', etc.",
1066
+ "is_required": true
1067
+ },
1068
+ {
1069
+ "name": "[Agent] Turn Count",
1070
+ "type": "number",
1071
+ "description": "Number of conversation turns in this session.",
1072
+ "is_required": true
1073
+ },
1074
+ {
1075
+ "name": "[Agent] Session Total Tokens",
1076
+ "type": "number",
1077
+ "description": "Total LLM tokens consumed across all turns in this session."
1078
+ },
1079
+ {
1080
+ "name": "[Agent] Session Avg Latency Ms",
1081
+ "type": "number",
1082
+ "description": "Average AI response latency in milliseconds across the session."
1083
+ },
1084
+ {
1085
+ "name": "[Agent] Request Complexity",
1086
+ "type": "string",
1087
+ "description": "Complexity classification of the user's request: 'simple', 'moderate', 'complex', or 'ambiguous'."
1088
+ },
1089
+ {
1090
+ "name": "[Agent] Has Task Failure",
1091
+ "type": "boolean",
1092
+ "description": "Whether the agent failed to complete the user's request.",
1093
+ "is_required": true
1094
+ },
1095
+ {
1096
+ "name": "[Agent] Has Negative Feedback",
1097
+ "type": "boolean",
1098
+ "description": "Whether the user expressed dissatisfaction during the session.",
1099
+ "is_required": true
1100
+ },
1101
+ {
1102
+ "name": "[Agent] Has Technical Failure",
1103
+ "type": "boolean",
1104
+ "description": "Whether technical errors occurred (tool timeouts, API failures, etc.).",
1105
+ "is_required": true
1106
+ },
1107
+ {
1108
+ "name": "[Agent] Has Data Quality Issues",
1109
+ "type": "boolean",
1110
+ "description": "Whether the AI output had data quality problems (wrong data, hallucinations, etc.).",
1111
+ "is_required": true
1112
+ },
1113
+ {
1114
+ "name": "[Agent] Models Used",
1115
+ "type": "string",
1116
+ "description": "LLM models used in this session. JSON array of strings.",
1117
+ "is_array_type": true
1118
+ },
1119
+ {
1120
+ "name": "[Agent] Root Agent Name",
1121
+ "type": "string",
1122
+ "description": "Entry-point agent in multi-agent flows."
1123
+ },
1124
+ {
1125
+ "name": "[Agent] Agent Chain Depth",
1126
+ "type": "number",
1127
+ "description": "Number of agents in the delegation chain."
1128
+ },
1129
+ {
1130
+ "name": "[Agent] Task Failure Type",
1131
+ "type": "string",
1132
+ "description": "Specific failure type when has_task_failure is true (e.g., 'wrong_answer', 'unable_to_complete')."
1133
+ },
1134
+ {
1135
+ "name": "[Agent] Technical Error Count",
1136
+ "type": "number",
1137
+ "description": "Count of technical errors that occurred during the session."
1138
+ },
1139
+ {
1140
+ "name": "[Agent] Error Categories",
1141
+ "type": "string",
1142
+ "description": "Categorized error types (e.g., 'chart_not_found', 'timeout'). JSON array of strings.",
1143
+ "is_array_type": true
1144
+ },
1145
+ {
1146
+ "name": "[Agent] Behavioral Patterns",
1147
+ "type": "string",
1148
+ "description": "Detected behavioral anti-patterns (e.g., 'retry_storm', 'clarification_loop', 'early_abandonment'). JSON array of strings.",
1149
+ "is_array_type": true
1150
+ },
1151
+ {
1152
+ "name": "[Agent] Session Cost USD",
1153
+ "type": "number",
1154
+ "description": "Total LLM cost in USD for this AI session (aggregated from per-message costs)."
1155
+ },
1156
+ {
1157
+ "name": "[Agent] Enrichment Cost USD",
1158
+ "type": "number",
1159
+ "description": "Cost in USD of running the enrichment pipeline's LLM inference for this session. Distinct from the session's own LLM cost."
1160
+ },
1161
+ {
1162
+ "name": "[Agent] Quality Score",
1163
+ "type": "number",
1164
+ "description": "Overall quality score (0.0-1.0) computed by the enrichment pipeline for this session."
1165
+ },
1166
+ {
1167
+ "name": "[Agent] Sentiment Score",
1168
+ "type": "number",
1169
+ "description": "User sentiment score (0.0-1.0) inferred from the conversation by the enrichment pipeline."
1170
+ },
1171
+ {
1172
+ "name": "[Agent] Task Failure Reason",
1173
+ "type": "string",
1174
+ "description": "Explanation of why the task failed when has_task_failure is true (e.g., 'chart data source unavailable')."
1175
+ },
1176
+ {
1177
+ "name": "[Agent] Agent Chain",
1178
+ "type": "string",
1179
+ "description": "Serialized JSON array of agent IDs representing the delegation chain in multi-agent flows.",
1180
+ "is_array_type": true
1181
+ },
1182
+ {
1183
+ "name": "[Agent] Project ID",
1184
+ "type": "string",
1185
+ "description": "Amplitude project ID that owns the AI session being evaluated."
1186
+ },
1187
+ {
1188
+ "name": "[Agent] Has User Feedback",
1189
+ "type": "boolean",
1190
+ "description": "Whether the session received explicit user feedback (thumbs up/down, rating).",
1191
+ "is_required": true
1192
+ },
1193
+ {
1194
+ "name": "[Agent] User Score",
1195
+ "type": "number",
1196
+ "description": "Aggregate user feedback score for the session (0.0-1.0). Present only when has_user_feedback is true."
1197
+ },
1198
+ {
1199
+ "name": "[Agent] Agent Version",
1200
+ "type": "string",
1201
+ "description": "Agent code version (e.g., 'v4.2'). Enables version-over-version quality comparison."
1202
+ }
1203
+ ]
1204
+ },
1205
+ {
1206
+ "event_type": "[Agent] Topic Classification",
1207
+ "description": "Fired once per topic model per session by the server-side enrichment pipeline. A session with 3 topic models (e.g., query_intent, product_area, error_domain) produces 3 of these events. Property names are always the same; the topic model name goes in the value. Enables funnels like 'AI session about charts -> Chart Created'.",
1208
+ "properties": [
1209
+ {
1210
+ "name": "[Agent] Session ID",
1211
+ "type": "string",
1212
+ "description": "Unique session identifier. All events in one conversation share the same session ID.",
1213
+ "is_required": true
1214
+ },
1215
+ {
1216
+ "name": "[Agent] Agent ID",
1217
+ "type": "string",
1218
+ "description": "Identifies which AI agent handled the interaction (e.g., 'support-bot', 'houston').",
1219
+ "is_required": true
1220
+ },
1221
+ {
1222
+ "name": "[Agent] Customer Org ID",
1223
+ "type": "string",
1224
+ "description": "Organization ID for multi-tenant platforms. Enables account-level group analytics.",
1225
+ "is_required": true
1226
+ },
1227
+ {
1228
+ "name": "[Agent] Evaluation Source",
1229
+ "type": "string",
1230
+ "description": "Source of the evaluation: 'user' (end-user feedback), 'ai' (automated/server pipeline), or 'reviewer' (human expert).",
1231
+ "is_required": true
1232
+ },
1233
+ {
1234
+ "name": "[Agent] Taxonomy Version",
1235
+ "type": "string",
1236
+ "description": "Which taxonomy config version produced this enrichment (from ai_category_config.config_version_id).",
1237
+ "is_required": true
1238
+ },
1239
+ {
1240
+ "name": "[Agent] Evaluated At",
1241
+ "type": "number",
1242
+ "description": "Epoch milliseconds when this enrichment/evaluation was computed.",
1243
+ "is_required": true
1244
+ },
1245
+ {
1246
+ "name": "[Agent] Topic",
1247
+ "type": "string",
1248
+ "description": "Which topic model this classification is for (e.g., 'product_area', 'query_intent', 'error_domain').",
1249
+ "is_required": true
1250
+ },
1251
+ {
1252
+ "name": "[Agent] Selection Mode",
1253
+ "type": "string",
1254
+ "description": "Whether this topic model uses 'single' (MECE) or 'multiple' (multi-label) selection.",
1255
+ "is_required": true
1256
+ },
1257
+ {
1258
+ "name": "[Agent] Primary",
1259
+ "type": "string",
1260
+ "description": "Primary classification value (e.g., 'charts', 'billing_issues')."
1261
+ },
1262
+ {
1263
+ "name": "[Agent] Secondary",
1264
+ "type": "string",
1265
+ "description": "Secondary classifications for multi-label topics. JSON array of strings.",
1266
+ "is_array_type": true
1267
+ },
1268
+ {
1269
+ "name": "[Agent] Subcategories",
1270
+ "type": "string",
1271
+ "description": "Subcategories for finer classification within the primary topic (e.g., 'TREND_ANALYSIS', 'WRONG_EVENT'). JSON array of strings.",
1272
+ "is_array_type": true
1273
+ }
1274
+ ]
1275
+ }
1276
+ ]
1277
+ }