@langwatch/server 3.6.0 → 3.7.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 (1120) hide show
  1. package/feature-map.json +1279 -0
  2. package/langwatch/dist/client/assets/AddAnnotationQueueDrawer-C2BpUHmD.js +2 -0
  3. package/langwatch/dist/client/assets/AddDatasetRecordDrawer-MGG9OkL5.js +6 -0
  4. package/langwatch/dist/client/assets/AddOrEditAnnotationScore-DT7Wwgex.js +2 -0
  5. package/langwatch/dist/client/assets/AddOrEditAnnotationScoreDrawer-B_bvSihT.js +2 -0
  6. package/langwatch/dist/client/assets/AddOrEditDatasetDrawer-DTTe34qt.js +3 -0
  7. package/langwatch/dist/client/assets/AddParticipants-Cu80BF8F.js +2 -0
  8. package/langwatch/dist/client/assets/AgentHistoryDrawer-Dv3a7Uw1.js +2 -0
  9. package/langwatch/dist/client/assets/AgentHttpEditorDrawer-BsTydMou.js +5 -0
  10. package/langwatch/dist/client/assets/AgentListDrawer-CkuGaFHx.js +2 -0
  11. package/langwatch/dist/client/assets/AgentTypeSelectorDrawer-K0PUyG8U.js +2 -0
  12. package/langwatch/dist/client/assets/AgentWorkflowEditorDrawer-CMHvyQPV.js +2 -0
  13. package/langwatch/dist/client/assets/AgentWorkflowTargetEditorDrawer-B18KFX98.js +2 -0
  14. package/langwatch/dist/client/assets/AiGatewayLayout-DL7at8rW.js +2 -0
  15. package/langwatch/dist/client/assets/AnnotationsTable-CrX2ZAvY.js +2 -0
  16. package/langwatch/dist/client/assets/AreaChart-BYqCBYVe.js +2 -0
  17. package/langwatch/dist/client/assets/AutomationDrawer-gr9nl_bx.js +112 -0
  18. package/langwatch/dist/client/assets/BatchEvaluationSummary-DJGlsFFE.js +2 -0
  19. package/langwatch/dist/client/assets/BudgetEditDrawer-DA_Za9Jh.js +2 -0
  20. package/langwatch/dist/client/assets/CartesianChart-BvVgDMpj.js +54 -0
  21. package/langwatch/dist/client/assets/CascadeArchiveDialog-CRcsYqD3.js +2 -0
  22. package/langwatch/dist/client/assets/ChartCard-C-6jgIhJ.js +2 -0
  23. package/langwatch/dist/client/assets/ChartTooltip-DDBarZKG.js +4 -0
  24. package/langwatch/dist/client/assets/ChatWindow-DgNy40Dm.js +5 -0
  25. package/langwatch/dist/client/assets/CodeEvaluatorEditorDrawer-N8k4omh5.js +9 -0
  26. package/langwatch/dist/client/assets/CodexCodingDefaultsAsk-B-0KIS0U.js +2 -0
  27. package/langwatch/dist/client/assets/ColorfulBlockIcons-DntRdsrM.js +6 -0
  28. package/langwatch/dist/client/assets/ColumnTypeIcon-DHpZtj81.js +2 -0
  29. package/langwatch/dist/client/assets/ConfirmDialog-Bv_GbZtR.js +2 -0
  30. package/langwatch/dist/client/assets/ContactSalesBlock-BKfDeTTe.js +2 -0
  31. package/langwatch/dist/client/assets/Conversation-BLw2XAh1.js +2 -0
  32. package/langwatch/dist/client/assets/CopyInput-D4OHtSik.js +2 -0
  33. package/langwatch/dist/client/assets/CopyableInputWithPrefix-CqmK9rdo.js +2 -0
  34. package/langwatch/dist/client/assets/CreateProjectDrawer-z3akmVmk.js +2 -0
  35. package/langwatch/dist/client/assets/CreateTeamDrawer-Cq0VeHPU.js +2 -0
  36. package/langwatch/dist/client/assets/CustomGraph-D1JcOEDG.js +2 -0
  37. package/langwatch/dist/client/assets/DashboardLayout-cHFbN-Gk.js +6 -0
  38. package/langwatch/dist/client/assets/DashboardNameDrawer-Gox6uoUt.js +2 -0
  39. package/langwatch/dist/client/assets/DataPrivacyRuleDrawer-jE8I0jR2.js +2 -0
  40. package/langwatch/dist/client/assets/DatasetEditorTable-DKIy0xQj.js +2 -0
  41. package/langwatch/dist/client/assets/DatasetPickerList-DxrvRALJ.js +2 -0
  42. package/langwatch/dist/client/assets/DatasetPreviewTable-BtNFthdy.js +2 -0
  43. package/langwatch/dist/client/assets/DatasetSelector-DnwaHRnP.js +2 -0
  44. package/langwatch/dist/client/assets/DefaultModelOverrideDrawer-CdUN3LnJ.js +2 -0
  45. package/langwatch/dist/client/assets/DeleteConfirmationDialog-DuCAmpDY.js +2 -0
  46. package/langwatch/dist/client/assets/DocsLinks-CIoxiusp.js +2 -0
  47. package/langwatch/dist/client/assets/DynamicZodForm-g1UNpH1b.js +2 -0
  48. package/langwatch/dist/client/assets/EditAutomationFilterDrawer-BTKzOnMx.js +3 -0
  49. package/langwatch/dist/client/assets/EditModelProviderDrawer-CRJeagvH.js +4 -0
  50. package/langwatch/dist/client/assets/EditProjectDrawer-B6CJf6nC.js +2 -0
  51. package/langwatch/dist/client/assets/EmojiPickerModal-DT_Uj7SU.js +3 -0
  52. package/langwatch/dist/client/assets/EnterpriseLockedSurface-BjKgoqAx.js +2 -0
  53. package/langwatch/dist/client/assets/EvaluatorApiUsageDialog-BnIwWX8t.js +107 -0
  54. package/langwatch/dist/client/assets/EvaluatorCategorySelectorDrawer-BMpitetN.js +2 -0
  55. package/langwatch/dist/client/assets/EvaluatorEditorDrawer-8SJeJRen.js +2 -0
  56. package/langwatch/dist/client/assets/EvaluatorEditorShared-BJefmSxm.js +43 -0
  57. package/langwatch/dist/client/assets/EvaluatorHistoryDrawer-D9r7pDt9.js +2 -0
  58. package/langwatch/dist/client/assets/EvaluatorListDrawer-J_BFDGv3.js +2 -0
  59. package/langwatch/dist/client/assets/EvaluatorMappingsSection-DZFvYqNu.js +2 -0
  60. package/langwatch/dist/client/assets/EvaluatorSelection-DLWkQLtb.js +2 -0
  61. package/langwatch/dist/client/assets/EvaluatorSelectionBox-CPndz_g-.js +2 -0
  62. package/langwatch/dist/client/assets/EvaluatorTypeSelectorContent-B1g5DjJ7.js +2 -0
  63. package/langwatch/dist/client/assets/EvaluatorTypeSelectorDrawer-KKfZF0P-.js +2 -0
  64. package/langwatch/dist/client/assets/ExecutionState-Dh8lIhIP.js +2 -0
  65. package/langwatch/dist/client/assets/ExternalImage-As_YKOAz.js +34 -0
  66. package/langwatch/dist/client/assets/FeatureFlagsDrawer-ClPIMzIj.js +2 -0
  67. package/langwatch/dist/client/assets/FieldInfoTooltip-s2rM7SM0.js +2 -0
  68. package/langwatch/dist/client/assets/FieldsFilters-DePzLbr2.js +2 -0
  69. package/langwatch/dist/client/assets/FilterDisplay-ClLW19sO.js +2 -0
  70. package/langwatch/dist/client/assets/FilterSidebar-_ppaUjTr.js +2 -0
  71. package/langwatch/dist/client/assets/FormatMoney-CGjDIju_.js +2 -0
  72. package/langwatch/dist/client/assets/FoundryDrawer-DGKNXqmH.js +2 -0
  73. package/langwatch/dist/client/assets/FullLogo-itaa7fj-.js +2 -0
  74. package/langwatch/dist/client/assets/GovernanceLayout-DO9JArUM.js +2 -0
  75. package/langwatch/dist/client/assets/GraphsLayout-CjPYn5X3.js +2 -0
  76. package/langwatch/dist/client/assets/GroupBindingInputRow-zL2daQIU.js +2 -0
  77. package/langwatch/dist/client/assets/GuardrailsDrawer-Cf49144Z.js +91 -0
  78. package/langwatch/dist/client/assets/History-Cyg2gtXB.js +17 -0
  79. package/langwatch/dist/client/assets/HorizontalFormControl-COLSSPyK.js +2 -0
  80. package/langwatch/dist/client/assets/HoverableBigText-BLoq2yxD.js +2 -0
  81. package/langwatch/dist/client/assets/InstallCliCard-DvH3ygIs.js +2 -0
  82. package/langwatch/dist/client/assets/IntegratePaneShell-DmBxXblY.js +8 -0
  83. package/langwatch/dist/client/assets/InviteMemberDrawer-BPyf9yg9.js +2 -0
  84. package/langwatch/dist/client/assets/LLMModelCostDrawer-Ddduogw2.js +2 -0
  85. package/langwatch/dist/client/assets/LangyContextTarget-C6xwYVGg.js +2 -0
  86. package/langwatch/dist/client/assets/LegacyTracesDeprecationBanner-BYKcrVD_.js +2 -0
  87. package/langwatch/dist/client/assets/Legend-DoNXU8yt.js +6 -0
  88. package/langwatch/dist/client/assets/Line-DVmhil3S.js +2 -0
  89. package/langwatch/dist/client/assets/LineChart-JT5Tcp_D.js +2 -0
  90. package/langwatch/dist/client/assets/ListTable-sDgRCJ9e.js +2 -0
  91. package/langwatch/dist/client/assets/LoadingScreen-XWYCoKBN.js +2 -0
  92. package/langwatch/dist/client/assets/Markdown-CjWZDaeK.js +3 -0
  93. package/langwatch/dist/client/assets/MenuLink-CCPiKN-n.js +2 -0
  94. package/langwatch/dist/client/assets/MessageCard-CbSQoH1U.js +2 -0
  95. package/langwatch/dist/client/assets/MetadataTag-B1XwJcdK.js +5 -0
  96. package/langwatch/dist/client/assets/ModelProviderCustomModelInput-DKgydORR.js +2 -0
  97. package/langwatch/dist/client/assets/ModelProviderScreen-CoHgPhxe.js +2 -0
  98. package/langwatch/dist/client/assets/ModelSelector-dbR6V8hR.js +2 -0
  99. package/langwatch/dist/client/assets/MyLayout-BCFIoFGU.js +2 -0
  100. package/langwatch/dist/client/assets/NavigationFooter-BV-y1Ccf.js +2 -0
  101. package/langwatch/dist/client/assets/NewWorkflowForm-DgYkTq45.js +2 -0
  102. package/langwatch/dist/client/assets/NoDataInfoBlock-CqSD7i-D.js +2 -0
  103. package/langwatch/dist/client/assets/OnboardingContainer-jXD3w576.js +2 -0
  104. package/langwatch/dist/client/assets/OnlineEvaluationDrawer-3RfgPXAt.js +2 -0
  105. package/langwatch/dist/client/assets/OpsPageShell-BOi49ML9.js +2 -0
  106. package/langwatch/dist/client/assets/OttlEditor-7MOJI6SZ.js +3 -0
  107. package/langwatch/dist/client/assets/OverflownText-DITOBs56.js +2 -0
  108. package/langwatch/dist/client/assets/ProjectAvatar-BOH7ULC-.js +2 -0
  109. package/langwatch/dist/client/assets/ProjectLangyLayout-D6uI0rgc.js +82 -0
  110. package/langwatch/dist/client/assets/PromptEditorDrawer-CawpMwv2.js +2 -0
  111. package/langwatch/dist/client/assets/PromptListDrawer-mJuEu6sl.js +2 -0
  112. package/langwatch/dist/client/assets/PropertySectionTitle-DM-QD_X7.js +37 -0
  113. package/langwatch/dist/client/assets/ProviderModelSelector-bu_UnJgn.js +2 -0
  114. package/langwatch/dist/client/assets/ProviderScopeChips-DAith1M3.js +2 -0
  115. package/langwatch/dist/client/assets/PushToCopiesDialog-ZhJKOmpB.js +2 -0
  116. package/langwatch/dist/client/assets/RandomColorAvatar-D4Pjdi5E.js +2 -0
  117. package/langwatch/dist/client/assets/ReferenceDot-BNL3mb_4.js +2 -0
  118. package/langwatch/dist/client/assets/RenderInputOutput-B6SIoJEE.js +261 -0
  119. package/langwatch/dist/client/assets/ScenarioFormDrawer-BreFWAEL.js +2 -0
  120. package/langwatch/dist/client/assets/ScenarioInputMappingSection-BO7xuz3Q.js +2 -0
  121. package/langwatch/dist/client/assets/ScenarioRunDetailDrawer-B7tqZUtg.js +3 -0
  122. package/langwatch/dist/client/assets/ScopeChipPicker-DW0UYA9z.js +2 -0
  123. package/langwatch/dist/client/assets/SearchInput-Q-TBf_3C.js +2 -0
  124. package/langwatch/dist/client/assets/SectionNavigationLayout-DELi2l8C.js +2 -0
  125. package/langwatch/dist/client/assets/SelectDatasetDrawer-z00GrHUJ.js +2 -0
  126. package/langwatch/dist/client/assets/SelectionActionBar-CmpsxKus.js +2 -0
  127. package/langwatch/dist/client/assets/SeriesFilterDrawer-DBl29Nft.js +2 -0
  128. package/langwatch/dist/client/assets/SettingsLayout-TFI-annu.js +2 -0
  129. package/langwatch/dist/client/assets/SetupWithAgentButton-ChiBWonD.js +4 -0
  130. package/langwatch/dist/client/assets/ShikiCommandBox-CvJJv-UK.js +5 -0
  131. package/langwatch/dist/client/assets/SpanDetails-Bf9G4Q7r.js +3 -0
  132. package/langwatch/dist/client/assets/SubscriptionPage-DojUae0-.js +2 -0
  133. package/langwatch/dist/client/assets/SuiteFormDrawer-BkSwohnS.js +2 -0
  134. package/langwatch/dist/client/assets/TabButton-IdHwwJvZ.js +3 -0
  135. package/langwatch/dist/client/assets/TableCell-BOc9hDdP.js +2 -0
  136. package/langwatch/dist/client/assets/TargetTypeSelectorDrawer-BkACL4B0.js +2 -0
  137. package/langwatch/dist/client/assets/TeamForm-CoGCbaXE.js +2 -0
  138. package/langwatch/dist/client/assets/TeamUserRoleField-DaCIsPr0.js +2 -0
  139. package/langwatch/dist/client/assets/TraceDetails-D_HPr1ii.js +9 -0
  140. package/langwatch/dist/client/assets/TraceDetailsDrawer-CFMdgFO6.js +2 -0
  141. package/langwatch/dist/client/assets/TraceIdPeek-DmsxeUlT.js +2 -0
  142. package/langwatch/dist/client/assets/TracesMapping-qL9_JqHU.js +2 -0
  143. package/langwatch/dist/client/assets/UpgradeModal-DaVSEBO2.js +92 -0
  144. package/langwatch/dist/client/assets/UpgradeModalContent-DUimbawj.js +2 -0
  145. package/langwatch/dist/client/assets/UploadCSVDrawer-2fH0dmmN.js +3 -0
  146. package/langwatch/dist/client/assets/VariablesSection-BOZytTct.js +2 -0
  147. package/langwatch/dist/client/assets/VersionBadge-BNwXa8K1.js +2 -0
  148. package/langwatch/dist/client/assets/ViaClaudeDesktopScreen-BvCK6x4i.js +1161 -0
  149. package/langwatch/dist/client/assets/ViewAutomationDrawer-CBoDRCfF.js +2 -0
  150. package/langwatch/dist/client/assets/VirtualKeySecretReveal-z9OhRCRq.js +54 -0
  151. package/langwatch/dist/client/assets/WelcomeLayout-veH9XP9n.js +2 -0
  152. package/langwatch/dist/client/assets/WithFeatureFlagGuard-D09SSCsN.js +2 -0
  153. package/langwatch/dist/client/assets/WithPermissionGuard-BBKTBlhW.js +2 -0
  154. package/langwatch/dist/client/assets/WorkflowCard-CUUg0Jb9.js +2 -0
  155. package/langwatch/dist/client/assets/WorkflowSelectorForEvaluatorDrawer-DQPMmz5y.js +2 -0
  156. package/langwatch/dist/client/assets/_...path_-Dl2wM_Co.js +2 -0
  157. package/langwatch/dist/client/assets/_Uint8Array-CVdXk-9j.js +2 -0
  158. package/langwatch/dist/client/assets/__...path__-dvuiwbR8.js +22 -0
  159. package/langwatch/dist/client/assets/_baseAssignValue-D1riHssy.js +2 -0
  160. package/langwatch/dist/client/assets/_baseClone-Btuu3kUN.js +2 -0
  161. package/langwatch/dist/client/assets/_baseEach-D42E_cYN.js +2 -0
  162. package/langwatch/dist/client/assets/_baseFor-DjY96g6R.js +2 -0
  163. package/langwatch/dist/client/assets/_experiment_-C41VDj2_.js +2 -0
  164. package/langwatch/dist/client/assets/_id_-6sd4MNOz.js +2 -0
  165. package/langwatch/dist/client/assets/_id_-7yHuXZsv.js +2 -0
  166. package/langwatch/dist/client/assets/_id_-BiJsS6cZ.js +2 -0
  167. package/langwatch/dist/client/assets/_id_-BxNfkyzv.js +2 -0
  168. package/langwatch/dist/client/assets/_id_-DjvwAa9I.js +2 -0
  169. package/langwatch/dist/client/assets/_id_-Dv1Ha5td.js +2 -0
  170. package/langwatch/dist/client/assets/_id_-qIAmzXj9.js +2 -0
  171. package/langwatch/dist/client/assets/_project_-WrF4swO9.js +8 -0
  172. package/langwatch/dist/client/assets/_runId_-uzKEhtNe.js +7 -0
  173. package/langwatch/dist/client/assets/_shell-CBKyngpn.js +2 -0
  174. package/langwatch/dist/client/assets/_slug_-B7rGjVou.js +17 -0
  175. package/langwatch/dist/client/assets/_slug_-BM065qSQ.js +2 -0
  176. package/langwatch/dist/client/assets/_slug_-DTN4hRRD.js +2 -0
  177. package/langwatch/dist/client/assets/_team_-DFCS7cLC.js +2 -0
  178. package/langwatch/dist/client/assets/_workflow_-Dm-v5D1q.js +25 -0
  179. package/langwatch/dist/client/assets/_workflow_-Od6Ld1fG.js +3 -0
  180. package/langwatch/dist/client/assets/accept-DfhUN0Qn.js +2 -0
  181. package/langwatch/dist/client/assets/activity-ikjk_AlK.js +1 -0
  182. package/langwatch/dist/client/assets/agents-BbtJ377u.js +2 -0
  183. package/langwatch/dist/client/assets/alerts-ikjk_AlK.js +1 -0
  184. package/langwatch/dist/client/assets/all-Ba9m0fkb.js +2 -0
  185. package/langwatch/dist/client/assets/analytics-BfdI38ZC.js +2 -0
  186. package/langwatch/dist/client/assets/annotation-scores-BY75kcBF.js +2 -0
  187. package/langwatch/dist/client/assets/annotations-DIwdkHHY.js +2 -0
  188. package/langwatch/dist/client/assets/anomaly-rules-BmEX38RD.js +2 -0
  189. package/langwatch/dist/client/assets/api-keys-BPifPObL.js +4 -0
  190. package/langwatch/dist/client/assets/asaplangy-BjnuNv4L.js +5 -0
  191. package/langwatch/dist/client/assets/audit-log-2z_Ec4XU.js +2 -0
  192. package/langwatch/dist/client/assets/auth-BJm09Odd.js +2 -0
  193. package/langwatch/dist/client/assets/authentication-D4a-VSlX.js +2 -0
  194. package/langwatch/dist/client/assets/authorize-BBjJ2zjw.js +2 -0
  195. package/langwatch/dist/client/assets/authorize-CHqAf3Jd.js +2 -0
  196. package/langwatch/dist/client/assets/automations-Bds5nLI_.js +2 -0
  197. package/langwatch/dist/client/assets/automations-ikjk_AlK.js +1 -0
  198. package/langwatch/dist/client/assets/billing-plans-K7xawVCS.js +2 -0
  199. package/langwatch/dist/client/assets/blank-DsMQ71pJ.js +2 -0
  200. package/langwatch/dist/client/assets/blobs-Dc7nKnmO.js +2 -0
  201. package/langwatch/dist/client/assets/blockDiagram-677ZJIJ3-57B2W0rq.js +133 -0
  202. package/langwatch/dist/client/assets/budgets-dKK-wYyg.js +3 -0
  203. package/langwatch/dist/client/assets/bug-reports-BxCDdVoL.js +2 -0
  204. package/langwatch/dist/client/assets/cache-rules-Ds14kJAt.js +2 -0
  205. package/langwatch/dist/client/assets/choose-X7Hyqyyu.js +2 -0
  206. package/langwatch/dist/client/assets/chunk-EX3LRPZG-DF3ACR9i.js +232 -0
  207. package/langwatch/dist/client/assets/chunk-FWX5IMBZ-CIlmcu0O.js +3 -0
  208. package/langwatch/dist/client/assets/chunk-PUDLZKDR-Dj_zAVVr.js +157 -0
  209. package/langwatch/dist/client/assets/chunk-RYQCIY6F-CjWAFgxP.js +2 -0
  210. package/langwatch/dist/client/assets/chunk-V7JOEXUC-BgVcuIhi.js +207 -0
  211. package/langwatch/dist/client/assets/classDiagram-OUVF2IWQ-Cw7PXCaC.js +2 -0
  212. package/langwatch/dist/client/assets/classDiagram-v2-EOCWNBFH-Cw7PXCaC.js +2 -0
  213. package/langwatch/dist/client/assets/codeAgentConfig-B0NzDmlQ.js +7 -0
  214. package/langwatch/dist/client/assets/codingDefaultSync-ebaLPfnN.js +2 -0
  215. package/langwatch/dist/client/assets/configure-CrbOTC5S.js +4 -0
  216. package/langwatch/dist/client/assets/custom-D8Emd7w-.js +12 -0
  217. package/langwatch/dist/client/assets/custom_evaluator-BtYta_Dj.js +31 -0
  218. package/langwatch/dist/client/assets/dagre-ClO7SEns.js +2 -0
  219. package/langwatch/dist/client/assets/dagre-VKFMJZFB-evqDS8UW.js +5 -0
  220. package/langwatch/dist/client/assets/data-privacy-GCArtTFq.js +2 -0
  221. package/langwatch/dist/client/assets/data-retention-BtLi9M98.js +2 -0
  222. package/langwatch/dist/client/assets/datasets-DeNG9KNJ.js +2 -0
  223. package/langwatch/dist/client/assets/debounce-r-8TPIqh.js +2 -0
  224. package/langwatch/dist/client/assets/defaultModelState-ByR0bEhZ.js +2 -0
  225. package/langwatch/dist/client/assets/dejaview-BF8VqQGI.js +2 -0
  226. package/langwatch/dist/client/assets/departments-D2L92_Qa.js +2 -0
  227. package/langwatch/dist/client/assets/devices-C8e0So_K.js +2 -0
  228. package/langwatch/dist/client/assets/dist-B1XMO10X.js +6 -0
  229. package/langwatch/dist/client/assets/drawerFromUrl-BZIwwDLm.js +2 -0
  230. package/langwatch/dist/client/assets/edit-pIB-bQM_.js +62 -0
  231. package/langwatch/dist/client/assets/email-suppressions-Bq0lhfwG.js +2 -0
  232. package/langwatch/dist/client/assets/erDiagram-Q63AITRT-BqEHcyA0.js +86 -0
  233. package/langwatch/dist/client/assets/error-2TTx9xpE.js +2 -0
  234. package/langwatch/dist/client/assets/evaluations-0Nc6rWP8.js +2 -0
  235. package/langwatch/dist/client/assets/evaluations-DHmE-YCm.js +2 -0
  236. package/langwatch/dist/client/assets/evaluators-DKbY-ajr.js +146 -0
  237. package/langwatch/dist/client/assets/evaluators-v4CDfsOE.js +2 -0
  238. package/langwatch/dist/client/assets/experiments-BRN0rGL9.js +1 -0
  239. package/langwatch/dist/client/assets/external-link-CtHzR85H.js +2 -0
  240. package/langwatch/dist/client/assets/feature-flags-BDyiuat4.js +2 -0
  241. package/langwatch/dist/client/assets/fetchSSE-GcVBzE9n.js +3 -0
  242. package/langwatch/dist/client/assets/fieldset-CIGh0Uxg.js +2 -0
  243. package/langwatch/dist/client/assets/flowDiagram-23GEKE2U-BOl-6oqO.js +1 -0
  244. package/langwatch/dist/client/assets/forgot-password-DjvudMXW.js +2 -0
  245. package/langwatch/dist/client/assets/formatMoney-ByqR-Rrd.js +2 -0
  246. package/langwatch/dist/client/assets/foundry-Co_CpgKb.js +477 -0
  247. package/langwatch/dist/client/assets/gateway-B0y3Tz7G.js +2 -0
  248. package/langwatch/dist/client/assets/getEvaluator-pJF3ehUx.js +2 -0
  249. package/langwatch/dist/client/assets/getRadiusAndStrokeWidthFromDot-Bbj-WQTj.js +2 -0
  250. package/langwatch/dist/client/assets/governance-BtuwwuRw.js +2 -0
  251. package/langwatch/dist/client/assets/graphlib-CwcejmA1.js +2 -0
  252. package/langwatch/dist/client/assets/groups-DTVa4dcS.js +2 -0
  253. package/langwatch/dist/client/assets/guardrails-BnCJsF0m.js +2 -0
  254. package/langwatch/dist/client/assets/http-BIG04f8c.js +7 -0
  255. package/langwatch/dist/client/assets/identifierUtils-B1LGnOD5.js +2 -0
  256. package/langwatch/dist/client/assets/immer-BdlOHsfO.js +14 -0
  257. package/langwatch/dist/client/assets/index-DtiounXP.js +68 -0
  258. package/langwatch/dist/client/assets/ingestion-source-detail-hmCupOG1.js +19 -0
  259. package/langwatch/dist/client/assets/ingestion-sources-sv7eDiMD.js +12 -0
  260. package/langwatch/dist/client/assets/integrations-CM7dYrOG.js +2 -0
  261. package/langwatch/dist/client/assets/isArrayLikeObject-6lUBvOUd.js +2 -0
  262. package/langwatch/dist/client/assets/isSymbol-n0ARt1yC.js +2 -0
  263. package/langwatch/dist/client/assets/langyHomeSuggestions-Oyh_vavj.js +2 -0
  264. package/langwatch/dist/client/assets/latestAliases-D_86OOcA.js +2 -0
  265. package/langwatch/dist/client/assets/license-CYtxniam.js +2 -0
  266. package/langwatch/dist/client/assets/loadModelCatalog-31-xT4W4.js +2 -0
  267. package/langwatch/dist/client/assets/map-BCpZm9Sc.js +2 -0
  268. package/langwatch/dist/client/assets/mappingValidation-DPNnGAuO.js +2 -0
  269. package/langwatch/dist/client/assets/me-1nxAV6zO.js +2 -0
  270. package/langwatch/dist/client/assets/me-wWuZrajs.js +7 -0
  271. package/langwatch/dist/client/assets/members-Bau-5CPK.js +2 -0
  272. package/langwatch/dist/client/assets/mermaid.core-oQEgcWXd.js +12 -0
  273. package/langwatch/dist/client/assets/messages-kTp5NaSm.js +2 -0
  274. package/langwatch/dist/client/assets/metrics-Cpovzjg4.js +2 -0
  275. package/langwatch/dist/client/assets/mindmap-definition-LN4V7U3C-OcYZSGuC.js +97 -0
  276. package/langwatch/dist/client/assets/model-costs-DiRpmy-H.js +2 -0
  277. package/langwatch/dist/client/assets/model-providers-DRq5Q7er.js +2 -0
  278. package/langwatch/dist/client/assets/modelProviderHelpers-STUAbD02.js +2 -0
  279. package/langwatch/dist/client/assets/my-queue-veenWZWf.js +2 -0
  280. package/langwatch/dist/client/assets/normalizeComparison-CDNTbMdZ.js +2 -0
  281. package/langwatch/dist/client/assets/not-found-Nu1odKyD.js +2 -0
  282. package/langwatch/dist/client/assets/now-BQGidI_5.js +2 -0
  283. package/langwatch/dist/client/assets/onboarding-BWJ038z8.js +2 -0
  284. package/langwatch/dist/client/assets/online-evaluations-k-WwH1ML.js +2 -0
  285. package/langwatch/dist/client/assets/ops-D9am3MEi.js +2 -0
  286. package/langwatch/dist/client/assets/organizations-CMTT_97U.js +2 -0
  287. package/langwatch/dist/client/assets/pages-D5p_o0LC.js +2 -0
  288. package/langwatch/dist/client/assets/persistence-jLMreGhL.js +2 -0
  289. package/langwatch/dist/client/assets/plans-v8LBcXa9.js +2 -0
  290. package/langwatch/dist/client/assets/product-CAja-R4_.js +2 -0
  291. package/langwatch/dist/client/assets/project-DbS0dYGR.js +2 -0
  292. package/langwatch/dist/client/assets/projections-B4mXJEvc.js +2 -0
  293. package/langwatch/dist/client/assets/projects-DnYaZW6w.js +2 -0
  294. package/langwatch/dist/client/assets/promptHandle-CQ_zUeRB.js +2 -0
  295. package/langwatch/dist/client/assets/prompts-BAxWZhm5.js +8 -0
  296. package/langwatch/dist/client/assets/radio-group-y_PtCP6q.js +2 -0
  297. package/langwatch/dist/client/assets/registry-KCPOxhx0.js +2 -0
  298. package/langwatch/dist/client/assets/reports-B_Y4pHYs.js +2 -0
  299. package/langwatch/dist/client/assets/request-bU99z82H.js +2 -0
  300. package/langwatch/dist/client/assets/requirementDiagram-TGXJPOKE-BYId9zaF.js +85 -0
  301. package/langwatch/dist/client/assets/reset-password-zMr6-23y.js +2 -0
  302. package/langwatch/dist/client/assets/role-bindings-BvPzAUj1.js +2 -0
  303. package/langwatch/dist/client/assets/roles-CjwqOKoo.js +2 -0
  304. package/langwatch/dist/client/assets/routing-policies-C7yjQJuY.js +5 -0
  305. package/langwatch/dist/client/assets/scenarios-CdrzuCtM.js +2 -0
  306. package/langwatch/dist/client/assets/scheduler-CfXVwiOa.js +2 -0
  307. package/langwatch/dist/client/assets/schedules-ikjk_AlK.js +1 -0
  308. package/langwatch/dist/client/assets/scim-CGJ8MwNu.js +2 -0
  309. package/langwatch/dist/client/assets/secrets-DZef0jTb.js +2 -0
  310. package/langwatch/dist/client/assets/segment-group-EW0AyNd-.js +2 -0
  311. package/langwatch/dist/client/assets/segmented-control-SS4Yq_Ti.js +2 -0
  312. package/langwatch/dist/client/assets/select-C5JAM7Gf.js +2 -0
  313. package/langwatch/dist/client/assets/send-TZcuPW9Z.js +2 -0
  314. package/langwatch/dist/client/assets/sequenceView-vubFe0e7.js +5 -0
  315. package/langwatch/dist/client/assets/seriesOptions-0YtTiTzZ.js +1011 -0
  316. package/langwatch/dist/client/assets/settings-CfAtn_PH.js +2 -0
  317. package/langwatch/dist/client/assets/setup-In6OXn3a.js +2 -0
  318. package/langwatch/dist/client/assets/shikiAdapter-lZp3oxvk.js +3 -0
  319. package/langwatch/dist/client/assets/signin-CMU_rlgk.js +2 -0
  320. package/langwatch/dist/client/assets/signup-CYKtIfrB.js +2 -0
  321. package/langwatch/dist/client/assets/stateDiagram-2N3HPSRC-CKO-9021.js +2 -0
  322. package/langwatch/dist/client/assets/stateDiagram-v2-6OUMAXLB-BnXuBsJr.js +2 -0
  323. package/langwatch/dist/client/assets/subscription-CBiotOK9.js +3 -0
  324. package/langwatch/dist/client/assets/subscriptions-D55paZaw.js +2 -0
  325. package/langwatch/dist/client/assets/suggestionUI-KPD1is36.js +106 -0
  326. package/langwatch/dist/client/assets/swimlanes-5IMT3BWC-B0ptAIsf.js +3 -0
  327. package/langwatch/dist/client/assets/swimlanesDiagram-G3AALYLV-DzqdWH4x.js +9 -0
  328. package/langwatch/dist/client/assets/switch-BOt3Np6s.js +2 -0
  329. package/langwatch/dist/client/assets/switch-BnyTlP1L.js +2 -0
  330. package/langwatch/dist/client/assets/tabs-D8PJtlU3.js +2 -0
  331. package/langwatch/dist/client/assets/teams-CE3UCC84.js +2 -0
  332. package/langwatch/dist/client/assets/teams-CxmVu0zp.js +2 -0
  333. package/langwatch/dist/client/assets/tool-catalog-DTTKCxyF.js +7 -0
  334. package/langwatch/dist/client/assets/toolIcons-n2K5OHKw.js +2 -0
  335. package/langwatch/dist/client/assets/tooltip-CYWvZEOf.js +2 -0
  336. package/langwatch/dist/client/assets/topic-clustering-C37AbBFy.js +2 -0
  337. package/langwatch/dist/client/assets/topics-rviNSdYR.js +2 -0
  338. package/langwatch/dist/client/assets/traceExecutor-DQlsNg6N.js +55 -0
  339. package/langwatch/dist/client/assets/traces-DnlS2lMP.js +289 -0
  340. package/langwatch/dist/client/assets/tracesMapping-DJvqZsfB.js +3 -0
  341. package/langwatch/dist/client/assets/tracking-6s9dX1_R.js +2 -0
  342. package/langwatch/dist/client/assets/types-BeNupKna.js +2 -0
  343. package/langwatch/dist/client/assets/types-ChBnYRcc.js +2 -0
  344. package/langwatch/dist/client/assets/types-DXVP3BA7.js +2 -0
  345. package/langwatch/dist/client/assets/types-atzk7phf.js +2 -0
  346. package/langwatch/dist/client/assets/unsubscribe-uUCCImkQ.js +2 -0
  347. package/langwatch/dist/client/assets/usage-DBjFOkD3.js +2 -0
  348. package/langwatch/dist/client/assets/usage-De8DbhVE.js +2 -0
  349. package/langwatch/dist/client/assets/use-breakpoint-BdbDgj6J.js +2 -0
  350. package/langwatch/dist/client/assets/use-generic-onboarding-flow-CQjNkSYf.js +2 -0
  351. package/langwatch/dist/client/assets/useActivePlan-DZotDN7k.js +2 -0
  352. package/langwatch/dist/client/assets/useAllPromptsForProject-yZtsv1kJ.js +2 -0
  353. package/langwatch/dist/client/assets/useAnnotationQueues-BJ8Vb6SZ.js +2 -0
  354. package/langwatch/dist/client/assets/useAvailableEvaluators-C6cl3TSs.js +2 -0
  355. package/langwatch/dist/client/assets/useCyclingVerb-CMPh6fkl.js +2 -0
  356. package/langwatch/dist/client/assets/useDepartmentColumn-C4l1_4BR.js +2 -0
  357. package/langwatch/dist/client/assets/useEvaluationsV3Store-CMnxA8pt.js +2 -0
  358. package/langwatch/dist/client/assets/useExportTraces-DzTqFSlc.js +2 -0
  359. package/langwatch/dist/client/assets/useFeatureFlag-CKFU9lsX.js +2 -0
  360. package/langwatch/dist/client/assets/useInviteActions-CNRL7usw.js +2 -0
  361. package/langwatch/dist/client/assets/useLicenseEnforcement-BIiCopDI.js +2 -0
  362. package/langwatch/dist/client/assets/useLiteMemberGuard-ChV0lUs4.js +43 -0
  363. package/langwatch/dist/client/assets/usePersonalContext-D-HsFKQo.js +2 -0
  364. package/langwatch/dist/client/assets/useProjectSpanNames-BKMm-yLN.js +2 -0
  365. package/langwatch/dist/client/assets/useProjectsForCopy-BPGjhWUl.js +2 -0
  366. package/langwatch/dist/client/assets/useRunViaApiTabs-BGv2kygX.js +50 -0
  367. package/langwatch/dist/client/assets/useSavedViews-DH6Poufh.js +2 -0
  368. package/langwatch/dist/client/assets/useShowLangy-DvcJ7z1U.js +2 -0
  369. package/langwatch/dist/client/assets/useSimulationUpdateListener-CcqEq03v.js +2 -0
  370. package/langwatch/dist/client/assets/useTargetName-CByKsdU-.js +2 -0
  371. package/langwatch/dist/client/assets/useTargetNameMap-C8kjUxhY.js +2 -0
  372. package/langwatch/dist/client/assets/useTraceDetailsDrawer-BgcNOady.js +2 -0
  373. package/langwatch/dist/client/assets/useTraceUpdateListener-D5UNLNbd.js +2 -0
  374. package/langwatch/dist/client/assets/useUrlScopeFilter-D0HZ-mkj.js +2 -0
  375. package/langwatch/dist/client/assets/useWorkflowStore-CVvg8K0Q.js +8 -0
  376. package/langwatch/dist/client/assets/users-802bPAIG.js +2 -0
  377. package/langwatch/dist/client/assets/users-CWkRn-Tl.js +2 -0
  378. package/langwatch/dist/client/assets/users-DhJ0ZUHi.js +2 -0
  379. package/langwatch/dist/client/assets/v3-D65ySaeM.js +2 -0
  380. package/langwatch/dist/client/assets/variables-BpyyIkKh.js +396 -0
  381. package/langwatch/dist/client/assets/viewStore-Bq2Jqc8R.js +2 -0
  382. package/langwatch/dist/client/assets/virtual-keys-Cbeg9TQU.js +2 -0
  383. package/langwatch/dist/client/assets/welcome-Bh4D-qW7.js +16 -0
  384. package/langwatch/dist/client/assets/wizard-spBSxei8.js +2 -0
  385. package/langwatch/dist/client/assets/workbench-Bid7wYk7.js +2 -0
  386. package/langwatch/dist/client/assets/workflows-1TodsGOO.js +3 -0
  387. package/langwatch/dist/client/assets/wrap-noqflF_F.js +2 -0
  388. package/langwatch/dist/client/index.html +1 -1
  389. package/langwatch/package.json +1 -1
  390. package/langwatch/packages/api/README.md +283 -0
  391. package/langwatch/packages/api/node_modules/.bin/tsc +21 -0
  392. package/langwatch/packages/api/node_modules/.bin/tsserver +21 -0
  393. package/langwatch/packages/api/node_modules/.bin/vitest +21 -0
  394. package/langwatch/packages/api/package.json +39 -0
  395. package/langwatch/packages/api/src/__tests__/builder.unit.test.ts +1135 -0
  396. package/langwatch/packages/api/src/__tests__/errorLogging.integration.test.ts +130 -0
  397. package/langwatch/packages/api/src/__tests__/errors.unit.test.ts +331 -0
  398. package/langwatch/packages/api/src/__tests__/sse.unit.test.ts +247 -0
  399. package/langwatch/packages/api/src/__tests__/versioning.unit.test.ts +379 -0
  400. package/langwatch/packages/api/src/builder.ts +163 -0
  401. package/langwatch/packages/api/src/errors.ts +255 -0
  402. package/langwatch/packages/api/src/index.ts +41 -0
  403. package/langwatch/packages/api/src/middleware.ts +227 -0
  404. package/langwatch/packages/api/src/pipeline.ts +254 -0
  405. package/langwatch/packages/api/src/response.ts +38 -0
  406. package/langwatch/packages/api/src/route-mounting.ts +140 -0
  407. package/langwatch/packages/api/src/sse.ts +179 -0
  408. package/langwatch/packages/api/src/types.ts +217 -0
  409. package/langwatch/packages/api/src/version-builder.ts +131 -0
  410. package/langwatch/packages/api/src/versioning.ts +221 -0
  411. package/langwatch/packages/api/tsconfig.json +16 -0
  412. package/langwatch/packages/api/vitest.config.ts +8 -0
  413. package/langwatch/packages/automations/README.md +17 -0
  414. package/langwatch/packages/automations/node_modules/.bin/liquid +21 -0
  415. package/langwatch/packages/automations/node_modules/.bin/liquidjs +21 -0
  416. package/langwatch/packages/automations/node_modules/.bin/marked +21 -0
  417. package/langwatch/packages/automations/node_modules/.bin/tsc +21 -0
  418. package/langwatch/packages/automations/node_modules/.bin/tsserver +21 -0
  419. package/langwatch/packages/automations/node_modules/.bin/vitest +21 -0
  420. package/langwatch/packages/automations/package.json +43 -0
  421. package/langwatch/packages/automations/src/cadences.ts +50 -0
  422. package/langwatch/packages/automations/src/enums.ts +24 -0
  423. package/langwatch/packages/automations/src/index.ts +26 -0
  424. package/langwatch/packages/automations/src/providers/__tests__/webhook.unit.test.ts +147 -0
  425. package/langwatch/packages/automations/src/providers/annotationQueue.ts +26 -0
  426. package/langwatch/packages/automations/src/providers/dataset.ts +43 -0
  427. package/langwatch/packages/automations/src/providers/email.ts +36 -0
  428. package/langwatch/packages/automations/src/providers/slack.ts +96 -0
  429. package/langwatch/packages/automations/src/providers/types.ts +84 -0
  430. package/langwatch/packages/automations/src/providers/webhook.ts +137 -0
  431. package/langwatch/packages/automations/src/templating/__tests__/alertDefaultsRender.unit.test.ts +133 -0
  432. package/langwatch/packages/automations/src/templating/__tests__/blockKitAllowlist.unit.test.ts +723 -0
  433. package/langwatch/packages/automations/src/templating/__tests__/engine.unit.test.ts +106 -0
  434. package/langwatch/packages/automations/src/templating/__tests__/exampleContext.unit.test.ts +39 -0
  435. package/langwatch/packages/automations/src/templating/__tests__/fixtures.ts +42 -0
  436. package/langwatch/packages/automations/src/templating/__tests__/graphAlertTemplateContext.unit.test.ts +260 -0
  437. package/langwatch/packages/automations/src/templating/__tests__/markdown.unit.test.ts +71 -0
  438. package/langwatch/packages/automations/src/templating/__tests__/renderEmail.unit.test.ts +183 -0
  439. package/langwatch/packages/automations/src/templating/__tests__/renderSlack.unit.test.ts +233 -0
  440. package/langwatch/packages/automations/src/templating/__tests__/renderWebhookBody.unit.test.ts +145 -0
  441. package/langwatch/packages/automations/src/templating/__tests__/reportDefaultsRender.unit.test.ts +148 -0
  442. package/langwatch/packages/automations/src/templating/__tests__/templateContext.unit.test.ts +137 -0
  443. package/langwatch/packages/automations/src/templating/__tests__/validate.unit.test.ts +28 -0
  444. package/langwatch/packages/automations/src/templating/banner.ts +29 -0
  445. package/langwatch/packages/automations/src/templating/blockKitAllowlist.ts +662 -0
  446. package/langwatch/packages/automations/src/templating/defaults.ts +400 -0
  447. package/langwatch/packages/automations/src/templating/emailLayout.ts +59 -0
  448. package/langwatch/packages/automations/src/templating/engine.ts +255 -0
  449. package/langwatch/packages/automations/src/templating/exampleContext.ts +171 -0
  450. package/langwatch/packages/automations/src/templating/markdown.ts +61 -0
  451. package/langwatch/packages/automations/src/templating/renderEmail.ts +112 -0
  452. package/langwatch/packages/automations/src/templating/renderSlack.ts +184 -0
  453. package/langwatch/packages/automations/src/templating/renderWebhookBody.ts +105 -0
  454. package/langwatch/packages/automations/src/templating/renderWithFallback.ts +54 -0
  455. package/langwatch/packages/automations/src/templating/templateContext.ts +812 -0
  456. package/langwatch/packages/automations/src/templating/validate.ts +24 -0
  457. package/langwatch/packages/automations/tsconfig.json +18 -0
  458. package/langwatch/packages/automations/vitest.config.ts +8 -0
  459. package/langwatch/packages/observability/README.md +86 -0
  460. package/langwatch/packages/observability/node_modules/.bin/esbuild +18 -0
  461. package/langwatch/packages/observability/node_modules/.bin/pino +21 -0
  462. package/langwatch/packages/observability/node_modules/.bin/pino-pretty +21 -0
  463. package/langwatch/packages/observability/node_modules/.bin/tsc +21 -0
  464. package/langwatch/packages/observability/node_modules/.bin/tsserver +21 -0
  465. package/langwatch/packages/observability/node_modules/.bin/vitest +21 -0
  466. package/langwatch/packages/observability/package.json +44 -0
  467. package/langwatch/packages/observability/src/__tests__/browserSafety.unit.test.ts +14 -0
  468. package/langwatch/packages/observability/src/__tests__/context.unit.test.ts +228 -0
  469. package/langwatch/packages/observability/src/__tests__/logger.unit.test.ts +227 -0
  470. package/langwatch/packages/observability/src/__tests__/requestLogging.unit.test.ts +252 -0
  471. package/langwatch/packages/observability/src/__tests__/runtimeSafety.unit.test.ts +96 -0
  472. package/langwatch/packages/observability/src/__tests__/traceContext.unit.test.ts +108 -0
  473. package/langwatch/packages/observability/src/constants.ts +46 -0
  474. package/langwatch/packages/observability/src/context/core.ts +124 -0
  475. package/langwatch/packages/observability/src/context/index.ts +19 -0
  476. package/langwatch/packages/observability/src/context/logging.ts +24 -0
  477. package/langwatch/packages/observability/src/index.ts +32 -0
  478. package/langwatch/packages/observability/src/logger.ts +280 -0
  479. package/langwatch/packages/observability/src/request/requestLogging.ts +131 -0
  480. package/langwatch/packages/observability/src/trace/traceContext.ts +56 -0
  481. package/langwatch/packages/observability/tsconfig.json +16 -0
  482. package/langwatch/packages/observability/vitest.config.ts +8 -0
  483. package/langwatch/packages/react-rum/node_modules/.bin/tsc +21 -0
  484. package/langwatch/packages/react-rum/node_modules/.bin/tsserver +21 -0
  485. package/langwatch/packages/react-rum/node_modules/.bin/vitest +21 -0
  486. package/langwatch/packages/react-rum/package.json +43 -0
  487. package/langwatch/packages/react-rum/src/browserTracing.ts +130 -0
  488. package/langwatch/packages/react-rum/src/constants.ts +67 -0
  489. package/langwatch/packages/react-rum/src/index.ts +34 -0
  490. package/langwatch/packages/react-rum/src/navigation.test.ts +188 -0
  491. package/langwatch/packages/react-rum/src/navigation.ts +189 -0
  492. package/langwatch/packages/react-rum/src/navigationContextManager.ts +71 -0
  493. package/langwatch/packages/react-rum/src/sampling.test.ts +182 -0
  494. package/langwatch/packages/react-rum/src/sampling.ts +124 -0
  495. package/langwatch/packages/react-rum/src/session.test.ts +85 -0
  496. package/langwatch/packages/react-rum/src/session.ts +62 -0
  497. package/langwatch/packages/react-rum/src/sessionSpanProcessor.ts +34 -0
  498. package/langwatch/packages/react-rum/tsconfig.json +18 -0
  499. package/langwatch/packages/react-rum/vitest.config.ts +8 -0
  500. package/langwatch/packages/redaction/node_modules/.bin/tsc +21 -0
  501. package/langwatch/packages/redaction/node_modules/.bin/tsserver +21 -0
  502. package/langwatch/packages/redaction/node_modules/.bin/vitest +21 -0
  503. package/langwatch/packages/redaction/package.json +29 -0
  504. package/langwatch/packages/redaction/src/__tests__/secrets.unit.test.ts +226 -0
  505. package/langwatch/packages/redaction/src/__tests__/sessionReport.unit.test.ts +239 -0
  506. package/langwatch/packages/redaction/src/index.ts +29 -0
  507. package/langwatch/packages/redaction/src/markers.ts +101 -0
  508. package/langwatch/packages/redaction/src/secrets.ts +286 -0
  509. package/langwatch/packages/redaction/src/sessionReport.ts +356 -0
  510. package/langwatch/packages/redaction/tsconfig.json +18 -0
  511. package/langwatch/packages/ssrf/node_modules/.bin/tsc +21 -0
  512. package/langwatch/packages/ssrf/node_modules/.bin/tsserver +21 -0
  513. package/langwatch/packages/ssrf/node_modules/.bin/vitest +21 -0
  514. package/langwatch/packages/ssrf/package.json +29 -0
  515. package/langwatch/packages/ssrf/src/index.test.ts +72 -0
  516. package/langwatch/packages/ssrf/src/index.ts +320 -0
  517. package/langwatch/packages/ssrf/tsconfig.json +18 -0
  518. package/langwatch/packages/ssrf/vitest.config.ts +8 -0
  519. package/langwatch/scripts/__tests__/bug-report-discovery.unit.test.ts +37 -0
  520. package/langwatch/scripts/build-mcp-server.sh +15 -0
  521. package/langwatch/scripts/generate-langy-skills.ts +10 -0
  522. package/langwatch/scripts/update-matrix-provider-keys.ts +1 -1
  523. package/langwatch/src/components/EditModelProviderDrawer.tsx +7 -1
  524. package/langwatch/src/components/settings/ModelProviderCredentialsSection.tsx +13 -21
  525. package/langwatch/src/components/settings/ModelProviderForm.tsx +32 -3
  526. package/langwatch/src/components/settings/__tests__/ModelProviderForm.credential-preservation.integration.test.tsx +277 -0
  527. package/langwatch/src/components/settings/__tests__/ModelProviderForm.credential-requiredness.integration.test.tsx +260 -0
  528. package/langwatch/src/components/settings/__tests__/modelProviderDrawerHarness.tsx +152 -0
  529. package/langwatch/src/features/onboarding/components/sections/model-provider/ModelProviderSetup.tsx +7 -3
  530. package/langwatch/src/hooks/__tests__/useProviderFormSubmit.integration.test.tsx +7 -1
  531. package/langwatch/src/hooks/useModelProviderApiKeyValidation.ts +25 -4
  532. package/langwatch/src/hooks/useModelProviderFields.ts +45 -37
  533. package/langwatch/src/hooks/useModelProviderForm.ts +2 -0
  534. package/langwatch/src/hooks/useProviderFormSubmit.ts +27 -19
  535. package/langwatch/src/hooks/useRequiredCredentialKeys.ts +38 -0
  536. package/langwatch/src/pages/settings/__tests__/model-providers.no-project.integration.test.tsx +508 -0
  537. package/langwatch/src/pages/settings/model-providers.tsx +19 -97
  538. package/langwatch/src/server/api/routers/__tests__/prepareEnvKeys.unit.test.ts +56 -0
  539. package/langwatch/src/server/api/routers/modelProviders.ts +146 -15
  540. package/langwatch/src/server/api/routers/modelProviders.utils.ts +1 -10
  541. package/langwatch/src/server/app-layer/traces/__tests__/audio-model-cost.unit.test.ts +133 -0
  542. package/langwatch/src/server/app-layer/traces/canonicalisation/extractors/_constants.ts +6 -0
  543. package/langwatch/src/server/app-layer/traces/model-cost-matching.ts +17 -1
  544. package/langwatch/src/server/app-layer/traces/repositories/__tests__/span-storage.clickhouse.repository.unit.test.ts +6 -0
  545. package/langwatch/src/server/app-layer/traces/repositories/span-storage.clickhouse.repository.ts +6 -0
  546. package/langwatch/src/server/gateway/__tests__/config.materialiser.integration.test.ts +132 -3
  547. package/langwatch/src/server/gateway/config.materialiser.ts +11 -9
  548. package/langwatch/src/server/modelProviders/__tests__/modelProvider.credentialPreservation.integration.test.ts +206 -0
  549. package/langwatch/src/server/modelProviders/__tests__/modelProvider.deleteScope.integration.test.ts +0 -4
  550. package/langwatch/src/server/modelProviders/__tests__/modelProvider.noProject.integration.test.ts +748 -0
  551. package/langwatch/src/server/modelProviders/__tests__/modelProvider.repository.integration.test.ts +3 -3
  552. package/langwatch/src/server/modelProviders/__tests__/modelProvider.repository.unit.test.ts +7 -8
  553. package/langwatch/src/server/modelProviders/__tests__/modelProvider.service.extraHeaders.unit.test.ts +0 -5
  554. package/langwatch/src/server/modelProviders/__tests__/modelProvider.service.unit.test.ts +5 -1
  555. package/langwatch/src/server/modelProviders/__tests__/registry.unit.test.ts +31 -0
  556. package/langwatch/src/server/modelProviders/llmModelCost.tsx +20 -2
  557. package/langwatch/src/server/modelProviders/llmModels.json +736 -209
  558. package/langwatch/src/server/modelProviders/llmModels.overlay.json +149 -2
  559. package/langwatch/src/server/modelProviders/llmModels.types.ts +9 -2
  560. package/langwatch/src/server/modelProviders/modelProvider.repository.ts +10 -12
  561. package/langwatch/src/server/modelProviders/modelProvider.service.ts +142 -34
  562. package/langwatch/src/server/modelProviders/registry.ts +45 -15
  563. package/langwatch/src/server/tracer/collector/cost.ts +15 -2
  564. package/langwatch/src/utils/__tests__/modelProviderCredentialRules.unit.test.ts +259 -0
  565. package/langwatch/src/utils/__tests__/modelProviderHelpers.unit.test.ts +12 -0
  566. package/langwatch/src/utils/modelProviderHelpers.ts +207 -16
  567. package/package.json +5 -1
  568. package/packages/handled-error/node_modules/.bin/tsc +21 -0
  569. package/packages/handled-error/node_modules/.bin/tsserver +21 -0
  570. package/packages/handled-error/node_modules/.bin/vitest +21 -0
  571. package/packages/handled-error/package.json +31 -0
  572. package/packages/handled-error/src/handled-error.test.ts +305 -0
  573. package/packages/handled-error/src/handled-error.ts +431 -0
  574. package/packages/handled-error/src/index.ts +16 -0
  575. package/packages/handled-error/tsconfig.json +22 -0
  576. package/packages/langy/node_modules/.bin/tsc +21 -0
  577. package/packages/langy/node_modules/.bin/tsserver +21 -0
  578. package/packages/langy/node_modules/.bin/vitest +21 -0
  579. package/packages/langy/package.json +40 -0
  580. package/packages/langy/src/cards/cliJson.ts +95 -0
  581. package/packages/langy/src/cards/cliJson.unit.test.ts +80 -0
  582. package/packages/langy/src/cards/created-resource.unit.test.ts +137 -0
  583. package/packages/langy/src/cards/derived-safe.ts +265 -0
  584. package/packages/langy/src/cards/derived-safe.unit.test.ts +283 -0
  585. package/packages/langy/src/cards/digest.ts +247 -0
  586. package/packages/langy/src/cards/digest.unit.test.ts +230 -0
  587. package/packages/langy/src/cards/handled-error.ts +697 -0
  588. package/packages/langy/src/cards/handled-error.unit.test.ts +795 -0
  589. package/packages/langy/src/cards/index.ts +51 -0
  590. package/packages/langy/src/cards/primitives.ts +113 -0
  591. package/packages/langy/src/cards/promotion.unit.test.ts +253 -0
  592. package/packages/langy/src/cards/registry.ts +450 -0
  593. package/packages/langy/src/cards/registry.unit.test.ts +141 -0
  594. package/packages/langy/src/cards/schemas.ts +561 -0
  595. package/packages/langy/src/cards/tool-result.ts +151 -0
  596. package/packages/langy/src/cards/tool-result.unit.test.ts +37 -0
  597. package/packages/langy/src/constants.ts +253 -0
  598. package/packages/langy/src/event-sourcing/contracts/cursor.ts +46 -0
  599. package/packages/langy/src/event-sourcing/contracts/cursor.unit.test.ts +66 -0
  600. package/packages/langy/src/event-sourcing/contracts/events.ts +345 -0
  601. package/packages/langy/src/event-sourcing/contracts/turnWire.ts +81 -0
  602. package/packages/langy/src/event-sourcing/folds/conversationFold.ts +413 -0
  603. package/packages/langy/src/event-sourcing/folds/messageMap.ts +71 -0
  604. package/packages/langy/src/event-sourcing/folds/turnFold.ts +372 -0
  605. package/packages/langy/src/event-sourcing/folds/turnFold.unit.test.ts +217 -0
  606. package/packages/langy/src/event-sourcing/turnPhase.ts +124 -0
  607. package/packages/langy/src/event-sourcing/turnPhase.unit.test.ts +110 -0
  608. package/packages/langy/src/event-sourcing/turnProjection.ts +120 -0
  609. package/packages/langy/src/event-sourcing/turnProjection.unit.test.ts +207 -0
  610. package/packages/langy/src/index.ts +16 -0
  611. package/packages/langy/src/inline-channel/choices.ts +136 -0
  612. package/packages/langy/src/inline-channel/choices.unit.test.ts +213 -0
  613. package/packages/langy/src/inline-channel/fence.ts +125 -0
  614. package/packages/langy/src/inline-channel/fence.unit.test.ts +112 -0
  615. package/packages/langy/src/inline-channel/parts.ts +85 -0
  616. package/packages/langy/src/inline-channel/parts.unit.test.ts +100 -0
  617. package/packages/langy/src/inline-channel/preview.ts +68 -0
  618. package/packages/langy/src/inline-channel/preview.unit.test.ts +116 -0
  619. package/packages/langy/src/inline-channel/salvage.ts +260 -0
  620. package/packages/langy/src/inline-channel/salvage.unit.test.ts +135 -0
  621. package/packages/langy/src/json.ts +47 -0
  622. package/packages/langy/tsconfig.json +22 -0
  623. package/packages/server/dist/cli.cjs +11045 -10616
  624. package/python-sdk/src/langwatch/openai.py +107 -28
  625. package/skills/.env.example +1 -0
  626. package/skills/.release-please-shim +1 -0
  627. package/skills/CHANGELOG.md +158 -0
  628. package/skills/README.md +99 -0
  629. package/skills/_compiled/README.md +43 -0
  630. package/skills/_compiled/generate.sh +31 -0
  631. package/skills/_compiled/native/agent-best-practices/SKILL.md +91 -0
  632. package/skills/_compiled/native/agent-improve/SKILL.md +133 -0
  633. package/skills/_compiled/native/agent-performance/SKILL.md +125 -0
  634. package/skills/_compiled/native/datasets/SKILL.md +437 -0
  635. package/skills/_compiled/native/debug-instrumentation/SKILL.md +104 -0
  636. package/skills/_compiled/native/debug-with-langwatch/SKILL.md +109 -0
  637. package/skills/_compiled/native/eval-triage/SKILL.md +87 -0
  638. package/skills/_compiled/native/evaluate-multimodal/SKILL.md +121 -0
  639. package/skills/_compiled/native/evaluations/SKILL.md +58 -0
  640. package/skills/_compiled/native/experiments/SKILL.md +191 -0
  641. package/skills/_compiled/native/generate-rag-dataset/SKILL.md +123 -0
  642. package/skills/_compiled/native/github/SKILL.md +107 -0
  643. package/skills/_compiled/native/level-up/SKILL.md +149 -0
  644. package/skills/_compiled/native/online-evaluations/SKILL.md +179 -0
  645. package/skills/_compiled/native/prompts/SKILL.md +187 -0
  646. package/skills/_compiled/native/scenarios/SKILL.md +924 -0
  647. package/skills/_compiled/native/setup-lw/SKILL.md +82 -0
  648. package/skills/_compiled/native/test-cli-usability/SKILL.md +109 -0
  649. package/skills/_compiled/native/test-compliance/SKILL.md +160 -0
  650. package/skills/_compiled/native/tracing/SKILL.md +115 -0
  651. package/skills/_compiler/compile.ts +181 -0
  652. package/skills/_compiler/native.ts +74 -0
  653. package/skills/_lib/feature-skills.ts +66 -0
  654. package/skills/_lib/frontmatter.ts +21 -0
  655. package/skills/_lib/mdx-inline.ts +148 -0
  656. package/skills/_publish/sync.ts +73 -0
  657. package/skills/_shared/api-key-setup.mdx +1 -0
  658. package/skills/_shared/cli-install.mdx +1 -0
  659. package/skills/_shared/cli-setup.mdx +15 -0
  660. package/skills/_shared/consultant-mode.mdx +9 -0
  661. package/skills/_shared/plan-limits.mdx +8 -0
  662. package/skills/_shared/projects-and-api-keys.mdx +13 -0
  663. package/skills/_tests/README.md +47 -0
  664. package/skills/_tests/agent-best-practices.scenario.test.ts +79 -0
  665. package/skills/_tests/agent-improve.scenario.test.ts +90 -0
  666. package/skills/_tests/agent-performance.scenario.test.ts +110 -0
  667. package/skills/_tests/claude-code-adapter.test.ts +70 -0
  668. package/skills/_tests/cli-auth.scenario.test.ts +171 -0
  669. package/skills/_tests/cli-comprehensive.scenario.test.ts +171 -0
  670. package/skills/_tests/cli-crud.scenario.test.ts +245 -0
  671. package/skills/_tests/cli-gateway-coding-agents.scenario.test.ts +597 -0
  672. package/skills/_tests/cli-gateway.scenario.test.ts +254 -0
  673. package/skills/_tests/cli-projects-api-keys.scenario.test.ts +182 -0
  674. package/skills/_tests/cli-suites.scenario.test.ts +234 -0
  675. package/skills/_tests/datasets.scenario.test.ts +586 -0
  676. package/skills/_tests/docs-skills-pages.test.ts +206 -0
  677. package/skills/_tests/evaluation-skill-boundaries.test.ts +84 -0
  678. package/skills/_tests/experiments-faithfulness.scenario.test.ts +80 -0
  679. package/skills/_tests/experiments-python-langgraph.scenario.test.ts +80 -0
  680. package/skills/_tests/experiments-python-openai.scenario.test.ts +110 -0
  681. package/skills/_tests/experiments-rag.scenario.test.ts +88 -0
  682. package/skills/_tests/experiments-typescript-vercel.scenario.test.ts +80 -0
  683. package/skills/_tests/fixtures/cli-prompts/python-with-prompts/main.py +24 -0
  684. package/skills/_tests/fixtures/python-agno/main.py +14 -0
  685. package/skills/_tests/fixtures/python-google-adk/main.py +28 -0
  686. package/skills/_tests/fixtures/python-health-agent/main.py +32 -0
  687. package/skills/_tests/fixtures/python-langgraph/main.py +35 -0
  688. package/skills/_tests/fixtures/python-openai/main.py +36 -0
  689. package/skills/_tests/fixtures/python-rag-agent/main.py +53 -0
  690. package/skills/_tests/fixtures/typescript-mastra/index.ts +11 -0
  691. package/skills/_tests/fixtures/typescript-vercel/index.ts +16 -0
  692. package/skills/_tests/fixtures/typescript-voice/index.ts +18 -0
  693. package/skills/_tests/helpers/claude-code-adapter.ts +387 -0
  694. package/skills/_tests/helpers/experiments-scenario.ts +197 -0
  695. package/skills/_tests/helpers/judge-model.ts +12 -0
  696. package/skills/_tests/level-up.scenario.test.ts +236 -0
  697. package/skills/_tests/native-skills.test.ts +191 -0
  698. package/skills/_tests/online-evaluations.scenario.test.ts +257 -0
  699. package/skills/_tests/prompts-cli.scenario.test.ts +330 -0
  700. package/skills/_tests/prompts.scenario.test.ts +434 -0
  701. package/skills/_tests/publish-sync.test.ts +119 -0
  702. package/skills/_tests/recipes.scenario.test.ts +343 -0
  703. package/skills/_tests/scenarios.scenario.test.ts +884 -0
  704. package/skills/_tests/tracing.scenario.test.ts +472 -0
  705. package/skills/_tests/voice-factories.test.ts +60 -0
  706. package/skills/agent-improve/SKILL.mdx +100 -0
  707. package/skills/agent-performance/SKILL.mdx +102 -0
  708. package/skills/datasets/SKILL.mdx +416 -0
  709. package/skills/evaluations/SKILL.mdx +57 -0
  710. package/skills/experiments/SKILL.mdx +155 -0
  711. package/skills/github/SKILL.mdx +107 -0
  712. package/skills/initial-prompt.md +66 -0
  713. package/skills/level-up/SKILL.mdx +112 -0
  714. package/skills/online-evaluations/SKILL.mdx +150 -0
  715. package/skills/package.json +53 -0
  716. package/skills/pnpm-lock.yaml +4862 -0
  717. package/skills/pnpm-workspace.yaml +2 -0
  718. package/skills/prompts/SKILL.mdx +151 -0
  719. package/skills/recipes/README.md +30 -0
  720. package/skills/recipes/agent-best-practices/SKILL.mdx +84 -0
  721. package/skills/recipes/debug-instrumentation/SKILL.mdx +88 -0
  722. package/skills/recipes/debug-with-langwatch/SKILL.mdx +97 -0
  723. package/skills/recipes/eval-triage/SKILL.mdx +75 -0
  724. package/skills/recipes/evaluate-multimodal/SKILL.mdx +110 -0
  725. package/skills/recipes/generate-rag-dataset/SKILL.mdx +105 -0
  726. package/skills/recipes/setup-lw/SKILL.mdx +71 -0
  727. package/skills/recipes/test-cli-usability/SKILL.mdx +106 -0
  728. package/skills/recipes/test-compliance/SKILL.mdx +149 -0
  729. package/skills/scenarios/SKILL.mdx +874 -0
  730. package/skills/tracing/SKILL.mdx +88 -0
  731. package/skills/tsconfig.json +15 -0
  732. package/skills/version.txt +1 -0
  733. package/skills/vitest.config.ts +7 -0
  734. package/langwatch/dist/client/assets/AddAnnotationQueueDrawer-BQSucfOX.js +0 -2
  735. package/langwatch/dist/client/assets/AddDatasetRecordDrawer-DAsTHYTP.js +0 -6
  736. package/langwatch/dist/client/assets/AddOrEditAnnotationScore-B5Ck48cm.js +0 -2
  737. package/langwatch/dist/client/assets/AddOrEditAnnotationScoreDrawer-C8HFvayF.js +0 -2
  738. package/langwatch/dist/client/assets/AddOrEditDatasetDrawer-BRzya-3u.js +0 -3
  739. package/langwatch/dist/client/assets/AddParticipants-DGPUGXt7.js +0 -2
  740. package/langwatch/dist/client/assets/AgentHistoryDrawer-D13d_z7X.js +0 -2
  741. package/langwatch/dist/client/assets/AgentHttpEditorDrawer-CuT-fXSu.js +0 -5
  742. package/langwatch/dist/client/assets/AgentListDrawer-CWtvhmue.js +0 -2
  743. package/langwatch/dist/client/assets/AgentTypeSelectorDrawer-BRHSlvwQ.js +0 -2
  744. package/langwatch/dist/client/assets/AgentWorkflowEditorDrawer-CylJD3xL.js +0 -2
  745. package/langwatch/dist/client/assets/AgentWorkflowTargetEditorDrawer-CaoZTrdq.js +0 -2
  746. package/langwatch/dist/client/assets/AiGatewayLayout-B5Q-EfZV.js +0 -2
  747. package/langwatch/dist/client/assets/AnnotationsTable-DoO83AX9.js +0 -2
  748. package/langwatch/dist/client/assets/AreaChart-CXmFZ9PN.js +0 -2
  749. package/langwatch/dist/client/assets/AutomationDrawer-Bv4nX8y6.js +0 -112
  750. package/langwatch/dist/client/assets/BatchEvaluationSummary-uqdSLrh7.js +0 -2
  751. package/langwatch/dist/client/assets/BudgetEditDrawer-CGUdeHXR.js +0 -2
  752. package/langwatch/dist/client/assets/CartesianChart-D35vYym3.js +0 -54
  753. package/langwatch/dist/client/assets/CascadeArchiveDialog-DSo9Fwed.js +0 -2
  754. package/langwatch/dist/client/assets/ChartCard-DgQ4fTGc.js +0 -2
  755. package/langwatch/dist/client/assets/ChartTooltip-Cf8ESsQ9.js +0 -4
  756. package/langwatch/dist/client/assets/ChatWindow-DplHBlw_.js +0 -5
  757. package/langwatch/dist/client/assets/CodeEvaluatorEditorDrawer-CPxNogVm.js +0 -9
  758. package/langwatch/dist/client/assets/CodexCodingDefaultsAsk-BdUx3xAP.js +0 -2
  759. package/langwatch/dist/client/assets/ColorfulBlockIcons-CUrsa--K.js +0 -6
  760. package/langwatch/dist/client/assets/ColumnTypeIcon-DNzTCt_2.js +0 -2
  761. package/langwatch/dist/client/assets/ConfirmDialog-DTpkLGhm.js +0 -2
  762. package/langwatch/dist/client/assets/ContactSalesBlock-BaXLliHv.js +0 -2
  763. package/langwatch/dist/client/assets/Conversation-DZIYz2Vp.js +0 -2
  764. package/langwatch/dist/client/assets/CopyInput-Csb1U32e.js +0 -2
  765. package/langwatch/dist/client/assets/CopyableInputWithPrefix-C3PRtdkW.js +0 -2
  766. package/langwatch/dist/client/assets/CreateProjectDrawer-32NvkFfD.js +0 -2
  767. package/langwatch/dist/client/assets/CreateTeamDrawer-DtGf5dkO.js +0 -2
  768. package/langwatch/dist/client/assets/CustomGraph-C3a1gzo6.js +0 -2
  769. package/langwatch/dist/client/assets/DashboardLayout-RHGL-98_.js +0 -6
  770. package/langwatch/dist/client/assets/DashboardNameDrawer-DD8bwnCt.js +0 -2
  771. package/langwatch/dist/client/assets/DataPrivacyRuleDrawer-DiY-VkTs.js +0 -2
  772. package/langwatch/dist/client/assets/DatasetEditorTable-CwI345qA.js +0 -2
  773. package/langwatch/dist/client/assets/DatasetPickerList-CpHDt0t8.js +0 -2
  774. package/langwatch/dist/client/assets/DatasetPreviewTable-v8OUUAB3.js +0 -2
  775. package/langwatch/dist/client/assets/DatasetSelector-isPOzukH.js +0 -2
  776. package/langwatch/dist/client/assets/DefaultModelOverrideDrawer-BI7NSI6A.js +0 -2
  777. package/langwatch/dist/client/assets/DeleteConfirmationDialog-7K0S0Qdq.js +0 -2
  778. package/langwatch/dist/client/assets/DocsLinks-NNRxMwQU.js +0 -2
  779. package/langwatch/dist/client/assets/DynamicZodForm-3XwhQhOl.js +0 -2
  780. package/langwatch/dist/client/assets/EditAutomationFilterDrawer-MYW_WiO2.js +0 -3
  781. package/langwatch/dist/client/assets/EditModelProviderDrawer-Isp2BSHG.js +0 -4
  782. package/langwatch/dist/client/assets/EditProjectDrawer-Dj2lYKdO.js +0 -2
  783. package/langwatch/dist/client/assets/EmojiPickerModal-DdZxZuTV.js +0 -3
  784. package/langwatch/dist/client/assets/EnterpriseLockedSurface-CxLn8Im_.js +0 -2
  785. package/langwatch/dist/client/assets/EvaluatorApiUsageDialog-DIFGzOw4.js +0 -107
  786. package/langwatch/dist/client/assets/EvaluatorCategorySelectorDrawer-Cm114u5E.js +0 -2
  787. package/langwatch/dist/client/assets/EvaluatorEditorDrawer-aCxccvFM.js +0 -2
  788. package/langwatch/dist/client/assets/EvaluatorEditorShared-DiLlkD4v.js +0 -43
  789. package/langwatch/dist/client/assets/EvaluatorHistoryDrawer-Bv3sLSRP.js +0 -2
  790. package/langwatch/dist/client/assets/EvaluatorListDrawer-eUbPJehC.js +0 -2
  791. package/langwatch/dist/client/assets/EvaluatorMappingsSection-DvSTsuT8.js +0 -2
  792. package/langwatch/dist/client/assets/EvaluatorSelection-Bi_Ud8sy.js +0 -2
  793. package/langwatch/dist/client/assets/EvaluatorSelectionBox-v8iA4p4D.js +0 -2
  794. package/langwatch/dist/client/assets/EvaluatorTypeSelectorContent-DlwvjPGU.js +0 -2
  795. package/langwatch/dist/client/assets/EvaluatorTypeSelectorDrawer-ul5Ud4lG.js +0 -2
  796. package/langwatch/dist/client/assets/ExecutionState-DKBVAVTm.js +0 -2
  797. package/langwatch/dist/client/assets/ExternalImage-DbtOSrKl.js +0 -34
  798. package/langwatch/dist/client/assets/FeatureFlagsDrawer-YiildcJp.js +0 -2
  799. package/langwatch/dist/client/assets/FieldInfoTooltip-CXhYVsTQ.js +0 -2
  800. package/langwatch/dist/client/assets/FieldsFilters-CrGJyKXz.js +0 -2
  801. package/langwatch/dist/client/assets/FilterDisplay-BT6B5ZoZ.js +0 -2
  802. package/langwatch/dist/client/assets/FilterSidebar-0UgGuTeu.js +0 -2
  803. package/langwatch/dist/client/assets/FormatMoney-CEzwUDkl.js +0 -2
  804. package/langwatch/dist/client/assets/FoundryDrawer-BIy5SFvr.js +0 -2
  805. package/langwatch/dist/client/assets/FullLogo-EwD3nY0N.js +0 -2
  806. package/langwatch/dist/client/assets/GovernanceLayout-COAapH9g.js +0 -2
  807. package/langwatch/dist/client/assets/GraphsLayout-ygWQTw_g.js +0 -2
  808. package/langwatch/dist/client/assets/GroupBindingInputRow-DF_WY6iQ.js +0 -2
  809. package/langwatch/dist/client/assets/GuardrailsDrawer-BIq6RhSh.js +0 -91
  810. package/langwatch/dist/client/assets/History-V1jF0Epn.js +0 -17
  811. package/langwatch/dist/client/assets/HorizontalFormControl-CLz9xuFM.js +0 -2
  812. package/langwatch/dist/client/assets/HoverableBigText-CxXucdYS.js +0 -2
  813. package/langwatch/dist/client/assets/InstallCliCard-SGRlvABl.js +0 -2
  814. package/langwatch/dist/client/assets/IntegratePaneShell--xX7Q_FZ.js +0 -8
  815. package/langwatch/dist/client/assets/InviteMemberDrawer-BgkE2My_.js +0 -2
  816. package/langwatch/dist/client/assets/LLMModelCostDrawer-Be2PXHIC.js +0 -2
  817. package/langwatch/dist/client/assets/LangyContextTarget-DUSindiC.js +0 -2
  818. package/langwatch/dist/client/assets/LegacyTracesDeprecationBanner-C1PAs5gE.js +0 -2
  819. package/langwatch/dist/client/assets/Legend-UkJ5OBun.js +0 -6
  820. package/langwatch/dist/client/assets/Line-Bq29STZQ.js +0 -2
  821. package/langwatch/dist/client/assets/LineChart-DjFD6yv4.js +0 -2
  822. package/langwatch/dist/client/assets/ListTable-CSs4ttpJ.js +0 -2
  823. package/langwatch/dist/client/assets/LoadingScreen-D0JSh0Q2.js +0 -2
  824. package/langwatch/dist/client/assets/Markdown-Dm0jXfOR.js +0 -3
  825. package/langwatch/dist/client/assets/MenuLink-CCRiOtxz.js +0 -2
  826. package/langwatch/dist/client/assets/MessageCard-DqgrJCJ6.js +0 -2
  827. package/langwatch/dist/client/assets/MetadataTag-W5I0CKzN.js +0 -5
  828. package/langwatch/dist/client/assets/ModelProviderCustomModelInput-XgGjvYky.js +0 -2
  829. package/langwatch/dist/client/assets/ModelProviderScreen-BtASYmAL.js +0 -2
  830. package/langwatch/dist/client/assets/ModelSelector-BBb1wHS_.js +0 -2
  831. package/langwatch/dist/client/assets/MyLayout-DX7ntheK.js +0 -2
  832. package/langwatch/dist/client/assets/NavigationFooter-CJaT-F50.js +0 -2
  833. package/langwatch/dist/client/assets/NewWorkflowForm-BrvVQJNY.js +0 -2
  834. package/langwatch/dist/client/assets/NoDataInfoBlock-B3c1WwDO.js +0 -2
  835. package/langwatch/dist/client/assets/OnboardingContainer-DRrQV_9c.js +0 -2
  836. package/langwatch/dist/client/assets/OnlineEvaluationDrawer-DHbPXgEV.js +0 -2
  837. package/langwatch/dist/client/assets/OpsPageShell-BamkwuvB.js +0 -2
  838. package/langwatch/dist/client/assets/OttlEditor-BhsdMVM9.js +0 -3
  839. package/langwatch/dist/client/assets/OverflownText-DhbWrtC6.js +0 -2
  840. package/langwatch/dist/client/assets/ProjectAvatar--gOpUll9.js +0 -2
  841. package/langwatch/dist/client/assets/ProjectLangyLayout-C7WNak1h.js +0 -82
  842. package/langwatch/dist/client/assets/PromptEditorDrawer-k_dFbREL.js +0 -2
  843. package/langwatch/dist/client/assets/PromptListDrawer-B-C4Cl6I.js +0 -2
  844. package/langwatch/dist/client/assets/PropertySectionTitle-CK67qoQ9.js +0 -37
  845. package/langwatch/dist/client/assets/ProviderModelSelector-Cm89XYO8.js +0 -2
  846. package/langwatch/dist/client/assets/ProviderScopeChips-S0Ctqbwg.js +0 -2
  847. package/langwatch/dist/client/assets/PushToCopiesDialog-C3eBpZ9F.js +0 -2
  848. package/langwatch/dist/client/assets/RandomColorAvatar-CTya_4BQ.js +0 -2
  849. package/langwatch/dist/client/assets/ReferenceDot-St9tkyoA.js +0 -2
  850. package/langwatch/dist/client/assets/RenderInputOutput-DOVNZVJ2.js +0 -261
  851. package/langwatch/dist/client/assets/ScenarioFormDrawer-9224CX_d.js +0 -2
  852. package/langwatch/dist/client/assets/ScenarioInputMappingSection-Sqtj3HwL.js +0 -2
  853. package/langwatch/dist/client/assets/ScenarioRunDetailDrawer-fzMzXl1A.js +0 -3
  854. package/langwatch/dist/client/assets/ScopeChipPicker-B6r27G3S.js +0 -2
  855. package/langwatch/dist/client/assets/SearchInput-C_AroTij.js +0 -2
  856. package/langwatch/dist/client/assets/SectionNavigationLayout-DNvKM1pq.js +0 -2
  857. package/langwatch/dist/client/assets/SelectDatasetDrawer-CeZvw0Rl.js +0 -2
  858. package/langwatch/dist/client/assets/SelectionActionBar-5j-e3Y3p.js +0 -2
  859. package/langwatch/dist/client/assets/SeriesFilterDrawer-C2Io5BkG.js +0 -2
  860. package/langwatch/dist/client/assets/SettingsLayout-CYtjUobV.js +0 -2
  861. package/langwatch/dist/client/assets/SetupWithAgentButton-BKWI-UTU.js +0 -4
  862. package/langwatch/dist/client/assets/ShikiCommandBox-D_TBnZxW.js +0 -5
  863. package/langwatch/dist/client/assets/SpanDetails-xl9OjARI.js +0 -3
  864. package/langwatch/dist/client/assets/SubscriptionPage-85dxt08g.js +0 -2
  865. package/langwatch/dist/client/assets/SuiteFormDrawer-BYdeRl8R.js +0 -2
  866. package/langwatch/dist/client/assets/TabButton-BY-_E4cy.js +0 -3
  867. package/langwatch/dist/client/assets/TableCell-B6fYjFy7.js +0 -2
  868. package/langwatch/dist/client/assets/TargetTypeSelectorDrawer-CTaJP17t.js +0 -2
  869. package/langwatch/dist/client/assets/TeamForm-DQIdGXFE.js +0 -2
  870. package/langwatch/dist/client/assets/TeamUserRoleField-UXHlsd5l.js +0 -2
  871. package/langwatch/dist/client/assets/TraceDetails-Bm1Ufstq.js +0 -9
  872. package/langwatch/dist/client/assets/TraceDetailsDrawer-BlZH_mba.js +0 -2
  873. package/langwatch/dist/client/assets/TraceIdPeek-By6CFB9R.js +0 -2
  874. package/langwatch/dist/client/assets/TracesMapping-QHyuw6AD.js +0 -2
  875. package/langwatch/dist/client/assets/UpgradeModal-BmLw5ONS.js +0 -92
  876. package/langwatch/dist/client/assets/UpgradeModalContent-C_lXaZaj.js +0 -2
  877. package/langwatch/dist/client/assets/UploadCSVDrawer-BKntPqbk.js +0 -3
  878. package/langwatch/dist/client/assets/VariablesSection-DnkttoMe.js +0 -2
  879. package/langwatch/dist/client/assets/VersionBadge-8Mh0h6z8.js +0 -2
  880. package/langwatch/dist/client/assets/ViaClaudeDesktopScreen-fQIOpGM1.js +0 -1161
  881. package/langwatch/dist/client/assets/ViewAutomationDrawer-CPoifrwV.js +0 -2
  882. package/langwatch/dist/client/assets/VirtualKeySecretReveal-CKCq8oBA.js +0 -54
  883. package/langwatch/dist/client/assets/WelcomeLayout-B_rw1HA0.js +0 -2
  884. package/langwatch/dist/client/assets/WithFeatureFlagGuard-DwfApI3b.js +0 -2
  885. package/langwatch/dist/client/assets/WithPermissionGuard-BP1dFkpM.js +0 -2
  886. package/langwatch/dist/client/assets/WorkflowCard-B_SYXPpi.js +0 -2
  887. package/langwatch/dist/client/assets/WorkflowSelectorForEvaluatorDrawer-D_fcHR54.js +0 -2
  888. package/langwatch/dist/client/assets/_...path_-Ipy6q2Lm.js +0 -2
  889. package/langwatch/dist/client/assets/_Uint8Array-B8b3z1r6.js +0 -2
  890. package/langwatch/dist/client/assets/__...path__-3xWAWxQ-.js +0 -22
  891. package/langwatch/dist/client/assets/_baseAssignValue-D7YNnh37.js +0 -2
  892. package/langwatch/dist/client/assets/_baseClone-o3pPcmbM.js +0 -2
  893. package/langwatch/dist/client/assets/_baseEach-CJ0DbEY4.js +0 -2
  894. package/langwatch/dist/client/assets/_baseFor-C04Mk-th.js +0 -2
  895. package/langwatch/dist/client/assets/_experiment_-DYMW8ia6.js +0 -2
  896. package/langwatch/dist/client/assets/_id_-B8SzykYR.js +0 -2
  897. package/langwatch/dist/client/assets/_id_-BT8l3_4N.js +0 -2
  898. package/langwatch/dist/client/assets/_id_-BTgcDKRo.js +0 -2
  899. package/langwatch/dist/client/assets/_id_-BrxUqiAK.js +0 -2
  900. package/langwatch/dist/client/assets/_id_-Cke69ccV.js +0 -2
  901. package/langwatch/dist/client/assets/_id_-CxtJm9qq.js +0 -2
  902. package/langwatch/dist/client/assets/_id_-DGNS0pL2.js +0 -2
  903. package/langwatch/dist/client/assets/_project_-CPYgRSe0.js +0 -8
  904. package/langwatch/dist/client/assets/_runId_-CnJnzVCf.js +0 -7
  905. package/langwatch/dist/client/assets/_shell-JRkk6wPs.js +0 -2
  906. package/langwatch/dist/client/assets/_slug_-D3cx1Thv.js +0 -17
  907. package/langwatch/dist/client/assets/_slug_-Dx0M4BvX.js +0 -2
  908. package/langwatch/dist/client/assets/_slug_-cRMpdOOA.js +0 -2
  909. package/langwatch/dist/client/assets/_team_-BW8SVrk-.js +0 -2
  910. package/langwatch/dist/client/assets/_workflow_-C35QPIPs.js +0 -25
  911. package/langwatch/dist/client/assets/_workflow_-DowL6naf.js +0 -3
  912. package/langwatch/dist/client/assets/accept-D3cDvj0y.js +0 -2
  913. package/langwatch/dist/client/assets/activity-CrGqZpWa.js +0 -1
  914. package/langwatch/dist/client/assets/agents-BNeoLDoj.js +0 -2
  915. package/langwatch/dist/client/assets/alerts-CrGqZpWa.js +0 -1
  916. package/langwatch/dist/client/assets/all-BHRNPEIX.js +0 -2
  917. package/langwatch/dist/client/assets/analytics-CZuaBlXL.js +0 -2
  918. package/langwatch/dist/client/assets/annotation-scores-CeAaT6zF.js +0 -2
  919. package/langwatch/dist/client/assets/annotations-CpkTmTvn.js +0 -2
  920. package/langwatch/dist/client/assets/anomaly-rules-BOLIh6OR.js +0 -2
  921. package/langwatch/dist/client/assets/api-keys-mK1aqQaM.js +0 -4
  922. package/langwatch/dist/client/assets/asaplangy-D_DeMaDk.js +0 -5
  923. package/langwatch/dist/client/assets/audit-log-CL6iYEbl.js +0 -2
  924. package/langwatch/dist/client/assets/auth-DWhhuKxO.js +0 -2
  925. package/langwatch/dist/client/assets/authentication-CvPvvVW6.js +0 -2
  926. package/langwatch/dist/client/assets/authorize-C1bDXq-Z.js +0 -2
  927. package/langwatch/dist/client/assets/authorize-xZkU_nXs.js +0 -2
  928. package/langwatch/dist/client/assets/automations-ChfL33YS.js +0 -2
  929. package/langwatch/dist/client/assets/automations-CrGqZpWa.js +0 -1
  930. package/langwatch/dist/client/assets/billing-plans-CXxmUM3Y.js +0 -2
  931. package/langwatch/dist/client/assets/blank-DFMnaDEJ.js +0 -2
  932. package/langwatch/dist/client/assets/blobs-D-pozzQX.js +0 -2
  933. package/langwatch/dist/client/assets/blockDiagram-677ZJIJ3--iqoZYgE.js +0 -133
  934. package/langwatch/dist/client/assets/budgets-BAJ1tdYz.js +0 -3
  935. package/langwatch/dist/client/assets/bug-reports-DOqvPuTB.js +0 -2
  936. package/langwatch/dist/client/assets/cache-rules-DbITxirX.js +0 -2
  937. package/langwatch/dist/client/assets/choose-BSGQGAYS.js +0 -2
  938. package/langwatch/dist/client/assets/chunk-EX3LRPZG-B7fiWf8z.js +0 -232
  939. package/langwatch/dist/client/assets/chunk-FWX5IMBZ-CiS2XotT.js +0 -3
  940. package/langwatch/dist/client/assets/chunk-PUDLZKDR-_aske-8B.js +0 -157
  941. package/langwatch/dist/client/assets/chunk-RYQCIY6F-Bzb9D1UT.js +0 -2
  942. package/langwatch/dist/client/assets/chunk-V7JOEXUC-BNxgutMB.js +0 -207
  943. package/langwatch/dist/client/assets/classDiagram-OUVF2IWQ-GwNDfT24.js +0 -2
  944. package/langwatch/dist/client/assets/classDiagram-v2-EOCWNBFH-GwNDfT24.js +0 -2
  945. package/langwatch/dist/client/assets/codeAgentConfig-DWx3pMLC.js +0 -7
  946. package/langwatch/dist/client/assets/codingDefaultSync-C9Lev3y1.js +0 -2
  947. package/langwatch/dist/client/assets/configure-Coe_YM3c.js +0 -4
  948. package/langwatch/dist/client/assets/custom-Dpn85JW8.js +0 -12
  949. package/langwatch/dist/client/assets/custom_evaluator-DGAwXo2Z.js +0 -31
  950. package/langwatch/dist/client/assets/dagre-D7MBpcKV.js +0 -2
  951. package/langwatch/dist/client/assets/dagre-VKFMJZFB-COHUH3Np.js +0 -5
  952. package/langwatch/dist/client/assets/data-privacy-CtKFJ8SN.js +0 -2
  953. package/langwatch/dist/client/assets/data-retention-e5nryGvV.js +0 -2
  954. package/langwatch/dist/client/assets/datasets-JEoBpoYL.js +0 -2
  955. package/langwatch/dist/client/assets/debounce-KKoMEqvq.js +0 -2
  956. package/langwatch/dist/client/assets/defaultModelState-C4_m_XBI.js +0 -2
  957. package/langwatch/dist/client/assets/dejaview-BV4oU0up.js +0 -2
  958. package/langwatch/dist/client/assets/departments-BjNbKZtW.js +0 -2
  959. package/langwatch/dist/client/assets/devices-CaLokczo.js +0 -2
  960. package/langwatch/dist/client/assets/dist-BToT9Gni.js +0 -6
  961. package/langwatch/dist/client/assets/drawerFromUrl-Cpd3NvN0.js +0 -2
  962. package/langwatch/dist/client/assets/edit-BW6g7_XC.js +0 -62
  963. package/langwatch/dist/client/assets/email-suppressions-DYhLkUjt.js +0 -2
  964. package/langwatch/dist/client/assets/erDiagram-Q63AITRT-CBcweIHJ.js +0 -86
  965. package/langwatch/dist/client/assets/error-CmmaHju0.js +0 -2
  966. package/langwatch/dist/client/assets/evaluations-BX71jpba.js +0 -2
  967. package/langwatch/dist/client/assets/evaluations-C82dwzqH.js +0 -2
  968. package/langwatch/dist/client/assets/evaluators-CKOs_qOx.js +0 -146
  969. package/langwatch/dist/client/assets/evaluators-Cnp4esT5.js +0 -2
  970. package/langwatch/dist/client/assets/experiments-CzhcDWnc.js +0 -1
  971. package/langwatch/dist/client/assets/external-link-BzETHrAG.js +0 -2
  972. package/langwatch/dist/client/assets/feature-flags-Cl5NHQrK.js +0 -2
  973. package/langwatch/dist/client/assets/fetchSSE-DWKCnoHV.js +0 -3
  974. package/langwatch/dist/client/assets/fieldset-CE_IDQSv.js +0 -2
  975. package/langwatch/dist/client/assets/flowDiagram-23GEKE2U-B2EV4X5b.js +0 -1
  976. package/langwatch/dist/client/assets/forgot-password-Bdtjps2K.js +0 -2
  977. package/langwatch/dist/client/assets/formatMoney-CI_YqDED.js +0 -2
  978. package/langwatch/dist/client/assets/foundry-DdJynGEa.js +0 -477
  979. package/langwatch/dist/client/assets/gateway-BvjtD98W.js +0 -2
  980. package/langwatch/dist/client/assets/getEvaluator-OH0w_5fd.js +0 -2
  981. package/langwatch/dist/client/assets/getRadiusAndStrokeWidthFromDot-BB5SvhT3.js +0 -2
  982. package/langwatch/dist/client/assets/governance-DUSWlZID.js +0 -2
  983. package/langwatch/dist/client/assets/graphlib-Dn160vFe.js +0 -2
  984. package/langwatch/dist/client/assets/groups--YQRJnbz.js +0 -2
  985. package/langwatch/dist/client/assets/guardrails-_Jb3oZg3.js +0 -2
  986. package/langwatch/dist/client/assets/http-7YWbWWla.js +0 -7
  987. package/langwatch/dist/client/assets/identifierUtils-BuQJ50Jl.js +0 -2
  988. package/langwatch/dist/client/assets/immer-tl_oI9yy.js +0 -14
  989. package/langwatch/dist/client/assets/index-CUhcyBp3.js +0 -68
  990. package/langwatch/dist/client/assets/ingestion-source-detail-E-alCDhM.js +0 -19
  991. package/langwatch/dist/client/assets/ingestion-sources-APi2TUL6.js +0 -12
  992. package/langwatch/dist/client/assets/integrations-osNA42lv.js +0 -2
  993. package/langwatch/dist/client/assets/isArrayLikeObject-CJZEoMj_.js +0 -2
  994. package/langwatch/dist/client/assets/isSymbol-IFJb2-6T.js +0 -2
  995. package/langwatch/dist/client/assets/langyHomeSuggestions-B0_Fr3Q2.js +0 -2
  996. package/langwatch/dist/client/assets/latestAliases-BG98QtLZ.js +0 -2
  997. package/langwatch/dist/client/assets/license-Dbjlsvq9.js +0 -2
  998. package/langwatch/dist/client/assets/loadModelCatalog-CtqlQvVB.js +0 -2
  999. package/langwatch/dist/client/assets/map-DH6XyRvi.js +0 -2
  1000. package/langwatch/dist/client/assets/mappingValidation-oCsaOwz3.js +0 -2
  1001. package/langwatch/dist/client/assets/me-Bqm1rCwb.js +0 -2
  1002. package/langwatch/dist/client/assets/me-BxYTDdYk.js +0 -7
  1003. package/langwatch/dist/client/assets/members-C-RYfdOt.js +0 -2
  1004. package/langwatch/dist/client/assets/mermaid.core-CIOVe75m.js +0 -12
  1005. package/langwatch/dist/client/assets/messages-DSB9EzQc.js +0 -2
  1006. package/langwatch/dist/client/assets/metrics-C_DWHPhN.js +0 -2
  1007. package/langwatch/dist/client/assets/mindmap-definition-LN4V7U3C-D9FhjenJ.js +0 -97
  1008. package/langwatch/dist/client/assets/model-costs-DHTDEPq7.js +0 -2
  1009. package/langwatch/dist/client/assets/model-providers-B5lYdYGB.js +0 -2
  1010. package/langwatch/dist/client/assets/modelProviderHelpers-DDoNJl7J.js +0 -2
  1011. package/langwatch/dist/client/assets/my-queue-DBUdNObC.js +0 -2
  1012. package/langwatch/dist/client/assets/normalizeComparison-CCZ-bOPv.js +0 -2
  1013. package/langwatch/dist/client/assets/not-found-1cA6pijP.js +0 -2
  1014. package/langwatch/dist/client/assets/now-Sx_cFlpx.js +0 -2
  1015. package/langwatch/dist/client/assets/onboarding-Brb1FAS4.js +0 -2
  1016. package/langwatch/dist/client/assets/online-evaluations-Di78dvHe.js +0 -2
  1017. package/langwatch/dist/client/assets/ops-BDrWqQb1.js +0 -2
  1018. package/langwatch/dist/client/assets/organizations-I7_fQcGq.js +0 -2
  1019. package/langwatch/dist/client/assets/pages-BowufdCe.js +0 -2
  1020. package/langwatch/dist/client/assets/persistence-ChzYQRy2.js +0 -2
  1021. package/langwatch/dist/client/assets/plans-DUiB6dWS.js +0 -2
  1022. package/langwatch/dist/client/assets/product-CLC45PiC.js +0 -2
  1023. package/langwatch/dist/client/assets/project-CO0U6_JZ.js +0 -2
  1024. package/langwatch/dist/client/assets/projections-yljzVGg_.js +0 -2
  1025. package/langwatch/dist/client/assets/projects-DbpxS5ex.js +0 -2
  1026. package/langwatch/dist/client/assets/promptHandle-BwdZsauS.js +0 -2
  1027. package/langwatch/dist/client/assets/prompts-DUxsvuSh.js +0 -8
  1028. package/langwatch/dist/client/assets/radio-group-DJFHT54R.js +0 -2
  1029. package/langwatch/dist/client/assets/registry-C3oFDiqP.js +0 -2
  1030. package/langwatch/dist/client/assets/reports-BQKkyGFY.js +0 -2
  1031. package/langwatch/dist/client/assets/request-CmAXw9Uw.js +0 -2
  1032. package/langwatch/dist/client/assets/requirementDiagram-TGXJPOKE-D1dMWBTG.js +0 -85
  1033. package/langwatch/dist/client/assets/reset-password-CTK4_mwV.js +0 -2
  1034. package/langwatch/dist/client/assets/role-bindings-C6ZsuMgm.js +0 -2
  1035. package/langwatch/dist/client/assets/roles-BCVxn7jA.js +0 -2
  1036. package/langwatch/dist/client/assets/routing-policies-CRBbtcKU.js +0 -5
  1037. package/langwatch/dist/client/assets/scenarios-t3nGDwOk.js +0 -2
  1038. package/langwatch/dist/client/assets/scheduler-BLbmBCjU.js +0 -2
  1039. package/langwatch/dist/client/assets/schedules-CrGqZpWa.js +0 -1
  1040. package/langwatch/dist/client/assets/scim-Db5_4cCw.js +0 -2
  1041. package/langwatch/dist/client/assets/secrets-w56NYZDd.js +0 -2
  1042. package/langwatch/dist/client/assets/segment-group-BZ45xnHN.js +0 -2
  1043. package/langwatch/dist/client/assets/segmented-control-DD0HLoke.js +0 -2
  1044. package/langwatch/dist/client/assets/select-BVcV39WT.js +0 -2
  1045. package/langwatch/dist/client/assets/send-C4QAmSdY.js +0 -2
  1046. package/langwatch/dist/client/assets/sequenceView-BjWvujkI.js +0 -5
  1047. package/langwatch/dist/client/assets/seriesOptions-BYBEdexs.js +0 -1011
  1048. package/langwatch/dist/client/assets/settings-BLUJDHk_.js +0 -2
  1049. package/langwatch/dist/client/assets/setup-DZUDYG7y.js +0 -2
  1050. package/langwatch/dist/client/assets/shikiAdapter-S_u9TjIh.js +0 -3
  1051. package/langwatch/dist/client/assets/signin-DIBdy2xA.js +0 -2
  1052. package/langwatch/dist/client/assets/signup-CNRmYZe8.js +0 -2
  1053. package/langwatch/dist/client/assets/stateDiagram-2N3HPSRC-CvKHJ3lm.js +0 -2
  1054. package/langwatch/dist/client/assets/stateDiagram-v2-6OUMAXLB-DAiJnxt-.js +0 -2
  1055. package/langwatch/dist/client/assets/subscription-DCXG9i3Z.js +0 -3
  1056. package/langwatch/dist/client/assets/subscriptions-vembyNSC.js +0 -2
  1057. package/langwatch/dist/client/assets/suggestionUI-CKer7JjV.js +0 -106
  1058. package/langwatch/dist/client/assets/swimlanes-5IMT3BWC-BSx4-zBB.js +0 -3
  1059. package/langwatch/dist/client/assets/swimlanesDiagram-G3AALYLV-CiuP6lw7.js +0 -9
  1060. package/langwatch/dist/client/assets/switch-COTwlCOb.js +0 -2
  1061. package/langwatch/dist/client/assets/switch-vUOdjiD1.js +0 -2
  1062. package/langwatch/dist/client/assets/tabs-DdHsJkYS.js +0 -2
  1063. package/langwatch/dist/client/assets/teams-CNWyUErs.js +0 -2
  1064. package/langwatch/dist/client/assets/teams-DfkeiBlG.js +0 -2
  1065. package/langwatch/dist/client/assets/tool-catalog-Fz2CTXGX.js +0 -7
  1066. package/langwatch/dist/client/assets/toolIcons-8yYANIzS.js +0 -2
  1067. package/langwatch/dist/client/assets/tooltip-Croc0I6e.js +0 -2
  1068. package/langwatch/dist/client/assets/topic-clustering-BUhCtd-n.js +0 -2
  1069. package/langwatch/dist/client/assets/topics-DTHKQBbG.js +0 -2
  1070. package/langwatch/dist/client/assets/traceExecutor-apa7WEzU.js +0 -55
  1071. package/langwatch/dist/client/assets/traces-DHbPO8-r.js +0 -289
  1072. package/langwatch/dist/client/assets/tracesMapping-AU2q390i.js +0 -3
  1073. package/langwatch/dist/client/assets/tracking-2cJI_Hu7.js +0 -2
  1074. package/langwatch/dist/client/assets/types-CQ-IJ_jx.js +0 -2
  1075. package/langwatch/dist/client/assets/types-DV4H6wK9.js +0 -2
  1076. package/langwatch/dist/client/assets/types-PSz4yYPE.js +0 -2
  1077. package/langwatch/dist/client/assets/types-Qc1U0Lzq.js +0 -2
  1078. package/langwatch/dist/client/assets/unsubscribe-B7-aB2wW.js +0 -2
  1079. package/langwatch/dist/client/assets/usage-B56MHHfN.js +0 -2
  1080. package/langwatch/dist/client/assets/usage-BrFpMBrn.js +0 -2
  1081. package/langwatch/dist/client/assets/use-breakpoint-BTtibx4n.js +0 -2
  1082. package/langwatch/dist/client/assets/use-generic-onboarding-flow-eiutgTpm.js +0 -2
  1083. package/langwatch/dist/client/assets/useActivePlan-DZDUm8JK.js +0 -2
  1084. package/langwatch/dist/client/assets/useAllPromptsForProject-BY-Cnuhg.js +0 -2
  1085. package/langwatch/dist/client/assets/useAnnotationQueues-BWrpwDYN.js +0 -2
  1086. package/langwatch/dist/client/assets/useAvailableEvaluators-D7TbKINw.js +0 -2
  1087. package/langwatch/dist/client/assets/useCyclingVerb-Bp3m8dQc.js +0 -2
  1088. package/langwatch/dist/client/assets/useDepartmentColumn-DTsM9Nhy.js +0 -2
  1089. package/langwatch/dist/client/assets/useEvaluationsV3Store-KPEU27UA.js +0 -2
  1090. package/langwatch/dist/client/assets/useExportTraces-DK-tRqPq.js +0 -2
  1091. package/langwatch/dist/client/assets/useFeatureFlag-D9ikgDaE.js +0 -2
  1092. package/langwatch/dist/client/assets/useInviteActions-DyYvQrlw.js +0 -2
  1093. package/langwatch/dist/client/assets/useLicenseEnforcement-DRk7-NQ0.js +0 -2
  1094. package/langwatch/dist/client/assets/useLiteMemberGuard-klZnweA7.js +0 -43
  1095. package/langwatch/dist/client/assets/usePersonalContext-CrhmQYta.js +0 -2
  1096. package/langwatch/dist/client/assets/useProjectSpanNames-w6NW0Ct5.js +0 -2
  1097. package/langwatch/dist/client/assets/useProjectsForCopy-DxbxCEv5.js +0 -2
  1098. package/langwatch/dist/client/assets/useRunViaApiTabs-WzgJSfv2.js +0 -50
  1099. package/langwatch/dist/client/assets/useSavedViews-CNmeuzC3.js +0 -2
  1100. package/langwatch/dist/client/assets/useShowLangy-BvJ39ifH.js +0 -2
  1101. package/langwatch/dist/client/assets/useSimulationUpdateListener-Bu7hXXtv.js +0 -2
  1102. package/langwatch/dist/client/assets/useTargetName-VjbhYyp5.js +0 -2
  1103. package/langwatch/dist/client/assets/useTargetNameMap-CB8rbgsw.js +0 -2
  1104. package/langwatch/dist/client/assets/useTraceDetailsDrawer-BQRQYAwh.js +0 -2
  1105. package/langwatch/dist/client/assets/useTraceUpdateListener-DvzIDKvr.js +0 -2
  1106. package/langwatch/dist/client/assets/useUrlScopeFilter-u6ryUPSP.js +0 -2
  1107. package/langwatch/dist/client/assets/useWorkflowStore-PvyqdAIQ.js +0 -8
  1108. package/langwatch/dist/client/assets/users-B6_uecCc.js +0 -2
  1109. package/langwatch/dist/client/assets/users-BKSIVGOV.js +0 -2
  1110. package/langwatch/dist/client/assets/users-Cvlw527b.js +0 -2
  1111. package/langwatch/dist/client/assets/v3-D_vxEDZB.js +0 -2
  1112. package/langwatch/dist/client/assets/variables-fv0lgY95.js +0 -396
  1113. package/langwatch/dist/client/assets/viewStore-149qmWlN.js +0 -2
  1114. package/langwatch/dist/client/assets/virtual-keys-BrPMP91L.js +0 -2
  1115. package/langwatch/dist/client/assets/welcome-CvpidJSe.js +0 -16
  1116. package/langwatch/dist/client/assets/wizard-D3LrFT3o.js +0 -2
  1117. package/langwatch/dist/client/assets/workbench-YhI9hb4n.js +0 -2
  1118. package/langwatch/dist/client/assets/workflows-D66JEP8o.js +0 -3
  1119. package/langwatch/dist/client/assets/wrap-C4rzJqks.js +0 -2
  1120. package/langwatch/src/pages/settings/__tests__/model-providers.first-project.integration.test.tsx +0 -426
@@ -0,0 +1,146 @@
1
+ import{Cn as e,_n as t,an as n,bn as r,fn as i,gn as a,in as o,mn as s,rn as c,xn as l}from"./index-DtiounXP.js";var u=l(),d=t({currency:l(),amount:a()});o(e([t({status:i(`processed`),score:a().optional(),passed:n().optional(),label:l().optional(),details:l().optional(),cost:d.optional(),raw_response:c().optional()}),t({status:i(`skipped`),details:l().optional()}),t({status:i(`error`),error_type:l(),details:l(),traceback:o(l())})]));var f=t({"openai/moderation":t({settings:t({model:e([i(`text-moderation-stable`),i(`text-moderation-latest`)]).describe("The model version to use, `text-moderation-latest` will be automatically upgraded over time, while `text-moderation-stable` will only be updated with advanced notice by OpenAI.").default(`text-moderation-stable`),categories:t({harassment:n().default(!0),harassment_threatening:n().default(!0),hate:n().default(!0),hate_threatening:n().default(!0),self_harm:n().default(!0),self_harm_instructions:n().default(!0),self_harm_intent:n().default(!0),sexual:n().default(!0),sexual_minors:n().default(!0),violence:n().default(!0),violence_graphic:n().default(!0)}).describe(`The categories of content to check for moderation.`).default({harassment:!0,harassment_threatening:!0,hate:!0,hate_threatening:!0,self_harm:!0,self_harm_instructions:!0,self_harm_intent:!0,sexual:!0,sexual_minors:!0,violence:!0,violence_graphic:!0})})}),"ragas/bleu_score":t({settings:r(l(),s())}),"ragas/context_f1":t({settings:t({distance_measure:e([i(`levenshtein`),i(`hamming`),i(`jaro`),i(`jaro_winkler`)]).default(`levenshtein`)})}),"ragas/context_precision":t({settings:t({distance_measure:e([i(`levenshtein`),i(`hamming`),i(`jaro`),i(`jaro_winkler`)]).default(`levenshtein`)})}),"ragas/context_recall":t({settings:t({distance_measure:e([i(`levenshtein`),i(`hamming`),i(`jaro`),i(`jaro_winkler`)]).default(`levenshtein`)})}),"ragas/factual_correctness":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048),mode:e([i(`f1`),i(`precision`),i(`recall`)]).describe(`The mode to use for the factual correctness metric.`).default(`f1`),atomicity:e([i(`low`),i(`high`)]).describe(`The level of atomicity for claim decomposition.`).default(`low`),coverage:e([i(`low`),i(`high`)]).describe(`The level of coverage for claim decomposition.`).default(`low`)})}),"ragas/faithfulness":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048),autodetect_dont_know:n().describe(`Whether to autodetect 'I don't know' in the output to avoid failing the evaluation.`).default(!0)})}),"ragas/response_context_precision":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"ragas/response_context_recall":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"ragas/response_relevancy":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`)})}),"ragas/rouge_score":t({settings:t({rouge_type:e([i(`rouge1`),i(`rougeL`)]).describe(`ROUGE type`).default(`rouge1`),measure_type:e([i(`fmeasure`),i(`precision`),i(`recall`)]).describe(`ROUGE measure type`).default(`fmeasure`)})}),"ragas/rubrics_based_scoring":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048),rubrics:o(t({description:l()})).default([{description:`The response is incorrect, irrelevant.`},{description:`The response partially answers the question but includes significant errors, omissions, or irrelevant information.`},{description:`The response partially answers the question but includes minor errors, omissions, or irrelevant information.`},{description:`The response fully answers the question and includes minor errors, omissions, or irrelevant information.`},{description:`The response fully answers the question and includes no errors, omissions, or irrelevant information.`}])})}),"ragas/sql_query_equivalence":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"ragas/summarization_score":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"presidio/pii_detection":t({settings:t({entities:t({credit_card:n().default(!0),crypto:n().default(!0),email_address:n().default(!0),iban_code:n().default(!0),ip_address:n().default(!0),location:n().default(!1),person:n().default(!1),phone_number:n().default(!0),medical_license:n().default(!0),us_bank_number:n().default(!1),us_driver_license:n().default(!1),us_itin:n().default(!1),us_passport:n().default(!1),us_ssn:n().default(!1),uk_nhs:n().default(!1),sg_nric_fin:n().default(!1),au_abn:n().default(!1),au_acn:n().default(!1),au_tfn:n().default(!1),au_medicare:n().default(!1),in_pan:n().default(!1),in_aadhaar:n().default(!1),in_vehicle_registration:n().default(!1),in_voter:n().default(!1),in_passport:n().default(!1)}).describe(`The types of PII to check for in the input.`).default({credit_card:!0,crypto:!0,email_address:!0,iban_code:!0,ip_address:!0,location:!1,person:!1,phone_number:!0,medical_license:!0,us_bank_number:!1,us_driver_license:!1,us_itin:!1,us_passport:!1,us_ssn:!1,uk_nhs:!1,sg_nric_fin:!1,au_abn:!1,au_acn:!1,au_tfn:!1,au_medicare:!1,in_pan:!1,in_aadhaar:!1,in_vehicle_registration:!1,in_voter:!1,in_passport:!1}),min_threshold:a().describe(`The minimum confidence required for failing the evaluation on a PII match.`).default(.5)})}),"azure/content_safety":t({settings:t({severity_threshold:e([i(1),i(2),i(3),i(4),i(5),i(6),i(7)]).describe(`The minimum severity level to consider content as unsafe, from 1 to 7.`).default(1),categories:t({Hate:n().default(!0),SelfHarm:n().default(!0),Sexual:n().default(!0),Violence:n().default(!0)}).describe(`The categories of moderation to check for.`).default({Hate:!0,SelfHarm:!0,Sexual:!0,Violence:!0}),output_type:e([i(`FourSeverityLevels`),i(`EightSeverityLevels`)]).describe(`The type of severity levels to return on the full 0-7 severity scale, it can be either the trimmed version with four values (0, 2, 4, 6 scores) or the whole range.`).default(`FourSeverityLevels`)})}),"azure/jailbreak":t({settings:r(l(),s())}),"azure/prompt_injection":t({settings:r(l(),s())}),"lingua/language_detection":t({settings:t({check_for:e([i(`input_matches_output`),i(`output_matches_language`)]).describe(`What should be checked`).default(`input_matches_output`),expected_language:e([i(`AF`),i(`AR`),i(`AZ`),i(`BE`),i(`BG`),i(`BN`),i(`BS`),i(`CA`),i(`CS`),i(`CY`),i(`DA`),i(`DE`),i(`EL`),i(`EN`),i(`EO`),i(`ES`),i(`ET`),i(`EU`),i(`FA`),i(`FI`),i(`FR`),i(`GA`),i(`GU`),i(`HE`),i(`HI`),i(`HR`),i(`HU`),i(`HY`),i(`ID`),i(`IS`),i(`IT`),i(`JA`),i(`KA`),i(`KK`),i(`KO`),i(`LA`),i(`LG`),i(`LT`),i(`LV`),i(`MI`),i(`MK`),i(`MN`),i(`MR`),i(`MS`),i(`NB`),i(`NL`),i(`NN`),i(`PA`),i(`PL`),i(`PT`),i(`RO`),i(`RU`),i(`SK`),i(`SL`),i(`SN`),i(`SO`),i(`SQ`),i(`SR`),i(`ST`),i(`SV`),i(`SW`),i(`TA`),i(`TE`),i(`TH`),i(`TL`),i(`TN`),i(`TR`),i(`TS`),i(`UK`),i(`UR`),i(`VI`),i(`XH`),i(`YO`),i(`ZH`),i(`ZU`)]).optional().describe(`The specific language that the output is expected to be`),min_words:a().describe(`Minimum number of words to check, as the language detection can be unreliable for very short texts. Inputs shorter than the minimum will be skipped.`).default(7),threshold:a().describe(`Minimum confidence threshold for the language detection. If the confidence is lower than this, the evaluation will be skipped.`).default(.25)})}),"legacy/ragas_answer_correctness":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"legacy/ragas_answer_relevancy":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"legacy/ragas_context_precision":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"legacy/ragas_context_recall":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"legacy/ragas_context_relevancy":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"legacy/ragas_context_utilization":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"legacy/ragas_faithfulness":t({settings:t({model:l().describe(`The model to use for evaluation.`).default(`openai/gpt-5-mini`),embeddings_model:l().describe(`The model to use for embeddings.`).default(`openai/text-embedding-ada-002`),max_tokens:a().describe(`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`).default(2048)})}),"langevals/basic":t({settings:t({rules:o(t({field:e([i(`input`),i(`output`)]).default(`output`),rule:e([i(`contains`),i(`not_contains`),i(`matches_regex`),i(`not_matches_regex`)]),value:l()})).describe(`List of rules to check, the message must pass all of them`).default([{field:`output`,rule:`not_contains`,value:`artificial intelligence`}])})}),"langevals/competitor_blocklist":t({settings:t({competitors:o(l()).describe(`The competitors that must not be mentioned.`).default([`OpenAI`,`Google`,`Microsoft`])})}),"langevals/competitor_llm":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),name:l().describe(`The name of your company`).default(`LangWatch`),description:l().describe(`Description of what your company is specializing at`).default(`We are providing an LLM observability and evaluation platform`)})}),"langevals/competitor_llm_function_call":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),name:l().describe(`The name of your company`).default(`LangWatch`),description:l().describe(`Description of what your company is specializing at`).default(`We are providing an LLM observability and evaluation platform`),competitors:o(l()).describe(`The competitors that must not be mentioned.`).default([`OpenAI`,`Google`,`Microsoft`])})}),"langevals/exact_match":t({settings:t({case_sensitive:n().describe(`True if the comparison should be case-sensitive, False otherwise`).default(!1),trim_whitespace:n().describe(`True if the comparison should trim whitespace, False otherwise`).default(!0),remove_punctuation:n().describe(`True if the comparison should remove punctuation, False otherwise`).default(!0)})}),"langevals/llm_answer_match":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),prompt:l().describe(`Prompt for the comparison`).default(`Verify that the predicted answer matches the gold answer for the question. Style does not matter, for example the gold answer may be more direct while the predicted answer more verbose and still be correct.`)})}),"langevals/llm_boolean":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),prompt:l().describe(`The system prompt to use for the LLM to run the evaluation`).default(`You are an LLM evaluator. We need the guarantee that the output answers what is being asked on the input, please evaluate as False if it doesn't`)})}),"langevals/llm_category":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),prompt:l().describe(`The system prompt to use for the LLM to run the evaluation`).default(`You are an LLM category evaluator. Please categorize the message in one of the following categories`),categories:o(t({name:l(),description:l()})).describe(`The categories to use for the evaluation`).default([{name:`smalltalk`,description:`Smalltalk with the user`},{name:`company`,description:`Questions about the company, what we do, etc`}])})}),"langevals/llm_score":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),prompt:l().describe(`The system prompt to use for the LLM to run the evaluation`).default(`You are an LLM evaluator. Please score from 0.0 to 1.0 how likely the user is to be satisfied with this answer, from 0.0 being not satisfied at all to 1.0 being completely satisfied`)})}),"langevals/off_topic":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),allowed_topics:o(t({topic:l(),description:l()})).describe(`The list of topics and their short descriptions that the chatbot is allowed to talk about`).default([{topic:`simple_chat`,description:`Smalltalk with the user`},{topic:`company`,description:`Questions about the company, what we do, etc`}])})}),"langevals/pairwise_compare":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),prompt:l().describe(`Judge prompt template (golden-aware by default)`).default(`Compare two candidate outputs against a known-good reference (golden answer).
2
+
3
+ Task: {input}
4
+ Golden answer: {golden}
5
+
6
+ Candidate A: {candidate_a_output}
7
+ Candidate B: {candidate_b_output}
8
+
9
+ Reason step-by-step about how closely each candidate matches the
10
+ golden answer in correctness, completeness, and style. Then pick
11
+ the better candidate, or "tie" if equivalent.
12
+ Prefer cheaper/faster only when quality is comparable.
13
+ `),has_golden_answer:n().describe(`Compare each candidate against a reference answer. Turn off to have the judge compare Candidate A and Candidate B directly on their own merits, with no reference answer involved.`).default(!0),swap_and_confirm:n().describe(`Run two judge calls with A/B positions swapped; tie on disagreement. Doubles judge cost but materially reduces position bias (PandaLM: 68% -> 51%).`).default(!0),allow_tie:n().describe(`Allow the judge to return 'tie' when candidates are equivalent`).default(!0),include_metrics:o(e([i(`cost`),i(`duration`)])).describe(`Per-candidate metrics to inject into the judge prompt`).default([])})}),"langevals/select_best_compare":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3),prompt:l().describe(`Judge prompt template. Placeholders: {input}, {golden}, {candidates} (a pre-rendered bulleted list with slot labels and optional per-candidate metrics).`).default(`Pick the best of N candidate replies to the task.
14
+
15
+ Task: {input}
16
+ Reference: {golden}
17
+
18
+ Candidates:
19
+ {candidates}
20
+
21
+ Look across the candidates and decide which one is the best reply.
22
+ Briefly explain WHY it's better than the others, then pick the winning
23
+ slot label. Use "tie" only when no candidate is clearly better.
24
+ `),has_golden_answer:n().describe(`Compare each candidate against a reference answer. Turn off to have the judge compare the candidates directly on their own merits, with no reference answer involved.`).default(!1),randomize_order:n().describe(`Shuffle candidate order per row (deterministically, seeded by row_index) before presenting them to the judge. Reduces position bias when the judge is called once per row.`).default(!0),allow_tie:n().describe(`Allow the judge to return 'tie' when candidates are equivalent`).default(!0),include_metrics:o(e([i(`cost`),i(`duration`)])).describe(`Per-candidate metrics to inject into the judge prompt`).default([])})}),"langevals/query_resolution":t({settings:t({model:l().describe(`The model to use for evaluation`).default(`openai/gpt-5-mini`),max_tokens:a().describe(`Max tokens allowed for evaluation`).default(128e3)})}),"langevals/sentiment":t({settings:t({embeddings_model:l().describe(`The embeddings model to use for sentiment analysis`).default(`openai/text-embedding-3-small`),positive_reference:l().describe(`Reference phrase representing the positive end of the sentiment scale`).default(`Comment of a very happy and satisfied user`),negative_reference:l().describe(`Reference phrase representing the negative end of the sentiment scale`).default(`Comment of a user who is extremely dissatisfied`),normalization_factor:a().describe(`Controls sentiment sensitivity. Decrease to make scores more extreme (fewer neutrals), increase to make scores more moderate (more neutrals)`).default(.1)})}),"langevals/similarity":t({settings:t({field:e([i(`input`),i(`output`)]).default(`output`),rule:e([i(`is_not_similar_to`),i(`is_similar_to`)]).default(`is_not_similar_to`),value:l().default(`example`),threshold:a().default(.3),embeddings_model:l().default(`openai/text-embedding-3-small`)})}),"langevals/valid_format":t({settings:t({format:e([i(`json`),i(`markdown`),i(`python`),i(`sql`)]).default(`json`),json_schema:l().optional().describe(`JSON schema to validate against when format is 'json'`)})})}),p={"openai/moderation":{name:`OpenAI Moderation`,description:`
25
+ This evaluator uses OpenAI's moderation API to detect potentially harmful content in text,
26
+ including harassment, hate speech, self-harm, sexual content, and violence.
27
+ `,category:`safety`,docsUrl:`https://platform.openai.com/docs/guides/moderation/overview`,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`],settings:{model:{description:"The model version to use, `text-moderation-latest` will be automatically upgraded over time, while `text-moderation-stable` will only be updated with advanced notice by OpenAI.",default:`text-moderation-stable`},categories:{description:`The categories of content to check for moderation.`,default:{harassment:!0,harassment_threatening:!0,hate:!0,hate_threatening:!0,self_harm:!0,self_harm_instructions:!0,self_harm_intent:!0,sexual:!0,sexual_minors:!0,violence:!0,violence_graphic:!0}}},envVars:[`OPENAI_API_KEY`],result:{score:{description:`The model's confidence on primary category where the input violates the OpenAI's policy. The value is between 0 and 1, where higher values denote higher confidence.`},passed:{description:`Fails if any moderation category is flagged`}}},"ragas/bleu_score":{name:`BLEU Score`,description:`
28
+ Traditional NLP metric. BLEU score for evaluating the similarity between two strings.
29
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/traditional/#bleu-score`,isGuardrail:!1,requiredFields:[`output`,`expected_output`],optionalFields:[],settings:{},envVars:[],result:{score:{description:`BLEU similarity score`}}},"ragas/context_f1":{name:`Context F1`,description:`
30
+ Balances between precision and recall for context retrieval, increasing it means a better signal-to-noise ratio. Uses traditional string distance metrics.
31
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_F1/#non-llm-based-context-F1`,isGuardrail:!1,requiredFields:[`contexts`,`expected_contexts`],optionalFields:[],settings:{distance_measure:{description:void 0,default:`levenshtein`}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the F1 score.`}}},"ragas/context_precision":{name:`Context Precision`,description:`
32
+ Measures how accurate is the retrieval compared to expected contexts, increasing it means less noise in the retrieval. Uses traditional string distance metrics.
33
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_precision/#non-llm-based-context-precision`,isGuardrail:!1,requiredFields:[`contexts`,`expected_contexts`],optionalFields:[],settings:{distance_measure:{description:void 0,default:`levenshtein`}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the precision score.`}}},"ragas/context_recall":{name:`Context Recall`,description:`
34
+ Measures how many relevant contexts were retrieved compared to expected contexts, increasing it means more signal in the retrieval. Uses traditional string distance metrics.
35
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_recall/#non-llm-based-context-recall`,isGuardrail:!1,requiredFields:[`contexts`,`expected_contexts`],optionalFields:[],settings:{distance_measure:{description:void 0,default:`levenshtein`}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the Recall score.`}}},"ragas/factual_correctness":{name:`LLM Factual Match`,description:`
36
+ Computes with an LLM how factually similar the generated answer is to the expected output.
37
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/factual_correctness/`,isGuardrail:!1,requiredFields:[`output`,`expected_output`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048},mode:{description:`The mode to use for the factual correctness metric.`,default:`f1`},atomicity:{description:`The level of atomicity for claim decomposition.`,default:`low`},coverage:{description:`The level of coverage for claim decomposition.`,default:`low`}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating how factually similar the generated answer is to the expected output.`}}},"ragas/faithfulness":{name:`Ragas Faithfulness`,description:`
38
+ This evaluator assesses the extent to which the generated answer is consistent with the provided context. Higher scores indicate better faithfulness to the context, useful for detecting hallucinations.
39
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/faithfulness/`,isGuardrail:!1,requiredFields:[`output`,`contexts`],optionalFields:[`input`],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048},autodetect_dont_know:{description:`Whether to autodetect 'I don't know' in the output to avoid failing the evaluation.`,default:!0}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the faithfulness of the answer.`}}},"ragas/response_context_precision":{name:`Ragas Response Context Precision`,description:`
40
+ Uses an LLM to measure the proportion of chunks in the retrieved context that were relevant to generate the output or the expected output.
41
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_precision/#context-precision-without-reference`,isGuardrail:!1,requiredFields:[`input`,`contexts`],optionalFields:[`output`,`expected_output`],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the precision of the retrieved context.`}}},"ragas/response_context_recall":{name:`Ragas Response Context Recall`,description:`
42
+ Uses an LLM to measure how many of relevant documents attributable the claims in the output were successfully retrieved in order to generate an expected output.
43
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_recall/#llm-based-context-recall`,isGuardrail:!1,requiredFields:[`input`,`output`,`contexts`,`expected_output`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the recall of the retrieved context.`}}},"ragas/response_relevancy":{name:`Ragas Response Relevancy`,description:`
44
+ Evaluates how pertinent the generated answer is to the given prompt. Higher scores indicate better relevancy.
45
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/answer_relevance/`,isGuardrail:!1,requiredFields:[`input`,`output`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the relevance of the answer.`}}},"ragas/rouge_score":{name:`ROUGE Score`,description:`
46
+ Traditional NLP metric. ROUGE score for evaluating the similarity between two strings.
47
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/traditional/#rouge-score`,isGuardrail:!1,requiredFields:[`output`,`expected_output`],optionalFields:[],settings:{rouge_type:{description:`ROUGE type`,default:`rouge1`},measure_type:{description:`ROUGE measure type`,default:`fmeasure`}},envVars:[],result:{score:{description:`ROUGE similarity score`}}},"ragas/rubrics_based_scoring":{name:`Rubrics Based Scoring`,description:`
48
+ Rubric-based evaluation metric that is used to evaluate responses. The rubric consists of descriptions for each score, typically ranging from 1 to 5
49
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/general_purpose/#rubrics-based-criteria-scoring`,isGuardrail:!1,requiredFields:[`input`,`output`],optionalFields:[`expected_output`],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048},rubrics:{description:void 0,default:[{description:`The response is incorrect, irrelevant.`},{description:`The response partially answers the question but includes significant errors, omissions, or irrelevant information.`},{description:`The response partially answers the question but includes minor errors, omissions, or irrelevant information.`},{description:`The response fully answers the question and includes minor errors, omissions, or irrelevant information.`},{description:`The response fully answers the question and includes no errors, omissions, or irrelevant information.`}]}},envVars:[],result:{score:{description:`A score according to the rubrics, typically between 1 and 5.`}}},"ragas/sql_query_equivalence":{name:`SQL Query Equivalence`,description:`
50
+ Checks if the SQL query is equivalent to a reference one by using an LLM to infer if it would generate the same results given the table schemas.
51
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/sql/#sql-query-semantic-equivalence`,isGuardrail:!1,requiredFields:[`output`,`expected_output`,`expected_contexts`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{passed:{description:`Whether the SQL query is equivalent to the expected one.`}}},"ragas/summarization_score":{name:`Summarization Score`,description:`
52
+ Measures how well the summary captures important information from the retrieved contexts.
53
+ `,category:`quality`,docsUrl:`https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/summarization_score/`,isGuardrail:!1,requiredFields:[`output`,`contexts`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the summarization quality.`}}},"presidio/pii_detection":{name:`Presidio PII Detection`,description:`
54
+ Detects personally identifiable information in text, including phone numbers, email addresses, and
55
+ social security numbers. It allows customization of the detection threshold and the specific types of PII to check.
56
+ `,category:`safety`,docsUrl:`https://microsoft.github.io/presidio`,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`],settings:{entities:{description:`The types of PII to check for in the input.`,default:{credit_card:!0,crypto:!0,email_address:!0,iban_code:!0,ip_address:!0,location:!1,person:!1,phone_number:!0,medical_license:!0,us_bank_number:!1,us_driver_license:!1,us_itin:!1,us_passport:!1,us_ssn:!1,uk_nhs:!1,sg_nric_fin:!1,au_abn:!1,au_acn:!1,au_tfn:!1,au_medicare:!1,in_pan:!1,in_aadhaar:!1,in_vehicle_registration:!1,in_voter:!1,in_passport:!1}},min_threshold:{description:`The minimum confidence required for failing the evaluation on a PII match.`,default:.5}},envVars:[],result:{score:{description:`Amount of PII detected, 0 means no PII detected`},passed:{description:`If true then no PII was detected, if false then at least one PII was detected`}}},"azure/content_safety":{name:`Azure Content Safety`,description:`
57
+ This evaluator detects potentially unsafe content in text, including hate speech,
58
+ self-harm, sexual content, and violence. It allows customization of the severity
59
+ threshold and the specific categories to check.
60
+ `,category:`safety`,docsUrl:`https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quickstart-text`,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`],settings:{severity_threshold:{description:`The minimum severity level to consider content as unsafe, from 1 to 7.`,default:1},categories:{description:`The categories of moderation to check for.`,default:{Hate:!0,SelfHarm:!0,Sexual:!0,Violence:!0}},output_type:{description:`The type of severity levels to return on the full 0-7 severity scale, it can be either the trimmed version with four values (0, 2, 4, 6 scores) or the whole range.`,default:`FourSeverityLevels`}},envVars:[`AZURE_CONTENT_SAFETY_ENDPOINT`,`AZURE_CONTENT_SAFETY_KEY`],result:{score:{description:`The severity level of the detected content from 0 to 7. A higher score indicates higher severity.`}}},"azure/jailbreak":{name:`Azure Jailbreak Detection`,description:`
61
+ This evaluator checks for jailbreak-attempt in the input using Azure's Content Safety API.
62
+ `,category:`safety`,docsUrl:``,isGuardrail:!0,requiredFields:[`input`],optionalFields:[],settings:{},envVars:[`AZURE_CONTENT_SAFETY_ENDPOINT`,`AZURE_CONTENT_SAFETY_KEY`],result:{passed:{description:`If true then no jailbreak was detected, if false then a jailbreak was detected`}}},"azure/prompt_injection":{name:`Azure Prompt Shield`,description:`
63
+ This evaluator checks for prompt injection attempt in the input and the contexts using Azure's Content Safety API.
64
+ `,category:`safety`,docsUrl:`https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/jailbreak-detection`,isGuardrail:!0,requiredFields:[`input`],optionalFields:[`contexts`],settings:{},envVars:[`AZURE_CONTENT_SAFETY_ENDPOINT`,`AZURE_CONTENT_SAFETY_KEY`],result:{passed:{description:`If true then no prompt injection was detected, if false then a prompt injection was detected`}}},"lingua/language_detection":{name:`Lingua Language Detection`,description:`
65
+ This evaluator detects the language of the input and output text to check for example if the generated answer is in the same language as the prompt,
66
+ or if it's in a specific expected language.
67
+ `,category:`quality`,docsUrl:`https://github.com/pemistahl/lingua-py`,isGuardrail:!0,requiredFields:[`output`],optionalFields:[`input`],settings:{check_for:{description:`What should be checked`,default:`input_matches_output`},expected_language:{description:`The specific language that the output is expected to be`,default:void 0},min_words:{description:`Minimum number of words to check, as the language detection can be unreliable for very short texts. Inputs shorter than the minimum will be skipped.`,default:7},threshold:{description:`Minimum confidence threshold for the language detection. If the confidence is lower than this, the evaluation will be skipped.`,default:.25}},envVars:[],result:{passed:{description:`Passes if the detected language on the output matches the detected language on the input, or if the output matches the expected language`},label:{description:`Language detected on the input for input_matches_output, or language detected on the output for output_matches_language`}}},"legacy/ragas_answer_correctness":{name:`Ragas Answer Correctness`,description:`
68
+ Computes with an LLM a weighted combination of factual as well as semantic similarity between the generated answer and the expected output.
69
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/answer_correctness.html`,isGuardrail:!1,requiredFields:[`output`,`expected_output`],optionalFields:[`input`],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the correctness of the answer.`}}},"legacy/ragas_answer_relevancy":{name:`Ragas Answer Relevancy`,description:`
70
+ Evaluates how pertinent the generated answer is to the given prompt. Higher scores indicate better relevancy.
71
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/answer_relevance.html`,isGuardrail:!1,requiredFields:[`input`,`output`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the relevance of the answer.`}}},"legacy/ragas_context_precision":{name:`Ragas Context Precision`,description:`
72
+ This metric evaluates whether all of the ground-truth relevant items present in the contexts are ranked higher or not. Higher scores indicate better precision.
73
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/context_precision.html`,isGuardrail:!1,requiredFields:[`input`,`contexts`,`expected_output`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the precision of the context.`}}},"legacy/ragas_context_recall":{name:`Ragas Context Recall`,description:`
74
+ This evaluator measures the extent to which the retrieved context aligns with the annotated answer, treated as the ground truth. Higher values indicate better performance.
75
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/context_recall.html`,isGuardrail:!1,requiredFields:[`input`,`contexts`,`expected_output`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the recall of the context.`}}},"legacy/ragas_context_relevancy":{name:`Ragas Context Relevancy`,description:`
76
+ This metric gauges the relevancy of the retrieved context, calculated based on both the question and contexts. The values fall within the range of (0, 1), with higher values indicating better relevancy.
77
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/context_relevancy.html`,isGuardrail:!1,requiredFields:[`output`,`contexts`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the relevancy of the context.`}}},"legacy/ragas_context_utilization":{name:`Ragas Context Utilization`,description:`
78
+ This metric evaluates whether all of the output relevant items present in the contexts are ranked higher or not. Higher scores indicate better utilization.
79
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/context_precision.html`,isGuardrail:!1,requiredFields:[`input`,`output`,`contexts`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the utilization of the context.`}}},"legacy/ragas_faithfulness":{name:`Ragas Faithfulness`,description:`
80
+ This evaluator assesses the extent to which the generated answer is consistent with the provided context. Higher scores indicate better faithfulness to the context, useful for detecting hallucinations.
81
+ `,category:`rag`,docsUrl:`https://docs.ragas.io/en/latest/concepts/metrics/faithfulness.html`,isGuardrail:!1,requiredFields:[`output`,`contexts`],optionalFields:[],settings:{model:{description:`The model to use for evaluation.`,default:`openai/gpt-5-mini`},embeddings_model:{description:`The model to use for embeddings.`,default:`openai/text-embedding-ada-002`},max_tokens:{description:`The maximum number of tokens allowed for evaluation, a too high number can be costly. Entries above this amount will be skipped.`,default:2048}},envVars:[],result:{score:{description:`A score between 0.0 and 1.0 indicating the faithfulness of the answer.`}}},"langevals/basic":{name:`Custom Basic Evaluator`,description:`
82
+ Allows you to check for simple text matches or regex evaluation.
83
+ `,category:`custom`,docsUrl:``,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`],settings:{rules:{description:`List of rules to check, the message must pass all of them`,default:[{field:`output`,rule:`not_contains`,value:`artificial intelligence`}]}},envVars:[],result:{passed:{description:`True if all rules pass, False if any rule fails`}}},"langevals/competitor_blocklist":{name:`Competitor Blocklist`,description:`
84
+ This evaluator checks if any of the specified competitors was mentioned
85
+ `,category:`policy`,docsUrl:`https://path/to/official/docs`,isGuardrail:!0,requiredFields:[],optionalFields:[`output`,`input`],settings:{competitors:{description:`The competitors that must not be mentioned.`,default:[`OpenAI`,`Google`,`Microsoft`]}},envVars:[],result:{score:{description:`Number of competitors mentioned in the input and output`},passed:{description:`Is the message containing explicit mention of competitor`}}},"langevals/competitor_llm":{name:`Competitor Allowlist Check`,description:`
86
+ This evaluator use an LLM-as-judge to check if the conversation is related to competitors, without having to name them explicitly
87
+ `,category:`policy`,docsUrl:``,isGuardrail:!0,requiredFields:[],optionalFields:[`output`,`input`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},name:{description:`The name of your company`,default:`LangWatch`},description:{description:`Description of what your company is specializing at`,default:`We are providing an LLM observability and evaluation platform`}},envVars:[],result:{score:{description:`Confidence that the message is competitor free`},passed:{description:`Is the message related to the competitors`}}},"langevals/competitor_llm_function_call":{name:`Competitor LLM Check`,description:`
88
+ This evaluator implements LLM-as-a-judge with a function call approach to check if the message contains a mention of a competitor.
89
+ `,category:`policy`,docsUrl:``,isGuardrail:!0,requiredFields:[],optionalFields:[`output`,`input`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},name:{description:`The name of your company`,default:`LangWatch`},description:{description:`Description of what your company is specializing at`,default:`We are providing an LLM observability and evaluation platform`},competitors:{description:`The competitors that must not be mentioned.`,default:[`OpenAI`,`Google`,`Microsoft`]}},envVars:[],result:{score:{description:`Number of unique competitors mentioned`},passed:{description:`Is the message related to the competitors`}}},"langevals/exact_match":{name:`Exact Match Evaluator`,description:`
90
+ A simple evaluator that checks if the output matches the expected_output exactly.
91
+ `,category:`quality`,docsUrl:``,isGuardrail:!1,requiredFields:[],optionalFields:[`output`,`expected_output`],settings:{case_sensitive:{description:`True if the comparison should be case-sensitive, False otherwise`,default:!1},trim_whitespace:{description:`True if the comparison should trim whitespace, False otherwise`,default:!0},remove_punctuation:{description:`True if the comparison should remove punctuation, False otherwise`,default:!0}},envVars:[],result:{passed:{description:`True if the output matched the expected_output exactly, False otherwise`}}},"langevals/llm_answer_match":{name:`LLM Answer Match`,description:`
92
+ Uses an LLM to check if the generated output answers a question correctly the same way as the expected output, even if their style is different.
93
+ `,category:`quality`,docsUrl:``,isGuardrail:!1,requiredFields:[],optionalFields:[`input`,`output`,`expected_output`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},prompt:{description:`Prompt for the comparison`,default:`Verify that the predicted answer matches the gold answer for the question. Style does not matter, for example the gold answer may be more direct while the predicted answer more verbose and still be correct.`}},envVars:[],result:{passed:{description:`Whether the predicted answer matches the gold answer`}}},"langevals/llm_boolean":{name:`LLM-as-a-Judge Boolean Evaluator`,description:`
94
+ Use an LLM as a judge with a custom prompt to do a true/false boolean evaluation of the message.
95
+ `,category:`custom`,docsUrl:``,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`,`contexts`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},prompt:{description:`The system prompt to use for the LLM to run the evaluation`,default:`You are an LLM evaluator. We need the guarantee that the output answers what is being asked on the input, please evaluate as False if it doesn't`}},envVars:[],result:{passed:{description:`The veredict given by the LLM`}}},"langevals/llm_category":{name:`LLM-as-a-Judge Category Evaluator`,description:`
96
+ Use an LLM as a judge with a custom prompt to classify the message into custom defined categories.
97
+ `,category:`custom`,docsUrl:``,isGuardrail:!1,requiredFields:[],optionalFields:[`input`,`output`,`contexts`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},prompt:{description:`The system prompt to use for the LLM to run the evaluation`,default:`You are an LLM category evaluator. Please categorize the message in one of the following categories`},categories:{description:`The categories to use for the evaluation`,default:[{name:`smalltalk`,description:`Smalltalk with the user`},{name:`company`,description:`Questions about the company, what we do, etc`}]}},envVars:[],result:{label:{description:`The detected category of the message`}}},"langevals/llm_score":{name:`LLM-as-a-Judge Score Evaluator`,description:`
98
+ Use an LLM as a judge with custom prompt to do a numeric score evaluation of the message.
99
+ `,category:`custom`,docsUrl:``,isGuardrail:!1,requiredFields:[],optionalFields:[`input`,`output`,`contexts`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},prompt:{description:`The system prompt to use for the LLM to run the evaluation`,default:`You are an LLM evaluator. Please score from 0.0 to 1.0 how likely the user is to be satisfied with this answer, from 0.0 being not satisfied at all to 1.0 being completely satisfied`}},envVars:[],result:{score:{description:`The score given by the LLM, according to the prompt`}}},"langevals/off_topic":{name:`Off Topic Evaluator`,description:`
100
+ This evaluator checks if the user message is concerning one of the allowed topics of the chatbot
101
+ `,category:`policy`,docsUrl:``,isGuardrail:!0,requiredFields:[`input`],optionalFields:[],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},allowed_topics:{description:`The list of topics and their short descriptions that the chatbot is allowed to talk about`,default:[{topic:`simple_chat`,description:`Smalltalk with the user`},{topic:`company`,description:`Questions about the company, what we do, etc`}]}},envVars:[],result:{score:{description:`Confidence level of the intent prediction`},passed:{description:`Is the message concerning allowed topic`},label:{description:`The detected intent or 'other' if the intent is not in the allowed topics`}}},"langevals/pairwise_compare":{name:`Pairwise Compare (deprecated)`,description:`
102
+ Compare two candidate outputs against a reference answer and pick the
103
+ better one. Superseded by Comparison, which judges two or more candidates.
104
+ `,category:`quality`,docsUrl:``,isGuardrail:!1,requiredFields:[`candidate_a_id`,`candidate_a_output`,`candidate_b_id`,`candidate_b_output`],optionalFields:[`input`,`golden`,`candidate_a_cost`,`candidate_a_duration`,`candidate_b_cost`,`candidate_b_duration`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},prompt:{description:`Judge prompt template (golden-aware by default)`,default:`Compare two candidate outputs against a known-good reference (golden answer).
105
+
106
+ Task: {input}
107
+ Golden answer: {golden}
108
+
109
+ Candidate A: {candidate_a_output}
110
+ Candidate B: {candidate_b_output}
111
+
112
+ Reason step-by-step about how closely each candidate matches the
113
+ golden answer in correctness, completeness, and style. Then pick
114
+ the better candidate, or "tie" if equivalent.
115
+ Prefer cheaper/faster only when quality is comparable.
116
+ `},has_golden_answer:{description:`Compare each candidate against a reference answer. Turn off to have the judge compare Candidate A and Candidate B directly on their own merits, with no reference answer involved.`,default:!0},swap_and_confirm:{description:`Run two judge calls with A/B positions swapped; tie on disagreement. Doubles judge cost but materially reduces position bias (PandaLM: 68% -> 51%).`,default:!0},allow_tie:{description:`Allow the judge to return 'tie' when candidates are equivalent`,default:!0},include_metrics:{description:`Per-candidate metrics to inject into the judge prompt`,default:[]}},envVars:[],result:{score:{description:`0=A wins, 1=B wins, 0.5=tie`},label:{description:`Winner identifier: candidate_a_id, candidate_b_id, or 'tie'. Programmatic consumers can read this directly without dereferencing the evaluator's candidate slot mapping.`}}},"langevals/select_best_compare":{name:`Comparison`,description:`
117
+ Compare two or more candidate outputs and pick the best one, optionally
118
+ against a reference answer. The judge sees every candidate at once and
119
+ explains why the winner is better. Candidate order is shuffled so that a
120
+ candidate's position never sways the verdict.
121
+ `,category:`quality`,docsUrl:``,isGuardrail:!1,requiredFields:[`candidates`],optionalFields:[`input`,`golden`,`row_index`],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3},prompt:{description:`Judge prompt template. Placeholders: {input}, {golden}, {candidates} (a pre-rendered bulleted list with slot labels and optional per-candidate metrics).`,default:`Pick the best of N candidate replies to the task.
122
+
123
+ Task: {input}
124
+ Reference: {golden}
125
+
126
+ Candidates:
127
+ {candidates}
128
+
129
+ Look across the candidates and decide which one is the best reply.
130
+ Briefly explain WHY it's better than the others, then pick the winning
131
+ slot label. Use "tie" only when no candidate is clearly better.
132
+ `},has_golden_answer:{description:`Compare each candidate against a reference answer. Turn off to have the judge compare the candidates directly on their own merits, with no reference answer involved.`,default:!1},randomize_order:{description:`Shuffle candidate order per row (deterministically, seeded by row_index) before presenting them to the judge. Reduces position bias when the judge is called once per row.`,default:!0},allow_tie:{description:`Allow the judge to return 'tie' when candidates are equivalent`,default:!0},include_metrics:{description:`Per-candidate metrics to inject into the judge prompt`,default:[]}},envVars:[],result:{score:{description:`1.0 when a winner was picked, 0.5 for tie`},label:{description:`The winning candidate id (matches the id supplied in entry.candidates), or 'tie'.`}}},"langevals/query_resolution":{name:`Query Resolution`,description:`
133
+ This evaluator checks if all the user queries in the conversation were resolved. Useful to detect when the bot doesn't know how to answer or can't help the user.
134
+ `,category:`quality`,docsUrl:``,isGuardrail:!1,requiredFields:[`conversation`],optionalFields:[],settings:{model:{description:`The model to use for evaluation`,default:`openai/gpt-5-mini`},max_tokens:{description:`Max tokens allowed for evaluation`,default:128e3}},envVars:[],result:{}},"langevals/sentiment":{name:`Sentiment Evaluator`,description:`
135
+ Analyzes the sentiment of the input text by comparing its embedding similarity
136
+ to positive and negative reference phrases. Returns a score from -1.0 (very negative)
137
+ to 1.0 (very positive) and a corresponding label.
138
+ `,category:`quality`,docsUrl:``,isGuardrail:!1,requiredFields:[`input`],optionalFields:[],settings:{embeddings_model:{description:`The embeddings model to use for sentiment analysis`,default:`openai/text-embedding-3-small`},positive_reference:{description:`Reference phrase representing the positive end of the sentiment scale`,default:`Comment of a very happy and satisfied user`},negative_reference:{description:`Reference phrase representing the negative end of the sentiment scale`,default:`Comment of a user who is extremely dissatisfied`},normalization_factor:{description:`Controls sentiment sensitivity. Decrease to make scores more extreme (fewer neutrals), increase to make scores more moderate (more neutrals)`,default:.1}},envVars:[],result:{score:{description:`Sentiment score from -1.0 (very negative) to 1.0 (very positive)`},label:{description:`Sentiment label: 'positive' or 'negative'`}}},"langevals/similarity":{name:`Semantic Similarity Evaluator`,description:`
139
+ Allows you to check for semantic similarity or dissimilarity between input and output and a
140
+ target value, so you can avoid sentences that you don't want to be present without having to
141
+ match on the exact text.
142
+ `,category:`custom`,docsUrl:``,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`],settings:{field:{description:void 0,default:`output`},rule:{description:void 0,default:`is_not_similar_to`},value:{description:void 0,default:`example`},threshold:{description:void 0,default:.3},embeddings_model:{description:void 0,default:`openai/text-embedding-3-small`}},envVars:[],result:{score:{description:`How similar the input and output semantically, from 0.0 to 1.0, with 1.0 meaning the sentences are identical`},passed:{description:`Passes if the cosine similarity crosses the threshold for the defined rule`}}},"langevals/valid_format":{name:`Valid Format Evaluator`,description:`
143
+ Allows you to check if the output is a valid json, markdown, python, sql, etc.
144
+ For JSON, can optionally validate against a provided schema.
145
+ `,category:`quality`,docsUrl:``,isGuardrail:!0,requiredFields:[],optionalFields:[`output`],settings:{format:{description:void 0,default:`json`},json_schema:{description:`JSON schema to validate against when format is 'json'`,default:void 0}},envVars:[],result:{passed:{description:`True if the output is formatted correctly, False otherwise`}}}},m=`langwatch/api_keys_and_secrets_detection`,h={[m]:t({settings:t({})})},g={[m]:{name:`API Keys & Secrets Detection`,description:`Flags leaked credentials in trace content: provider and cloud API keys, tokens, private keys, and database connection strings. A secret already scrubbed by privacy redaction is still flagged.`,category:`safety`,docsUrl:void 0,isGuardrail:!0,requiredFields:[],optionalFields:[`input`,`output`],settings:{},envVars:[],result:{score:{description:`Number of secrets detected; 0 means none were found`},passed:{description:`True when no secret was detected, false when at least one was`}}}};Object.keys(g);var _=f.extend(h),v={...p,...g};export{_ as n,u as r,v as t};
146
+ //# sourceMappingURL=evaluators-DKbY-ajr.js.map
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{t as n}from"./jsx-runtime-CFwixLRt.js";import{t as r}from"./box-Ck5lef6C.js";import{t as i}from"./skeleton-YwQIu7Tp.js";import{t as a}from"./text-A3qvcMyN.js";import{An as o,Tn as s}from"./useLiteMemberGuard-ChV0lUs4.js";import{n as c}from"./toaster-CRP22oRW.js";import{I as l,q as u}from"./ExternalImage-As_YKOAz.js";import{r as d}from"./external-link-CtHzR85H.js";import{r as f}from"./UpgradeModal-DaVSEBO2.js";import{r as p,t as m}from"./card-54_vstoB.js";import{a as h,i as g,n as _,r as v,t as y}from"./empty-state-Al7XUd1I.js";import{t as b}from"./h-stack-CMPhqSp5.js";import{t as x}from"./spacer-CbmCSsJg.js";import{N as S}from"./immer-BdlOHsfO.js";import{t as C}from"./v-stack-ClAMS101.js";import{t as w}from"./DashboardLayout-cHFbN-Gk.js";import{t as T}from"./arrow-up-DVKoLGAx.js";import{t as E}from"./code-RXLqs93S.js";import{t as D}from"./refresh-cw-BNkF8mW1.js";import{n as O,u as k}from"./api-BK6L1im2.js";import{t as A}from"./src-RcSZrN9Q.js";import{Wt as j,_n as M}from"./lu-DlSq9Be4.js";import{Hn as N,Mr as P,Qn as F,Rt as I,Tr as L,V as R,w as z,z as B}from"./index-DtiounXP.js";import{t as V}from"./WithPermissionGuard-BBKTBlhW.js";import{t as H}from"./OverflownText-DITOBs56.js";import{t as U}from"./CascadeArchiveDialog-CRcsYqD3.js";import{n as W,t as G}from"./useProjectsForCopy-BPGjhWUl.js";import{t as K}from"./PushToCopiesDialog-ZhJKOmpB.js";import{t as q}from"./evaluatorEditorCallbacks-DSx3aJ6w.js";import{t as J}from"./EvaluatorApiUsageDialog-BnIwWX8t.js";import{t as Y}from"./LangyContextTarget-C6xwYVGg.js";import{t as X}from"./SetupWithAgentButton-ChiBWonD.js";var Z=e(t()),Q=n(),$=A(`CopyEvaluatorDialog`),ee=({open:e,onClose:t,onSuccess:n,evaluatorId:r,evaluatorName:i})=>{let{project:a}=I(),o=O.evaluators.copy.useMutation(),s=G(`evaluations:manage`);return a?(0,Q.jsx)(W,{open:e,onClose:t,onSuccess:n,title:`Replicate Evaluator`,entityLabel:`Evaluator`,sourceName:i,sourceId:r,sourceProjectId:a.id,projects:s,onCopy:async({projectId:e,sourceProjectId:t})=>{await o.mutateAsync({evaluatorId:r,projectId:e,sourceProjectId:t})},isLoading:o.isLoading,logError:$.error.bind($)}):null},te={evaluator:L,workflow:N},ne={evaluator:`Built-in`,workflow:`Workflow`};function re({evaluator:e,onClick:t,onEdit:n,onDelete:i,onUseFromApi:c,onReplicate:d,onPushToCopies:f,onSyncFromSource:h,onViewHistory:g}){let _=te[e.type]??L,v=ne[e.type]??e.type,[y,w]=(0,Z.useState)(!1),O=e.config?.evaluatorType,k=!!e.copiedFromEvaluatorId,A=(e._count?.copiedEvaluators??0)>0,N=()=>{c?c():w(!0)};return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Y,{target:S({evaluationId:e.id,name:e.name,noun:`evaluator`}),children:(0,Q.jsx)(p,{variant:`elevated`,onClick:t,cursor:`pointer`,height:`142px`,transition:`all 0.2s ease-in-out`,"data-testid":`evaluator-card-${e.id}`,children:(0,Q.jsx)(m,{padding:4,children:(0,Q.jsxs)(C,{align:`start`,gap:2,height:`full`,children:[(0,Q.jsxs)(b,{width:`full`,children:[(0,Q.jsx)(r,{bg:`green.subtle`,padding:1,borderRadius:`md`,children:(0,Q.jsx)(_,{size:18,color:`var(--chakra-colors-green-fg)`})}),(0,Q.jsx)(x,{}),(0,Q.jsxs)(l.Root,{children:[(0,Q.jsx)(l.Trigger,{className:`js-inner-menu`,onClick:e=>e.stopPropagation(),children:(0,Q.jsx)(o,{size:16})}),(0,Q.jsxs)(l.Content,{className:`js-inner-menu`,children:[n&&(0,Q.jsxs)(l.Item,{value:`edit`,onClick:e=>{e.stopPropagation(),n()},children:[(0,Q.jsx)(j,{size:14}),`Edit`]}),(0,Q.jsxs)(l.Item,{value:`use-from-api`,onClick:e=>{e.stopPropagation(),N()},"data-testid":`evaluator-use-api-${e.id}`,children:[(0,Q.jsx)(E,{size:14}),`Use via API`]}),k&&h&&(0,Q.jsxs)(l.Item,{value:`sync`,onClick:e=>{e.stopPropagation(),h()},children:[(0,Q.jsx)(D,{size:16}),` Update from source`]}),A&&f&&(0,Q.jsxs)(l.Item,{value:`push`,onClick:e=>{e.stopPropagation(),f()},children:[(0,Q.jsx)(T,{size:16}),` Push to replicas`]}),d&&(0,Q.jsxs)(l.Item,{value:`replicate`,onClick:e=>{e.stopPropagation(),d()},children:[(0,Q.jsx)(u,{size:16}),` Replicate to another project`]}),g&&(0,Q.jsxs)(l.Item,{value:`history`,onClick:e=>{e.stopPropagation(),g()},children:[(0,Q.jsx)(s,{size:14}),`View history`]}),i&&(0,Q.jsxs)(l.Item,{value:`delete`,color:`red.500`,onClick:e=>{e.stopPropagation(),i()},children:[(0,Q.jsx)(M,{size:14}),`Delete`]})]})]})]}),(0,Q.jsx)(x,{}),(0,Q.jsx)(H,{color:`fg`,fontSize:`sm`,fontWeight:500,lineClamp:2,width:`full`,wordBreak:`break-word`,children:e.name}),(0,Q.jsxs)(a,{color:`fg.subtle`,fontSize:`12px`,lineClamp:1,width:`full`,children:[v,O&&` • ${O}`,` •`,` `,z(new Date(e.updatedAt).getTime())]})]})})})}),(0,Q.jsx)(J,{evaluator:e,open:y,onClose:()=>w(!1)})]})}function ie(){let e=O.useContext();return O.evaluators.pushToCopies.useMutation({onSuccess:(t,n)=>{e.evaluators.getAll.invalidate({projectId:n.projectId})}})}var ae=({open:e,onClose:t,evaluatorId:n,evaluatorName:r})=>{let{project:i}=I(),a=ie(),[o,s]=(0,Z.useState)(new Set),{data:c,isLoading:l,error:u}=O.evaluators.getCopies.useQuery({projectId:i?.id??``,evaluatorId:n},{enabled:e&&!!i?.id&&!!n}),[d,f]=(0,Z.useState)([]);return(0,Z.useEffect)(()=>{c&&(f(c),s(new Set(c.map(e=>e.id))))},[c]),(0,Q.jsx)(K,{open:e,onClose:t,entityLabel:`Evaluator`,sourceName:r,copies:d,isLoading:l,error:u?{message:u.message}:null,selectedCopyIds:o,onToggleCopy:e=>{let t=new Set(o);t.has(e)?t.delete(e):t.add(e),s(t)},onPush:async()=>{if(!i)throw Error(`No project available for push`);return a.mutateAsync({evaluatorId:n,projectId:i.id,copyIds:Array.from(o)})},pushLoading:a.isLoading,onSuccess:()=>s(new Set)})};function oe(){let{project:e}=I(),{openDrawer:t,closeDrawer:n}=R(),r=O.useContext(),[o,s]=(0,Z.useState)(null),[l,u]=(0,Z.useState)(null),[p,m]=(0,Z.useState)(null),S=O.evaluators.syncFromSource.useMutation({onSuccess:(e,t)=>{r.evaluators.getAll.invalidate({projectId:t.projectId}),c.create({title:`Evaluator updated`,description:`Evaluator has been updated from source.`,type:`success`,meta:{closable:!0}})},onError:e=>{k(e)||c.create({title:`Error updating evaluator`,description:e.message??`Please try again later.`,type:`error`})}}),T=(0,Z.useCallback)(t=>{e?.id&&S.mutate({projectId:e.id,evaluatorId:t})},[e?.id,S]),E=O.evaluators.getAll.useQuery({projectId:e?.id??``},{enabled:!!e}),D=O.evaluators.getRelatedEntities.useQuery({id:o?.id??``,projectId:e?.id??``},{enabled:!!o&&!!e?.id}),A=O.evaluators.delete.useMutation({onSuccess:()=>{r.evaluators.getAll.invalidate({projectId:e?.id??``}),r.licenseEnforcement.checkLimit.invalidate()}}),j=O.evaluators.cascadeArchive.useMutation({onSuccess:t=>{s(null),r.evaluators.getAll.invalidate({projectId:e?.id??``}),r.licenseEnforcement.checkLimit.invalidate();let n=[];t.archivedWorkflow&&n.push(`1 workflow`),t.deletedMonitorsCount>0&&n.push(`${t.deletedMonitorsCount} online evaluation${t.deletedMonitorsCount>1?`s`:``}`),c.create({title:`Evaluator deleted`,description:n.length>0?`Also deleted: ${n.join(`, `)}`:void 0,type:`success`,meta:{closable:!0}})},onError:()=>{c.create({title:`Error deleting evaluator`,description:`Please try again later.`,type:`error`})}}),M=e=>{if(e.type===`code`){t(`codeEvaluatorEditor`,{evaluatorId:e.id});return}let n=e.config;t(`evaluatorEditor`,{evaluatorId:e.id,evaluatorType:n?.evaluatorType})},N=()=>{B(`evaluatorEditor`,q({onSave:()=>(n(),!0)})),t(`evaluatorCategorySelector`)},z=e=>{s(e)},V=()=>{!o||!e||(D.data?.workflow||(D.data?.monitors.length??0)>0?j.mutate({id:o.id,projectId:e.id}):A.mutate({id:o.id,projectId:e.id},{onSuccess:()=>{s(null),c.create({title:`Evaluator deleted`,type:`success`,meta:{closable:!0}})},onError:()=>{c.create({title:`Error deleting evaluator`,description:`Please try again later.`,type:`error`})}}))},H=E.data&&E.data.length>0,W=!E.isLoading&&!H;return(0,Q.jsxs)(w,{children:[(0,Q.jsxs)(f.Header,{children:[(0,Q.jsx)(f.Heading,{children:`Evaluators`}),(0,Q.jsx)(x,{}),(0,Q.jsxs)(f.HeaderButton,{onClick:N,children:[(0,Q.jsx)(F,{size:16}),` New Evaluator`]})]}),W?(0,Q.jsx)(P,{flex:1,padding:6,children:(0,Q.jsx)(g,{children:(0,Q.jsxs)(y,{children:[(0,Q.jsx)(v,{children:(0,Q.jsx)(L,{size:32})}),(0,Q.jsx)(h,{children:`No evaluators yet`}),(0,Q.jsx)(_,{children:`Create reusable scoring functions for experiments, online evaluations, and guardrails.`}),(0,Q.jsxs)(b,{gap:2,children:[(0,Q.jsxs)(f.HeaderButton,{onClick:N,children:[(0,Q.jsx)(F,{size:16}),` Create your first evaluator`]}),(0,Q.jsx)(X,{surface:`evaluators`})]})]})})}):(0,Q.jsxs)(C,{gap:6,width:`full`,align:`start`,padding:6,children:[(0,Q.jsx)(a,{color:`fg.muted`,children:`Evaluators are reusable scoring functions for experiments, online evaluations, and guardrails.`}),(0,Q.jsxs)(d,{templateColumns:`repeat(auto-fill, minmax(300px, 1fr))`,gap:4,width:`full`,children:[E.isLoading&&Array.from({length:3}).map((e,t)=>(0,Q.jsx)(i,{height:`100px`,borderRadius:`md`},t)),E.data?.map(e=>(0,Q.jsx)(re,{evaluator:e,onClick:()=>M(e),onEdit:()=>M(e),onDelete:()=>z(e),onReplicate:()=>u({id:e.id,name:e.name}),onPushToCopies:()=>m({id:e.id,name:e.name}),onSyncFromSource:()=>T(e.id),onViewHistory:()=>t(`evaluatorHistory`,{urlParams:{evaluatorId:e.id,evaluatorName:e.name}})},e.id))]})]}),(0,Q.jsx)(U,{open:!!o,onClose:()=>s(null),onConfirm:V,isLoading:j.isPending||A.isPending,isLoadingRelated:D.isLoading,entityType:`evaluator`,entityName:o?.name??``,relatedEntities:{workflows:D.data?.workflow?[D.data.workflow]:[],monitors:D.data?.monitors}}),(0,Q.jsx)(ee,{open:!!l,onClose:()=>u(null),onSuccess:()=>void r.evaluators.getAll.invalidate({projectId:e?.id??``}),evaluatorId:l?.id??``,evaluatorName:l?.name??``}),(0,Q.jsx)(ae,{open:!!p,onClose:()=>m(null),evaluatorId:p?.id??``,evaluatorName:p?.name??``})]})}var se=V(`evaluations:view`,{layoutComponent:w})(oe);export{se as default};
2
+ //# sourceMappingURL=evaluators-v4CDfsOE.js.map
@@ -0,0 +1 @@
1
+ import{GuardedExperimentsPage as e}from"./evaluations-DHmE-YCm.js";export{e as default};
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{$t as n,F as r,N as i,Q as a,Zt as o,_ as s,a as c,b as l,d as u,en as d,f,g as p,h as m,ht as h,j as g,l as _,mt as v,nt as ee,o as y,p as b,pt as x,rt as te,u as ne,v as re}from"./portal-FJIui2Z2.js";import{t as ie}from"./jsx-runtime-CFwixLRt.js";import{c as ae,n as oe,o as se,t as ce}from"./visually-hidden-Bv77dNd2.js";import{n as S}from"./icon-CkSWK_vf.js";import{i as le,n as ue}from"./dist-B6lQ-KU0.js";import{a as de}from"./split-presence-props-lKjSaAa-.js";import{i as fe}from"./field-AkuX7DGP.js";import{n as C}from"./use-field-context-Ct2EZR3u.js";import{t as w}from"./createLucideIcon-WbxVGt4j.js";import{Br as T,zr as E}from"./index-DtiounXP.js";function D(e){let{pointerNode:t,keyboardNode:n=t,onPress:o,onPressStart:s,onPressEnd:c,isValidKey:l=e=>e.key===`Enter`}=e;if(!t)return v;let u=ee(t),d=v,f=v,p=v,m=e=>({point:i(e),event:e});function _(e){s?.(m(e))}function y(e){c?.(m(e))}d=h(g(t,`pointerdown`,e=>{f(),f=h(g(u,`pointerup`,e=>{a(t,r(e))?o?.(m(e)):c?.(m(e))},{passive:!o,once:!0}),g(u,`pointercancel`,y,{passive:!c,once:!0})),te(n)&&e.pointerType===`mouse`&&e.preventDefault(),_(e)},{passive:!s}),g(n,`focus`,b));function b(){p=h(g(n,`keydown`,e=>{l(e)&&(f(),f=g(n,`keyup`,e=>{if(!l(e))return;let t=m(new u.PointerEvent(`pointerup`));o?.(t),c?.(t)}),_(new u.PointerEvent(`pointerdown`)))}),g(n,`blur`,()=>{y(new u.PointerEvent(`pointercancel`))}))}return()=>{d(),f(),p()}}var O=e=>e.ids?.root??`checkbox:${e.id}`,k=e=>e.ids?.label??`checkbox:${e.id}:label`,pe=e=>e.ids?.control??`checkbox:${e.id}:control`,A=e=>e.ids?.hiddenInput??`checkbox:${e.id}:input`,me=e=>e.getById(O(e)),j=e=>e.getById(A(e));function he(e,t){let{send:n,context:i,prop:a,computed:o,scope:s}=e,c=!!a(`disabled`),l=!!a(`readOnly`),u=!!a(`required`),d=!!a(`invalid`),f=!c&&i.get(`focused`),p=!c&&i.get(`focusVisible`),m=o(`checked`),h=o(`indeterminate`),g=i.get(`checked`),_={"data-active":x(i.get(`active`)),"data-focus":x(f),"data-focus-visible":x(p),"data-readonly":x(l),"data-hover":x(i.get(`hovered`)),"data-disabled":x(c),"data-state":h?`indeterminate`:m?`checked`:`unchecked`,"data-invalid":x(d),"data-required":x(u)};return{checked:m,disabled:c,indeterminate:h,focused:f,checkedState:g,setChecked(e){n({type:`CHECKED.SET`,checked:e,isTrusted:!1})},toggleChecked(){n({type:`CHECKED.TOGGLE`,checked:m,isTrusted:!1})},getRootProps(){return t.label({...T.root.attrs,..._,dir:a(`dir`),id:O(s),htmlFor:A(s),onPointerMove(){c||n({type:`CONTEXT.SET`,context:{hovered:!0}})},onPointerLeave(){c||n({type:`CONTEXT.SET`,context:{hovered:!1}})},onClick(e){r(e)===j(s)&&e.stopPropagation()}})},getLabelProps(){return t.element({...T.label.attrs,..._,dir:a(`dir`),id:k(s)})},getControlProps(){return t.element({...T.control.attrs,..._,dir:a(`dir`),id:pe(s),"aria-hidden":!0})},getIndicatorProps(){return t.element({...T.indicator.attrs,..._,dir:a(`dir`),hidden:!h&&!m})},getHiddenInputProps(){return t.input({id:A(s),type:`checkbox`,required:a(`required`),defaultChecked:m,disabled:c,"aria-labelledby":k(s),"aria-invalid":d,name:a(`name`),form:a(`form`),value:a(`value`),style:ce,onFocus(){n({type:`CONTEXT.SET`,context:{focused:!0,focusVisible:ue()}})},onBlur(){n({type:`CONTEXT.SET`,context:{focused:!1,focusVisible:!1}})},onClick(e){if(l){e.preventDefault();return}let t=e.currentTarget.checked;n({type:`CHECKED.SET`,checked:t,isTrusted:!0})}})}}}var{not:M}=s(),ge=re({props({props:e}){return{value:`on`,...e,defaultChecked:e.defaultChecked??!1}},initialState(){return`ready`},context({prop:e,bindable:t}){return{checked:t(()=>({defaultValue:e(`defaultChecked`),value:e(`checked`),onChange(t){e(`onCheckedChange`)?.({checked:t})}})),fieldsetDisabled:t(()=>({defaultValue:!1})),focusVisible:t(()=>({defaultValue:!1})),active:t(()=>({defaultValue:!1})),focused:t(()=>({defaultValue:!1})),hovered:t(()=>({defaultValue:!1}))}},watch({track:e,context:t,prop:n,action:r}){e([()=>n(`disabled`)],()=>{r([`removeFocusIfNeeded`])}),e([()=>t.get(`checked`)],()=>{r([`syncInputElement`])})},effects:[`trackFormControlState`,`trackPressEvent`,`trackFocusVisible`],on:{"CHECKED.TOGGLE":[{guard:M(`isTrusted`),actions:[`toggleChecked`,`dispatchChangeEvent`]},{actions:[`toggleChecked`]}],"CHECKED.SET":[{guard:M(`isTrusted`),actions:[`setChecked`,`dispatchChangeEvent`]},{actions:[`setChecked`]}],"CONTEXT.SET":{actions:[`setContext`]}},computed:{indeterminate:({context:e})=>N(e.get(`checked`)),checked:({context:e})=>_e(e.get(`checked`)),disabled:({context:e,prop:t})=>!!t(`disabled`)||e.get(`fieldsetDisabled`)},states:{ready:{}},implementations:{guards:{isTrusted:({event:e})=>!!e.isTrusted},effects:{trackPressEvent({context:e,computed:t,scope:n}){if(!t(`disabled`))return D({pointerNode:me(n),keyboardNode:j(n),isValidKey:e=>e.key===` `,onPress:()=>e.set(`active`,!1),onPressStart:()=>e.set(`active`,!0),onPressEnd:()=>e.set(`active`,!1)})},trackFocusVisible({computed:e,scope:t}){if(!e(`disabled`))return le({root:t.getRootNode?.()})},trackFormControlState({context:e,scope:t}){return ae(j(t),{onFieldsetDisabledChange(t){e.set(`fieldsetDisabled`,t)},onFormReset(){e.set(`checked`,e.initial(`checked`))}})}},actions:{setContext({context:e,event:t}){for(let n in t.context)e.set(n,t.context[n])},syncInputElement({context:e,computed:t,scope:n}){let r=j(n);r&&(se(r,t(`checked`)),r.indeterminate=N(e.get(`checked`)))},removeFocusIfNeeded({context:e,prop:t}){t(`disabled`)&&e.get(`focused`)&&(e.set(`focused`,!1),e.set(`focusVisible`,!1))},setChecked({context:e,event:t}){e.set(`checked`,t.checked)},toggleChecked({context:e,computed:t}){let n=N(t(`checked`))?!0:!t(`checked`);e.set(`checked`,n)},dispatchChangeEvent({computed:e,scope:t}){queueMicrotask(()=>{oe(j(t),{checked:e(`checked`)})})}}}});function N(e){return e===`indeterminate`}function _e(e){return N(e)?!1:!!e}var[P,F]=m({name:`CheckboxContext`,hookName:`useCheckboxContext`,providerName:`<CheckboxProvider />`}),ve=e=>e.children(F()),I=e(t(),1),L=ie(),R=(0,I.forwardRef)((e,t)=>{let n=l(F().getControlProps(),e);return(0,L.jsx)(b.div,{...n,ref:t})});R.displayName=`CheckboxControl`;function ye(e){let{value:t,onChange:n,defaultValue:r}=e,[i,a]=(0,I.useState)(r),o=t!==void 0;return[o?t:i,(0,I.useCallback)(e=>(o||a(e),n?.(e)),[o,n])]}function be(e={}){let t=fe(),{defaultValue:n,value:r,onValueChange:i,disabled:a=t?.disabled,readOnly:o,name:s,invalid:c=t?.invalid,maxSelectedValues:l}=e,u=!(a||o),d=de(i,{sync:!0}),[f,p]=ye({value:r,defaultValue:n||[],onChange:d}),m=e=>f.some(t=>String(t)===String(e)),h=e=>{m(e)?v(e):_(e)},g=l!=null&&f.length>=l,_=e=>{u&&(m(e)||g||p(f.concat(e)))},v=e=>{u&&p(f.filter(t=>String(t)!==String(e)))};return{isChecked:m,value:f,name:s,disabled:!!a,readOnly:!!o,invalid:!!c,setValue:p,addValue:_,toggleValue:h,getItemProps:e=>{let t=e.value==null?void 0:m(e.value);return{checked:t,onCheckedChange(){e.value!=null&&h(e.value)},name:s,disabled:a||g&&!t,readOnly:o,invalid:c}}}}var[z,xe]=m({name:`CheckboxGroupContext`,hookName:`useCheckboxGroupContext`,providerName:`<CheckboxGroupProvider />`,strict:!1}),Se=S(),B=(0,I.forwardRef)((e,t)=>{let[n,r]=Se(e,[`defaultValue`,`value`,`onValueChange`,`disabled`,`invalid`,`readOnly`,`name`,`maxSelectedValues`]);return(0,L.jsx)(z,{value:be(n),children:(0,L.jsx)(b.div,{ref:t,role:`group`,...r,...E.build().group.attrs})})});B.displayName=`CheckboxGroup`;var Ce=S(),V=(0,I.forwardRef)((e,t)=>{let[n,r]=Ce(e,[`value`]);return(0,L.jsx)(z,{value:n.value,children:(0,L.jsx)(b.div,{ref:t,role:`group`,...r,...E.build().group.attrs})})});V.displayName=`CheckboxGroupProvider`;var H=(0,I.forwardRef)((e,t)=>{let n=l(F().getHiddenInputProps(),e),r=C();return(0,L.jsx)(b.input,{"aria-describedby":r?.ariaDescribedby,...n,ref:t})});H.displayName=`CheckboxHiddenInput`;var U=(0,I.forwardRef)((e,t)=>{let{indeterminate:n,...r}=e,i=F(),a=l(i.getIndicatorProps(),r),o=n?i.indeterminate:i.checked;return(0,L.jsx)(b.div,{...a,hidden:!o,ref:t})});U.displayName=`CheckboxIndicator`;var W=(0,I.forwardRef)((e,t)=>{let n=l(F().getLabelProps(),e);return(0,L.jsx)(b.span,{...n,ref:t})});W.displayName=`CheckboxLabel`;var we=(e={})=>{let t=xe(),n=C(),r=(0,I.useMemo)(()=>l(t?.getItemProps({value:e.value})??{},e),[e,t]),i=(0,I.useId)(),{getRootNode:a}=f(),{dir:o}=u();return he(ne(ge,{id:i,ids:{label:n?.ids.label,hiddenInput:n?.ids.control},dir:o,disabled:n?.disabled,readOnly:n?.readOnly,invalid:n?.invalid,required:n?.required,getRootNode:a,...r}),_)},Te=S(),G=(0,I.forwardRef)((e,t)=>{let[n,r]=Te(e,[`checked`,`defaultChecked`,`disabled`,`form`,`id`,`ids`,`invalid`,`name`,`onCheckedChange`,`readOnly`,`required`,`value`]),i=we(n),a=l(i.getRootProps(),r);return(0,L.jsx)(P,{value:i,children:(0,L.jsx)(b.label,{...a,ref:t})})});G.displayName=`CheckboxRoot`;var Ee=S(),K=(0,I.forwardRef)((e,t)=>{let[{value:n},r]=Ee(e,[`value`]),i=l(n.getRootProps(),r);return(0,L.jsx)(P,{value:n,children:(0,L.jsx)(b.label,{...i,ref:t})})});K.displayName=`CheckboxRootProvider`;var q=p({Context:()=>ve,Control:()=>R,Group:()=>B,GroupProvider:()=>V,HiddenInput:()=>H,Indicator:()=>U,Label:()=>W,Root:()=>G,RootProvider:()=>K}),J=(0,I.forwardRef)(function(e,t){let r=o({key:`checkmark`,recipe:e.recipe}),[i,a]=r.splitVariantProps(e),{checked:s,indeterminate:l,disabled:u,unstyled:f,children:p,...m}=a,h=f?n:r(i);return(0,L.jsx)(d.svg,{ref:t,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`3px`,strokeLinecap:`round`,strokeLinejoin:`round`,"data-state":l?`indeterminate`:s?`checked`:`unchecked`,"data-disabled":c(u),css:[h,e.css],...m,children:l?(0,L.jsx)(`path`,{d:`M5 12h14`}):s?(0,L.jsx)(`polyline`,{points:`20 6 9 17 4 12`}):null})});J.displayName=`Checkmark`;var{withProvider:Y,withContext:X,useStyles:De,PropsProvider:Oe}=y({key:`checkbox`});Y(q.RootProvider,`root`,{forwardAsChild:!0});var ke=Y(q.Root,`root`,{forwardAsChild:!0}),Z=X(q.Label,`label`,{forwardAsChild:!0}),Q=(0,I.forwardRef)(function(e,t){let{checked:n,indeterminate:r,...i}=e,a=F(),o=De();return n&&a.checked?(0,L.jsx)(d.svg,{ref:t,asChild:!0,...i,css:[o.indicator,e.css],children:n}):r&&a.indeterminate?(0,L.jsx)(d.svg,{ref:t,asChild:!0,...i,css:[o.indicator,e.css],children:r}):(0,L.jsx)(J,{ref:t,checked:a.checked,indeterminate:a.indeterminate,disabled:a.disabled,unstyled:!0,...i,css:[o.indicator,e.css]})}),Ae=X(q.Control,`control`,{forwardAsChild:!0,defaultProps:{children:(0,L.jsx)(Q,{})}}),je=d(q.Group,{base:{display:`flex`,flexDirection:`column`,gap:`1.5`}},{forwardAsChild:!0});q.Context;var Me=q.HiddenInput,$=(0,I.forwardRef)(function(e,t){let{templateAreas:n,column:r,row:i,autoFlow:a,autoRows:o,templateRows:s,autoColumns:c,templateColumns:l,inline:u,...f}=e;return(0,L.jsx)(d.div,{...f,ref:t,css:[{display:u?`inline-grid`:`grid`,gridTemplateAreas:n,gridAutoColumns:c,gridColumn:r,gridRow:i,gridAutoFlow:a,gridAutoRows:o,gridTemplateRows:s,gridTemplateColumns:l},e.css]})});$.displayName=`Grid`;var Ne=w(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Pe=w(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]);export{je as a,Z as c,Ae as i,ke as l,Ne as n,Me as o,$ as r,Q as s,Pe as t,D as u};
2
+ //# sourceMappingURL=external-link-CtHzR85H.js.map
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{i as n,n as r,r as i}from"./portal-FJIui2Z2.js";import{t as a}from"./jsx-runtime-CFwixLRt.js";import{t as o}from"./box-Ck5lef6C.js";import{t as s}from"./text-A3qvcMyN.js";import{Cn as c}from"./useLiteMemberGuard-ChV0lUs4.js";import{a as l,i as u,n as d,o as f,r as p,s as m}from"./select-C5JAM7Gf.js";import{n as h}from"./info-CtYT35g4.js";import{t as g}from"./tooltip-CYWvZEOf.js";import{n as _}from"./toaster-CRP22oRW.js";import{$ as v,G as y,Q as b,X as x,Y as S,Z as C,et as w}from"./ExternalImage-As_YKOAz.js";import{r as T}from"./UpgradeModal-DaVSEBO2.js";import{t as E}from"./icon-button-Ce2kwA7j.js";import{a as D,r as O}from"./field-Dz4Xmo3X.js";import{t as k}from"./h-stack-CMPhqSp5.js";import{t as A}from"./v-stack-ClAMS101.js";import{t as j}from"./DashboardLayout-cHFbN-Gk.js";import{n as M}from"./api-BK6L1im2.js";import{t as N}from"./usePublicEnv-CATGNgPr.js";import{Ar as ee,Ct as P,Dt as F,Et as I,Mr as L,Qn as R,St as z,Tt as B,bt as V,g as H,ni as U,wt as W,xt as G}from"./index-DtiounXP.js";import{t as K}from"./switch-BnyTlP1L.js";import{t as q}from"./OpsPageShell-BOi49ML9.js";var J=e(t()),Y=a(),X=m({items:[{value:`EVERYONE`,label:`Everyone (default)`},{value:`ORGANIZATION`,label:`Organization`},{value:`PROJECT`,label:`Project`}]}),te={scopeKind:`ORGANIZATION`,scopeId:``,enabled:!0};function Z(e){return e.length===0?[te]:e.map(e=>e.match.organizationId?{scopeKind:`ORGANIZATION`,scopeId:e.match.organizationId,enabled:e.enabled}:e.match.projectId?{scopeKind:`PROJECT`,scopeId:e.match.projectId,enabled:e.enabled}:{scopeKind:`EVERYONE`,scopeId:``,enabled:e.enabled})}function ne(e){return e.map(e=>{let t=e.scopeId.trim();return e.scopeKind===`ORGANIZATION`?{match:{organizationId:t},enabled:e.enabled}:e.scopeKind===`PROJECT`?{match:{projectId:t},enabled:e.enabled}:{match:{},enabled:e.enabled}})}function re({open:e,onOpenChange:t,flagKey:n,initialRules:r}){let[a,c]=(0,J.useState)(()=>Z(r)),l=M.useUtils(),u=M.ops.setFeatureFlagRules.useMutation({onSuccess:async()=>{await l.ops.listFeatureFlags.invalidate(),t(!1)},onError:e=>{_.create({title:`Failed to save rules`,description:e.message,type:`error`})}}),d=(0,J.useRef)(!1);(0,J.useEffect)(()=>{e&&!d.current&&c(Z(r)),d.current=e},[e,r]);let f=(e,t)=>{c(n=>n.map((n,r)=>r===e?{...n,...t}:n))},p=()=>{c(e=>[...e,{scopeKind:`ORGANIZATION`,scopeId:``,enabled:!0}])},m=e=>{c(t=>t.filter((t,n)=>n!==e))};return(0,Y.jsx)(I,{open:e,onOpenChange:e=>t(e.open),size:`lg`,children:(0,Y.jsxs)(P,{children:[(0,Y.jsx)(B,{children:(0,Y.jsx)(F,{children:`Targeting rules`})}),(0,Y.jsx)(G,{children:(0,Y.jsxs)(A,{align:`stretch`,gap:3,children:[(0,Y.jsx)(s,{fontSize:`sm`,color:`fg.muted`,children:`Rules are evaluated top-to-bottom; the first match wins. When no rule matches, the row-level toggle is used as the fallback. Once a row exists in postgres, PostHog is no longer consulted for this flag.`}),(0,Y.jsx)(o,{children:(0,Y.jsx)(s,{fontFamily:`mono`,fontSize:`xs`,color:`fg.muted`,children:n})}),a.length===0?(0,Y.jsx)(o,{paddingY:6,paddingX:4,borderRadius:`md`,borderWidth:`1px`,borderStyle:`dashed`,borderColor:`border.muted`,children:(0,Y.jsx)(s,{fontSize:`sm`,color:`fg.muted`,textAlign:`center`,children:`No targeting rules. The row-level toggle decides the value for everyone.`})}):(0,Y.jsx)(A,{align:`stretch`,gap:2,children:a.map((e,t)=>(0,Y.jsx)(ie,{rule:e,onChange:e=>f(t,e),onRemove:()=>m(t)},t))}),(0,Y.jsxs)(i,{variant:`ghost`,size:`sm`,alignSelf:`flex-start`,onClick:p,children:[(0,Y.jsx)(R,{size:14}),` Add rule`]})]})}),(0,Y.jsxs)(W,{children:[(0,Y.jsx)(V,{asChild:!0,children:(0,Y.jsx)(i,{variant:`outline`,disabled:u.isPending,children:`Cancel`})}),(0,Y.jsx)(i,{onClick:()=>{let e=a.find(e=>e.scopeKind!==`EVERYONE`&&e.scopeId.trim()===``);if(e){_.create({title:`Missing target`,description:`Every ${e.scopeKind.toLowerCase()} rule needs an ID.`,type:`error`});return}u.mutateAsync({key:n,rules:ne(a)})},loading:u.isPending,colorPalette:`blue`,children:`Save rules`})]}),(0,Y.jsx)(z,{})]})})}function ie({rule:e,onChange:t,onRemove:n}){return(0,Y.jsxs)(k,{align:`flex-end`,gap:2,padding:2,borderRadius:`md`,borderWidth:`1px`,borderColor:`border.muted`,children:[(0,Y.jsxs)(D,{flexBasis:`180px`,flexShrink:0,children:[(0,Y.jsx)(O,{fontSize:`xs`,children:`Scope`}),(0,Y.jsxs)(u,{collection:X,value:[e.scopeKind],onValueChange:n=>{let r=n.value[0];r&&t({scopeKind:r,scopeId:r===`EVERYONE`?``:e.scopeId})},size:`sm`,children:[(0,Y.jsx)(l,{children:(0,Y.jsx)(f,{placeholder:`Pick scope`})}),(0,Y.jsx)(d,{children:X.items.map(e=>(0,Y.jsx)(p,{item:e,children:e.label},e.value))})]})]}),(0,Y.jsxs)(D,{flex:1,children:[(0,Y.jsx)(O,{fontSize:`xs`,children:e.scopeKind===`EVERYONE`?`Applies to every context`:`${e.scopeKind===`ORGANIZATION`?`Organization`:`Project`} id`}),(0,Y.jsx)(ee,{size:`sm`,fontFamily:`mono`,fontSize:`xs`,placeholder:e.scopeKind===`ORGANIZATION`?`organization_xxxx`:e.scopeKind===`PROJECT`?`project_xxxx`:``,value:e.scopeId,disabled:e.scopeKind===`EVERYONE`,onChange:e=>t({scopeId:e.target.value})})]}),(0,Y.jsxs)(D,{flexBasis:`120px`,flexShrink:0,children:[(0,Y.jsx)(O,{fontSize:`xs`,children:`Enabled`}),(0,Y.jsxs)(k,{height:`32px`,alignItems:`center`,children:[(0,Y.jsx)(K,{checked:e.enabled,onCheckedChange:e=>t({enabled:e.checked})}),(0,Y.jsx)(s,{fontSize:`xs`,children:e.enabled?`on`:`off`})]})]}),(0,Y.jsx)(E,{"aria-label":`Remove rule`,size:`sm`,variant:`ghost`,onClick:n,children:(0,Y.jsx)(y,{size:14})})]})}function ae(){let{scope:e}=H(),t=e?.kind===`platform`,i=!!N().data?.IS_SAAS,a=M.ops.listFeatureFlags.useQuery(void 0,{refetchInterval:3e4}),c=M.useUtils(),l=M.ops.setFeatureFlag.useMutation({onSuccess:async()=>{await c.ops.listFeatureFlags.invalidate()},onError:e=>{_.create({title:`Failed to update flag`,description:e.message,type:`error`})}}),u=M.ops.clearFeatureFlag.useMutation({onSuccess:async()=>{await c.ops.listFeatureFlags.invalidate()},onError:e=>{_.create({title:`Failed to clear override`,description:e.message,type:`error`})}}),d=(0,J.useMemo)(()=>se(a.data?.flags??[]),[a.data]);return a.isLoading?(0,Y.jsx)(L,{paddingY:20,children:(0,Y.jsx)(n,{})}):a.error?(0,Y.jsx)(L,{paddingY:20,children:(0,Y.jsx)(s,{color:`red.500`,children:a.error.message})}):(0,Y.jsxs)(r,{gap:8,paddingY:4,maxWidth:`1200px`,children:[(0,Y.jsx)(o,{children:(0,Y.jsxs)(s,{fontSize:`sm`,color:`fg.muted`,children:[`System-scoped flags are kill switches and pipeline toggles served from this LangWatch postgres database. They never round-trip to PostHog, so flipping them is fast and free.`,` `,i?`Product-scoped flags still resolve through PostHog for user targeting and A/B tests; postgres values here only apply as an emergency override.`:`Product-scoped flags fall back to this postgres store when PostHog is not configured.`]})}),(0,Y.jsx)(Q,{heading:`System`,description:`Backend kill switches and pipeline toggles. Always resolved from postgres, env, or registry default. PostHog is never consulted.`,rows:d.system,canManage:t,isSaas:i,onToggle:({key:e,enabled:t})=>l.mutateAsync({key:e,enabled:t}),onClear:({key:e})=>u.mutateAsync({key:e}),pendingKey:(l.isPending?l.variables?.key:void 0)??(u.isPending?u.variables?.key:void 0)}),(0,Y.jsx)(Q,{heading:`Product`,description:i?`UI features and A/B tests. Source of truth is PostHog; postgres value here is an emergency override only.`:`UI features. On this self-hosted install, the postgres value here is the source of truth.`,rows:d.product,canManage:t,isSaas:i,onToggle:({key:e,enabled:t})=>l.mutateAsync({key:e,enabled:t}),onClear:({key:e})=>u.mutateAsync({key:e}),pendingKey:(l.isPending?l.variables?.key:void 0)??(u.isPending?u.variables?.key:void 0)}),a.data?.families&&a.data.families.length>0&&(0,Y.jsxs)(o,{children:[(0,Y.jsx)(U,{size:`sm`,mb:2,children:`Flag families`}),(0,Y.jsx)(s,{fontSize:`xs`,color:`fg.muted`,mb:3,children:`Dynamically-named flags that share a key prefix. Individual instances appear inline above once a postgres row exists.`}),(0,Y.jsxs)(v,{size:`sm`,variant:`line`,children:[(0,Y.jsx)(b,{children:(0,Y.jsxs)(w,{children:[(0,Y.jsx)(C,{children:`Prefix`}),(0,Y.jsx)(C,{children:`Scope`}),(0,Y.jsx)(C,{children:`Default`}),(0,Y.jsx)(C,{children:`Description`})]})}),(0,Y.jsx)(S,{children:a.data.families.map(e=>(0,Y.jsxs)(w,{children:[(0,Y.jsx)(x,{children:(0,Y.jsxs)(`code`,{children:[e.keyPrefix,`*`]})}),(0,Y.jsx)(x,{children:(0,Y.jsx)($,{scope:e.scope})}),(0,Y.jsx)(x,{children:e.defaultValue?`on`:`off`}),(0,Y.jsx)(x,{children:e.description})]},e.keyPrefix))})]})]})]})}function Q({heading:e,description:t,rows:n,canManage:r,isSaas:i,onToggle:a,onClear:c,pendingKey:l}){return(0,Y.jsxs)(o,{children:[(0,Y.jsx)(U,{size:`md`,mb:1,children:e}),(0,Y.jsx)(s,{fontSize:`xs`,color:`fg.muted`,mb:3,children:t}),n.length===0?(0,Y.jsx)(s,{fontSize:`sm`,color:`fg.muted`,fontStyle:`italic`,children:`No flags registered.`}):(0,Y.jsxs)(v,{size:`sm`,variant:`line`,children:[(0,Y.jsx)(b,{children:(0,Y.jsxs)(w,{children:[(0,Y.jsx)(C,{children:`Flag`}),(0,Y.jsx)(C,{children:`Effective`}),(0,Y.jsx)(C,{children:`Source`}),(0,Y.jsx)(C,{children:`Default`}),(0,Y.jsx)(C,{children:`Last edit`})]})}),(0,Y.jsx)(S,{children:n.map(e=>(0,Y.jsx)(oe,{row:e,canManage:r,showProductWarning:i&&e.scope===`PRODUCT`,onToggle:a,onClear:c,pending:l===e.key},e.key))})]})]})}function oe({row:e,canManage:t,showProductWarning:n,onToggle:r,onClear:a,pending:o}){let[l,u]=(0,J.useState)(null),[d,f]=(0,J.useState)(!1),p=e.envOverride!==null,m=l??e.effective,_=e.rules.length,v=p?`env override`:_>0?`postgres + rules`:e.storedValue===null?`registry default`:`postgres`,y=null,b=new Map,S=new Map;for(let t of e.rules){if(!t.match.organizationId&&!t.match.projectId){y=t.enabled;break}t.match.organizationId&&!b.has(t.match.organizationId)&&b.set(t.match.organizationId,t.enabled),t.match.projectId&&!S.has(t.match.projectId)&&S.set(t.match.projectId,t.enabled)}let C=new Set(Array.from(b.entries()).filter(([,e])=>e).map(([e])=>e)),T=new Set(Array.from(S.entries()).filter(([,e])=>e).map(([e])=>e)),D=y===!0,O=!m&&(D||C.size>0||T.size>0),j=D?`Enabled for everyone via rule`:[C.size>0&&`${C.size} organization${C.size===1?``:`s`}`,T.size>0&&`${T.size} project${T.size===1?``:`s`}`].filter(Boolean).join(`, `),M=!m&&j?D?j:`Enabled for ${j}`:null,N=async t=>{u(t);try{await r({key:e.key,enabled:t})}catch{}finally{u(null)}};return(0,Y.jsxs)(w,{children:[(0,Y.jsx)(x,{children:(0,Y.jsxs)(A,{align:`start`,gap:0,children:[(0,Y.jsxs)(k,{gap:2,children:[(0,Y.jsx)(s,{fontFamily:`mono`,fontSize:`xs`,children:e.key}),(0,Y.jsx)($,{scope:e.scope}),n&&(0,Y.jsx)(g,{content:`PRODUCT flags normally resolve through PostHog. Setting a postgres value here will override PostHog for every caller; emergency use only.`,children:(0,Y.jsx)(h,{colorPalette:`yellow`,size:`sm`,variant:`subtle`,children:`PostHog managed`})})]}),(0,Y.jsx)(s,{fontSize:`xs`,color:`fg.muted`,children:e.description})]})}),(0,Y.jsxs)(x,{children:[(0,Y.jsxs)(A,{align:`start`,gap:1,children:[(0,Y.jsxs)(k,{gap:2,children:[(0,Y.jsx)(K,{checked:m||O,disabled:!t||p||o,onCheckedChange:e=>void N(e.checked),css:O?{"& [data-part='control'][data-state='checked']":{background:`green.500`}}:void 0}),t&&!p&&(0,Y.jsx)(g,{content:_===0?`Specific targeting`:`Specific targeting (${_} rule${_===1?``:`s`})`,children:(0,Y.jsx)(E,{"aria-label":`Specific targeting`,size:`xs`,variant:`ghost`,onClick:()=>f(!0),color:`gray.500`,children:(0,Y.jsx)(c,{size:14})})}),p&&(0,Y.jsx)(g,{content:`Locked by env override (${e.envOverride?`1`:`0`}). The toggle is disabled because the env var wins over postgres.`,children:(0,Y.jsx)(h,{colorPalette:`orange`,size:`sm`,variant:`subtle`,children:`env override`})})]}),M&&(0,Y.jsx)(s,{fontSize:`xs`,color:`fg.muted`,children:M})]}),(0,Y.jsx)(re,{open:d,onOpenChange:f,flagKey:e.key,initialRules:e.rules})]}),(0,Y.jsx)(x,{children:(0,Y.jsx)(s,{fontSize:`xs`,children:v})}),(0,Y.jsx)(x,{children:(0,Y.jsx)(s,{fontSize:`xs`,children:e.defaultValue?`on`:`off`})}),(0,Y.jsx)(x,{children:e.storedValue===null?(0,Y.jsx)(s,{fontSize:`xs`,color:`fg.muted`,children:`never`}):(0,Y.jsxs)(A,{align:`start`,gap:0,children:[(0,Y.jsx)(s,{fontSize:`xs`,children:e.updatedAt?new Date(e.updatedAt).toLocaleString():``}),(0,Y.jsxs)(k,{gap:2,children:[(0,Y.jsx)(s,{fontSize:`xs`,color:`fg.muted`,children:e.lastEditedBy??`unknown`}),t&&(0,Y.jsx)(i,{type:`button`,variant:`plain`,size:`xs`,fontSize:`xs`,color:`blue.500`,textDecoration:`underline`,paddingX:0,height:`auto`,minWidth:`auto`,disabled:o,onClick:()=>{a({key:e.key}).catch(()=>{})},children:`clear`})]})]})})]})}function $({scope:e}){return(0,Y.jsx)(h,{colorPalette:e===`SYSTEM`?`purple`:`blue`,size:`sm`,variant:`subtle`,children:e})}function se(e){return e.reduce((e,t)=>(t.scope===`SYSTEM`?e.system.push(t):e.product.push(t),e),{system:[],product:[]})}function ce(){return(0,Y.jsx)(q,{children:(0,Y.jsxs)(j,{children:[(0,Y.jsx)(T.Header,{children:(0,Y.jsx)(T.Heading,{children:`Feature Flags`})}),(0,Y.jsx)(T.Container,{children:(0,Y.jsx)(ae,{})})]})})}export{ce as default};
2
+ //# sourceMappingURL=feature-flags-BDyiuat4.js.map
@@ -0,0 +1,3 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{en as n}from"./portal-FJIui2Z2.js";import{t as r}from"./jsx-runtime-CFwixLRt.js";import{t as i}from"./src-RcSZrN9Q.js";import{Cn as a,Fn as o,Sn as s,Tn as c,_n as l,an as u,bn as d,cn as f,dn as p,fn as m,gn as h,hn as g,in as _,ln as v,rn as y,un as b,wn as x,xn as S}from"./index-DtiounXP.js";var ee=r(),C=e(t(),1),w=(0,C.forwardRef)(function(e,t){let{direction:r,align:i,justify:a,wrap:o,basis:s,grow:c,shrink:l,inline:u,...d}=e;return(0,ee.jsx)(n.div,{ref:t,...d,css:{display:u?`inline-flex`:`flex`,flexDirection:r,alignItems:i,justifyContent:a,flexWrap:o,flexBasis:s,flexGrow:c,flexShrink:l,...e.css}})});w.displayName=`Flex`;function te(e,t){if(Object.is(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}var{useRef:ne}=C.default;function re(e){let t=ne();return n=>{let r=e(n);return te(t.current,r)?t.current:t.current=r}}var T=v(`type`,[l({type:m(`source`),sourceId:S(),path:_(S())}),l({type:m(`value`),value:S()})]),ie=l({type:m(`prompt`),promptId:S(),systemPrompt:S(),messages:_(l({role:b([`user`,`assistant`]),content:S()})),model:S().optional(),temperature:h().optional(),maxTokens:h().optional()}),ae=v(`type`,[l({type:m(`none`)}),l({type:m(`bearer`),token:S()}),l({type:m(`api_key`),header:S(),value:S()}),l({type:m(`basic`),username:S(),password:S().optional()})]),oe=v(`type`,[ie,l({type:m(`http`),agentId:S(),url:S(),method:S(),headers:_(l({key:S(),value:S()})),auth:ae.optional(),bodyTemplate:S().optional(),outputPath:S().optional(),scenarioMappings:d(S(),T).optional()}),l({type:m(`code`),agentId:S(),code:S(),inputs:_(l({identifier:S(),type:S()})),outputs:_(l({identifier:S(),type:S()})),scenarioMappings:d(S(),T).optional(),scenarioOutputField:S().optional(),secrets:d(S(),S()).default({})}),l({type:m(`workflow`),agentId:S(),workflowId:S(),workflow:d(S(),x()),inputs:_(l({identifier:S(),type:S()})),outputs:_(l({identifier:S(),type:S()})),scenarioMappings:d(S(),T).optional(),scenarioOutputField:S().optional(),secrets:d(S(),S()).default({})})]),E=l({api_key:S(),model:S()}).catchall(S()),se=l({id:S(),name:S(),situation:S(),criteria:_(S()),labels:_(S())}),ce=l({projectId:S(),scenarioId:S(),setId:S(),batchRunId:S(),scenarioRunId:S().optional()});l({defaultModel:S(),defaultParams:E,nlpServiceUrl:S()}),l({endpoint:S(),apiKey:S()});var le=l({type:b([`prompt`,`http`,`code`,`workflow`]),referenceId:S()});l({success:u(),runId:S().optional(),reasoning:S().optional(),error:S().optional(),cancelled:u().optional()}),l({context:ce,scenario:se,scenarioRunId:S().optional(),adapterData:oe,modelParams:E,simulatorModelParams:E.optional(),judgeModelParams:E.optional(),nlpServiceUrl:S(),target:le});var ue=a([m(`system`),m(`developer`),m(`user`),m(`assistant`),m(`function`),m(`tool`),m(`unknown`)]),de=l({name:S().optional(),arguments:S().optional()}),fe=l({id:S(),type:S(),function:de}),D=l({document_id:S().optional().nullable(),chunk_id:S().optional().nullable(),content:a([S(),d(S(),y()),_(y())])});l({traceId:S(),contexts:_(D)});var O=a([l({type:m(`text`),text:S().optional(),content:S().optional()}),l({text:S()}),l({type:m(`image_url`),image_url:l({url:S(),detail:a([m(`auto`),m(`low`),m(`high`)]).optional()}).optional()}),l({type:m(`tool_call`),toolName:S().optional(),toolCallId:S().optional(),args:S().optional()}),l({type:m(`tool_result`),toolName:S().optional(),toolCallId:S().optional(),result:y().optional()}),l({type:m(`binary`),mimeType:S(),data:S().optional(),url:S().optional(),id:S().optional(),filename:S().optional()}),l({type:m(`input_audio`),input_audio:l({data:S().optional(),format:S().optional(),url:S().optional(),mimeType:S().optional(),id:S().optional()})}),l({type:m(`audio`),source:l({type:a([m(`url`),m(`data`)]),value:S(),mimeType:S().optional()})}),l({type:m(`image`),image:S(),mediaType:S().optional()}),l({type:m(`file`),mediaType:S(),data:S().optional(),url:S().optional(),filename:S().optional()}),l({type:m(`file`),file:l({file_data:S().optional(),file_id:S().optional(),filename:S().optional()})})]),k=l({role:ue.optional(),content:a([S(),_(O)]).optional().nullable(),parts:_(O).optional(),function_call:de.optional().nullable(),tool_calls:_(fe).optional().nullable(),tool_call_id:S().optional().nullable(),name:S().optional().nullable(),reasoning_content:S().optional().nullable()}),pe=l({type:m(`text`),value:S()}),me=l({type:m(`raw`),value:S()}),he=a([S(),h(),u(),d(S(),y()),_(y())]).nullable(),ge=l({type:m(`json`),value:he}),_e=l({currency:S(),amount:h()}),A=l({status:a([m(`processed`),m(`skipped`),m(`error`)]),passed:u().optional().nullable(),score:h().optional().nullable(),label:S().optional().nullable(),details:S().optional().nullable(),cost:_e.optional().nullable()}),ve=l({type:m(`guardrail_result`),value:A}),ye=l({type:m(`evaluation_result`),value:A}),be=l({type:m(`chat_messages`),value:_(k)}),j=p(()=>a([pe,be,ve,ye,ge,me,l({type:m(`list`),value:_(j)})])),M=l({has_error:m(!0),message:S(),stacktrace:_(S())}),xe=l({prompt_tokens:h().optional().nullable(),completion_tokens:h().optional().nullable(),reasoning_tokens:h().optional().nullable(),cache_read_input_tokens:h().optional().nullable(),cache_creation_input_tokens:h().optional().nullable(),tokens_estimated:u().optional().nullable(),cost:h().optional().nullable()}),Se=l({frequency_penalty:h().optional().nullable(),logit_bias:d(S(),h()).optional().nullable(),logprobs:u().optional().nullable(),top_logprobs:h().optional().nullable(),max_tokens:h().optional().nullable(),n:h().optional().nullable(),presence_penalty:h().optional().nullable(),seed:h().optional().nullable(),stop:a([S(),_(S())]).optional().nullable(),stream:u().optional().nullable(),temperature:h().optional().nullable(),top_p:h().optional().nullable(),tools:_(d(S(),y())).optional().nullable(),tool_choice:a([d(S(),y()),S()]).optional().nullable(),parallel_tool_calls:u().optional().nullable(),functions:_(d(S(),y())).optional().nullable(),user:S().optional().nullable(),reasoning_effort:S().optional().nullable()}).and(d(S(),y())),Ce=l({ignore_timestamps_on_write:u().optional().nullable(),started_at:h(),first_token_at:h().optional().nullable(),finished_at:h()}),we=a([m(`span`),m(`llm`),m(`chain`),m(`tool`),m(`agent`),m(`rag`),m(`guardrail`),m(`evaluation`),m(`workflow`),m(`component`),m(`module`),m(`server`),m(`client`),m(`producer`),m(`consumer`),m(`task`),m(`unknown`)]),N=l({span_id:S(),parent_id:S().optional().nullable(),trace_id:S(),type:we,name:S().optional().nullable(),input:j.optional().nullable(),output:j.optional().nullable(),error:M.optional().nullable(),timestamps:Ce,metrics:xe.optional().nullable(),params:Se.optional().nullable()}),P=N.extend({type:m(`llm`),vendor:S().optional().nullable(),model:S().optional().nullable()}),F=N.extend({type:m(`rag`),contexts:_(D)}),Te=a([P,F,N]),I=j.and(l({value:y()}));a([P.omit({input:!0,output:!0,params:!0}),F.omit({input:!0,output:!0,params:!0}),N.omit({input:!0,output:!0,params:!0})]).and(l({input:I.optional().nullable(),output:I.optional().nullable(),params:d(S(),y()).optional().nullable()}));var Ee=l({value:S()}),De=l({value:S()}),L=a([S(),h(),u(),s()]).nullable(),R=l({thread_id:S().optional().nullable(),user_id:S().optional().nullable(),customer_id:S().optional().nullable(),labels:_(S()).optional().nullable(),topic_id:S().optional().nullable(),subtopic_id:S().optional().nullable(),sdk_name:S().optional().nullable(),sdk_version:S().optional().nullable(),sdk_language:S().optional().nullable(),telemetry_sdk_language:S().optional().nullable(),telemetry_sdk_name:S().optional().nullable(),telemetry_sdk_version:S().optional().nullable(),prompt_ids:_(S()).optional().nullable(),prompt_version_ids:_(S()).optional().nullable()});d(S(),R.keyof());var Oe=d(S(),a([L,_(L),d(S(),L),d(S(),d(S(),L))])),ke=R.and(Oe),z=l({event_id:S(),event_type:S(),project_id:S(),metrics:d(S(),h()),event_details:d(S(),S()),trace_id:S(),timestamps:l({started_at:h(),inserted_at:h(),updated_at:h()})});z.omit({metrics:!0,event_details:!0}).and(l({metrics:_(l({key:S(),value:h()})),event_details:_(l({key:S(),value:S()}))}));var Ae=a([m(`scheduled`),m(`in_progress`),m(`error`),m(`skipped`),m(`processed`)]),B=l({evaluation_id:S(),evaluator_id:S(),span_id:S().optional().nullable(),name:S(),type:S().optional().nullable(),is_guardrail:u().optional().nullable(),evaluation_thread_id:S().optional().nullable(),status:Ae,passed:u().optional().nullable(),score:h().optional().nullable(),label:S().optional().nullable(),details:S().optional().nullable(),inputs:d(S(),y()).optional().nullable(),error:M.optional().nullable(),retries:h().optional().nullable(),timestamps:l({ignore_timestamps_on_write:u().optional().nullable(),inserted_at:h().optional().nullable(),started_at:h().optional().nullable(),finished_at:h().optional().nullable(),updated_at:h().optional().nullable()})}),je=B.omit({evaluation_id:!0,evaluator_id:!0,status:!0,timestamps:!0,retries:!0}).and(l({evaluation_id:S().optional().nullable(),evaluator_id:S().optional().nullable(),status:a([m(`processed`),m(`skipped`),m(`error`)]).optional().nullable(),timestamps:l({started_at:h().optional().nullable(),finished_at:h().optional().nullable()}).optional().nullable()})),Me=l({droppedCategories:_(S()).optional()});l({trace_id:S(),project_id:S(),metadata:ke,privacy:Me.optional(),timestamps:l({started_at:h(),inserted_at:h(),updated_at:h()}),input:Ee.optional(),output:De.optional(),contexts:_(D).optional(),expected_output:l({value:S()}).optional(),metrics:l({first_token_ms:h().optional().nullable(),total_time_ms:h().optional().nullable(),prompt_tokens:h().optional().nullable(),completion_tokens:h().optional().nullable(),reasoning_tokens:h().optional().nullable(),cache_read_input_tokens:h().optional().nullable(),cache_creation_input_tokens:h().optional().nullable(),total_cost:h().optional().nullable(),tokens_estimated:u().optional().nullable()}).optional(),error:M.optional().nullable(),indexing_md5s:_(S()).optional(),events:_(z).optional(),evaluations:_(B).optional(),spans:_(Te),redacted_by_visibility_window:u().optional()}).omit({timestamps:!0,indexing_md5s:!0}).and(l({timestamps:l({started_at:S(),inserted_at:S(),updated_at:S()}),ascii_tree:S()})),l({trace_id:a([S(),s()]).optional().nullable(),spans:_(Te),metadata:l({user_id:a([S(),s()]).optional().nullable(),thread_id:a([S(),s()]).optional().nullable(),customer_id:a([S(),s()]).optional().nullable(),labels:a([_(S()),s()]).optional().nullable(),sdk_version:a([S(),s()]).optional().nullable(),sdk_language:a([S(),s()]).optional().nullable()}).and(Oe).optional(),expected_output:S().optional().nullable(),evaluations:_(je).optional()}).omit({spans:!0}),z.omit({event_id:!0,project_id:!0,timestamps:!0,event_details:!0}).and(l({event_id:S().optional(),event_details:d(S(),S().nullable()).optional(),timestamp:h().optional()})),l({id:S()}).and(d(S(),y())),l({id:S().optional()}).and(d(S(),y()));var V=a([m(`string`),m(`boolean`),m(`number`),m(`date`),m(`list`),m(`json`),m(`spans`),m(`rag_contexts`),m(`chat_messages`),m(`annotations`),m(`evaluations`),m(`image`)]),H=_(l({name:S(),type:V}));_(l({name:S(),type:V,sourceHeader:S()})).superRefine((e,t)=>{let n=new Set;e.forEach((e,r)=>{e.name.trim()===``&&t.addIssue({code:c.custom,message:`column name must not be blank`,path:[r,`name`]}),n.has(e.name)&&t.addIssue({code:c.custom,message:`duplicate column name: ${e.name}`,path:[r,`name`]}),n.add(e.name)})});var Ne=l({name:S().min(1),columnTypes:H}),Pe=l({label:S().optional(),value:S().optional(),reason:S().optional(),name:S().optional(),traceId:S().optional()}),Fe=l({name:S(),type:S().optional().nullable(),passed:u().optional().nullable(),score:h().nullable(),label:S().optional().nullable()}),Ie=a([S(),h(),u(),g()]),U=p(()=>a([Ie,_(U),d(U)])),W=a([N.omit({trace_id:!0,timestamps:!0,metrics:!0,params:!0}).extend({params:d(S(),y()),model:S().optional()}),P.omit({trace_id:!0,timestamps:!0,metrics:!0,params:!0}).extend({params:d(S(),y()),model:S().optional()}),F.omit({trace_id:!0,timestamps:!0,metrics:!0,params:!0}).extend({params:d(S(),y()),model:S().optional()})]);S().optional().nullable(),u().optional().nullable(),h().optional().nullable(),f().optional().nullable(),_(U.optional().nullable()).optional().nullable(),U.optional().nullable(),_(W).optional().nullable(),a([_(D),_(S())]).optional().nullable(),_(k).optional().nullable(),_(Pe).optional().nullable(),_(Fe).optional().nullable(),S().url().optional().nullable();var Le=l({entries:_(l({id:S()}).and(d(y())))}),Re=[`str`,`image`,`float`,`int`,`bool`,`list`,`list[str]`,`list[float]`,`list[int]`,`list[bool]`,`dict`,`json_schema`,`chat_messages`,`signature`,`llm`,`prompting_technique`,`dataset`,`code`],ze=[`component`,`evaluator`,`workflow`],G=l({model:S(),temperature:h().optional(),max_tokens:h().optional(),top_p:h().optional(),frequency_penalty:h().optional(),presence_penalty:h().optional(),seed:h().optional(),top_k:h().optional(),min_p:h().optional(),repetition_penalty:h().optional(),reasoning:S().optional(),reasoning_effort:S().optional(),thinkingLevel:S().optional(),effort:S().optional(),verbosity:S().optional(),litellm_params:d(S()).optional()}),Be=l({id:S().optional(),name:S().optional(),inline:l({records:d(_(y())),columnTypes:_(l({id:S().optional(),name:S(),type:V}))}).optional()}),Ve=l({workflow_id:S().optional(),experiment_id:S().optional(),spec_version:S(),name:S(),icon:S(),description:S(),version:S().regex(/^\d+(\.\d+)?$/,`Version must be in the format 'number.number' (e.g. 1.0)`),nodes:_(y()),edges:_(y()),default_llm:G.nullish(),workflow_type:b(ze).optional()}).passthrough(),K=l({identifier:S(),type:b(Re),optional:u().optional(),value:x().optional(),desc:S().optional(),prefix:S().optional(),hidden:u().optional(),json_schema:l({}).passthrough().optional()}),q=l({_library_ref:S().optional(),name:S().optional(),description:S().optional(),cls:S().optional(),parameters:_(K).optional(),inputs:_(K).optional(),outputs:_(K).optional(),isCustom:u().optional(),behave_as:m(`evaluator`).optional()}),He=l({role:b([`system`,`user`,`assistant`]).optional(),content:S().optional()});q.extend({configId:S().optional(),handle:S().nullable().optional(),versionMetadata:l({versionId:S(),versionNumber:h(),versionCreatedAt:S()}).optional(),llm:G.optional(),prompt:S().optional(),messages:_(He).optional(),promptDraft:u().optional()});var Ue=l({identifier:m(`code`),type:m(`code`),value:S(),optional:u().optional(),desc:S().optional(),prefix:S().optional(),hidden:u().optional()});q.extend({parameters:_(a([Ue,K])).refine(e=>e?.some(e=>e.identifier===`code`&&e.type===`code`),{message:`Code component must have a 'code' parameter with type 'code'`}),scenarioMappings:d(S(),T).optional(),scenarioOutputField:S().optional()}),q.extend({isCustom:u().optional(),workflow_id:S().optional(),publishedId:S().optional(),version_id:S().optional(),versions:d(y()).optional(),scenarioMappings:d(S(),T).optional(),scenarioOutputField:S().optional()});var J=l({key:S(),value:S()}),Y=v(`type`,[l({type:m(`none`)}),l({type:m(`bearer`),token:S()}),l({type:m(`api_key`),header:S(),value:S()}),l({type:m(`basic`),username:S(),password:S()})]),X=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`];q.extend({url:S().min(1,`URL is required`),method:b(X).default(`POST`),headers:_(J).optional(),auth:Y.optional(),bodyTemplate:S().optional(),outputPath:S().optional(),timeoutMs:h().positive().optional(),scenarioMappings:d(S(),T).optional()});var We=[`str`,`float`,`bool`,`image`,`list`,`list[str]`,`list[float]`,`list[int]`,`list[bool]`,`dict`,`chat_messages`],Ge=[`str`,`float`,`bool`,`json_schema`],Z=typeof global==`object`&&global&&global.Object===Object&&global,Ke=typeof self==`object`&&self&&self.Object===Object&&self,qe=Z||Ke||Function(`return this`)(),Q=qe.Symbol,Je=Object.prototype,Ye=Je.hasOwnProperty,Xe=Je.toString,$=Q?Q.toStringTag:void 0;function Ze(e){var t=Ye.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch{}var i=Xe.call(e);return r&&(t?e[$]=n:delete e[$]),i}var Qe=Object.prototype.toString;function $e(e){return Qe.call(e)}var et=`[object Null]`,tt=`[object Undefined]`,nt=Q?Q.toStringTag:void 0;function rt(e){return e==null?e===void 0?tt:et:nt&&nt in Object(e)?Ze(e):$e(e)}function it(e){return typeof e==`object`&&!!e}function at(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ot=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,st=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=ot[n[e]&63];return t};async function ct(e,t){let n=e.getReader(),r;for(;!(r=await n.read()).done;)t(r.value)}function lt(e){let t,n,r,i=!1;return function(a){t===void 0?(t=a,n=0,r=-1):t=dt(t,a);let o=t.length,s=0;for(;n<o;){i&&=(t[n]===10&&(s=++n),!1);let a=-1;for(;n<o&&a===-1;++n)switch(t[n]){case 58:r===-1&&(r=n-s);break;case 13:i=!0;case 10:a=n;break}if(a===-1)break;e(t.subarray(s,a),r),s=n,r=-1}s===o?t=void 0:s!==0&&(t=t.subarray(s),n-=s)}}function ut(e,t,n){let r=ft(),i=new TextDecoder;return function(a,o){if(a.length===0)n?.(r),r=ft();else if(o>0){let n=i.decode(a.subarray(0,o)),s=o+(a[o+1]===32?2:1),c=i.decode(a.subarray(s));switch(n){case`data`:r.data=r.data?r.data+`
2
+ `+c:c;break;case`event`:r.event=c;break;case`id`:e(r.id=c);break;case`retry`:let n=parseInt(c,10);isNaN(n)||t(r.retry=n);break}}}}function dt(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function ft(){return{data:``,event:``,id:``,retry:void 0}}var pt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},mt=`text/event-stream`,ht=1e3,gt=`last-event-id`;function _t(e,t){var{signal:n,headers:r,onopen:i,onmessage:a,onclose:o,onerror:s,openWhenHidden:c,fetch:l}=t,u=pt(t,[`signal`,`headers`,`onopen`,`onmessage`,`onclose`,`onerror`,`openWhenHidden`,`fetch`]);return new Promise((t,d)=>{let f=Object.assign({},r);f.accept||=mt;let p;function m(){p.abort(),document.hidden||b()}c||document.addEventListener(`visibilitychange`,m);let h=ht,g=0;function _(){document.removeEventListener(`visibilitychange`,m),window.clearTimeout(g),p.abort()}n?.addEventListener(`abort`,()=>{_(),t()});let v=l??window.fetch,y=i??vt;async function b(){p=new AbortController;try{let n=await v(e,Object.assign(Object.assign({},u),{headers:f,signal:p.signal}));await y(n),await ct(n.body,lt(ut(e=>{e?f[gt]=e:delete f[gt]},e=>{h=e},a))),o?.(),_(),t()}catch(e){if(!p.signal.aborted)try{let t=s?.(e)??h;window.clearTimeout(g),g=window.setTimeout(b,t)}catch(e){_(),d(e)}}}b()})}function vt(e){let t=e.headers.get(`content-type`);if(!t?.startsWith(`text/event-stream`))throw Error(`Expected content-type to be ${mt}, Actual: ${t}`)}var yt=class extends Error{constructor(e=`Timeout occurred`){super(e),this.name=`Timeout`}},bt=i(`sseClient`),xt=`text/event-stream`;async function St({endpoint:e,payload:t,onEvent:n,shouldStopProcessing:r,timeout:i=1e4,chunkTimeout:a=48e4,headers:s={},onError:c}){return new Promise((l,u)=>{let d=new AbortController,f,p=!1,m=()=>{d.abort(),f&&clearTimeout(f)},h=e=>{p||(p=!0,m(),c?(c(e),l()):u(e))},g=e=>{f&&clearTimeout(f),f=setTimeout(()=>{let t=new yt(`Connection timed out with timeout ${e}ms waiting for the next event`);bt.error(t),h(t)},e)};_t(e,{openWhenHidden:!0,method:`POST`,headers:{"Content-Type":`application/json`,Accept:`text/event-stream`,...s},body:JSON.stringify(t),signal:d.signal,async onopen(e){g(i),!(e.ok&&e.headers.get(`content-type`)?.includes(xt))&&h(Error(e.status>=500?`Server error: ${e.status} ${e.statusText}`:e.statusText))},onmessage(e){g(a);let t=JSON.parse(e.data);n(t),r?.(t)&&(p||(p=!0,m(),l()))},onclose(){p||(p=!0,m(),l())},onerror(e){h(o(e))}}).then(()=>{p||(p=!0,m(),l())}).catch(e=>{h(o(e))})})}export{R as C,k as S,w as T,Ve as _,rt as a,W as b,Z as c,X as d,K as f,Be as g,G as h,it as i,We as l,J as m,st as n,Q as o,Y as p,at as r,qe as s,St as t,Ge as u,H as v,re as w,Le as x,Ne as y};
3
+ //# sourceMappingURL=fetchSSE-GcVBzE9n.js.map
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{b as n,f as r,g as i,m as a,o,p as s,pt as c}from"./portal-FJIui2Z2.js";import{t as l}from"./jsx-runtime-CFwixLRt.js";import{n as u}from"./icon-CkSWK_vf.js";import{i as d,n as f,r as p}from"./field-AkuX7DGP.js";import{Jr as m}from"./index-DtiounXP.js";var h=e=>e.children(d()),g=e(t(),1),_=l(),v=(0,g.forwardRef)((e,t)=>{let r=d(),i=n(r.getErrorTextProps(),e);return r.invalid?(0,_.jsx)(s.span,{...i,ref:t}):null});v.displayName=`FieldsetErrorText`;var y=(0,g.forwardRef)((e,t)=>{let r=n(d().getHelperTextProps(),e);return(0,_.jsx)(s.span,{...r,ref:t})});y.displayName=`FieldsetHelperText`;var b=(0,g.forwardRef)((e,t)=>{let r=n(d().getLegendProps(),e);return(0,_.jsx)(s.legend,{...r,ref:t})});b.displayName=`FieldsetLegend`;var x=(e={})=>{let{disabled:t=!1,invalid:n=!1}=e,i=r(),[a,o]=(0,g.useState)({hasErrorText:!1,hasHelperText:!1}),s=(0,g.useId)(),l=e.id??s,u=(0,g.useRef)(null),d=`fieldset::${l}::legend`,p=`fieldset::${l}::error-text`,h=`fieldset::${l}::helper-text`;f(()=>{let e=u.current;if(!e)return;let t=()=>{let e=i.getRootNode();o({hasErrorText:!!e.getElementById(p),hasHelperText:!!e.getElementById(h)})};t();let n=new(i.getWindow()).MutationObserver(t);return n.observe(e,{childList:!0,subtree:!0}),()=>n.disconnect()},[i,p,h]);let _=[];a.hasErrorText&&n&&_.push(p),a.hasHelperText&&_.push(h);let v=_.length>0?_.join(` `):void 0;return{refs:{rootRef:u},ids:{legend:d,errorText:p,helperText:h},disabled:t,invalid:n,getRootProps:()=>({...m.root.attrs,ref:u,disabled:t,"data-disabled":c(t),"data-invalid":c(n),"aria-labelledby":d,"aria-describedby":v}),getLegendProps:()=>({id:d,...m.legend.attrs,"data-disabled":c(t),"data-invalid":c(n)}),getHelperTextProps:()=>({id:h,...m.helperText.attrs}),getErrorTextProps:()=>({id:p,...m.errorText.attrs,"aria-live":`polite`})}},S=u(),C=(0,g.forwardRef)((e,t)=>{let[r,i]=S(e,[`id`,`disabled`,`invalid`]),o=x(r),c=n(o.getRootProps(),i);return(0,_.jsx)(p,{value:o,children:(0,_.jsx)(s.fieldset,{...c,ref:a(t,o.refs.rootRef)})})});C.displayName=`FieldsetRoot`;var w=u(),T=(0,g.forwardRef)((e,t)=>{let[{value:r},i]=w(e,[`value`]),a=n(r.getRootProps(),i);return(0,_.jsx)(p,{value:r,children:(0,_.jsx)(s.fieldset,{...a,ref:t})})});T.displayName=`FieldsetRootProvider`;var E=i({Context:()=>h,ErrorText:()=>v,HelperText:()=>y,Legend:()=>b,Root:()=>C,RootProvider:()=>T}),{withProvider:D,withContext:O}=o({key:`fieldset`}),k=D(E.Root,`root`);O(E.ErrorText,`errorText`),O(E.HelperText,`helperText`);var A=O(E.Legend,`legend`),j=O(s.div,`content`);E.Context;export{A as n,k as r,j as t};
2
+ //# sourceMappingURL=fieldset-CIGh0Uxg.js.map
@@ -0,0 +1 @@
1
+ import"./src-7ugfKe9P.js";import"./chunk-WYO6CB5R-DrXopwXN.js";import"./chunk-ICXQ74PX-CBGBbB0s.js";import"./chunk-HOUHSVGY-KCI5VyfN.js";import"./chunk-Q4XR5HBZ-Ckl7D0pA.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-OGEWGWER-tXhe91qF.js";import"./chunk-32BRIVSS-CFzTSNEZ.js";import"./chunk-XXDRQBXY-B-zyTdG8.js";import"./chunk-VR4S4FIN-kgt10gXB.js";import"./chunk-C7G6YPKG-Cczu3qbd.js";import"./chunk-ZGVPDNZ5-_vNOpeVi.js";import"./chunk-52WLFC77-CyjMpySG.js";import"./chunk-FWX5IMBZ-CIlmcu0O.js";import"./chunk-ZIRB5QZD-C6fEPe3t.js";import{n as e}from"./chunk-PUDLZKDR-Dj_zAVVr.js";export{e as diagram};
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{r as n}from"./portal-FJIui2Z2.js";import{t as r}from"./jsx-runtime-CFwixLRt.js";import{t as i}from"./box-Ck5lef6C.js";import{t as a}from"./text-A3qvcMyN.js";import{n as o,r as s,t as c}from"./card-54_vstoB.js";import{t as l}from"./container-CAygaZzW.js";import{t as u}from"./h-stack-CMPhqSp5.js";import{t as d}from"./spacer-CbmCSsJg.js";import{t as f}from"./v-stack-ClAMS101.js";import{t as p}from"./usePublicEnv-CATGNgPr.js";import{n as m}from"./auth-client-4OIM4EvK.js";import{Ar as h,_n as g,n as _,ni as v,xn as y}from"./index-DtiounXP.js";import{s as b}from"./index.esm-C0ipNBTK.js";import{t as x}from"./zod-BGMkf8aO.js";import{t as S}from"./LogoIcon-CWeDeArg.js";import{t as C}from"./HorizontalFormControl-COLSSPyK.js";var w=e(t()),T=r(),E=g({email:y().email()});function D(){let e=p(),t=e.data?.NEXTAUTH_PROVIDER;return e.data?t&&t!==`email`?(0,T.jsxs)(k,{title:`Forgot password`,children:[(0,T.jsx)(a,{children:`Your password is managed by your identity provider. Use your organization single sign-on to access LangWatch.`}),(0,T.jsx)(A,{})]}):(0,T.jsx)(O,{}):null}function O(){let e=b({resolver:x(E)}),[t,r]=(0,w.useState)(!1),[i,p]=(0,w.useState)(null);return i?(0,T.jsxs)(k,{title:`Check your email`,children:[(0,T.jsxs)(a,{children:[`If an account exists for `,(0,T.jsx)(`b`,{children:i}),`, we have sent a link to reset your password. The link expires in 1 hour.`]}),(0,T.jsx)(A,{})]}):(0,T.jsx)(l,{maxW:`container.md`,paddingTop:`calc(40vh - 164px)`,children:(0,T.jsx)(`form`,{onSubmit:e.handleSubmit(async e=>{r(!0);try{await m.requestPasswordReset({email:e.email,redirectTo:`/auth/reset-password`})}catch{}finally{r(!1),p(e.email)}}),children:(0,T.jsxs)(s,{children:[(0,T.jsx)(o,{children:(0,T.jsxs)(u,{gap:4,children:[(0,T.jsx)(S,{width:30.69,height:42}),(0,T.jsx)(v,{size:`lg`,as:`h1`,children:`Forgot password`})]})}),(0,T.jsx)(c,{children:(0,T.jsxs)(f,{width:`full`,children:[(0,T.jsx)(a,{width:`full`,color:`gray.600`,children:`Enter the email for your account and we will send you a link to reset your password.`}),(0,T.jsx)(C,{label:`Email`,helper:`Enter your email`,invalid:e.formState.errors.email?.message!==void 0,children:(0,T.jsx)(h,{type:`email`,...e.register(`email`)})}),(0,T.jsxs)(u,{width:`full`,paddingTop:4,children:[(0,T.jsx)(A,{}),(0,T.jsx)(d,{}),(0,T.jsx)(n,{colorPalette:`orange`,type:`submit`,loading:t,children:`Send reset link`})]})]})})]})})})}function k({title:e,children:t}){return(0,T.jsx)(l,{maxW:`container.md`,paddingTop:`calc(40vh - 164px)`,children:(0,T.jsxs)(s,{children:[(0,T.jsx)(o,{children:(0,T.jsxs)(u,{gap:4,children:[(0,T.jsx)(S,{width:30.69,height:42}),(0,T.jsx)(v,{size:`lg`,as:`h1`,children:e})]})}),(0,T.jsx)(c,{children:(0,T.jsx)(f,{width:`full`,align:`start`,gap:4,children:t})})]})})}function A(){return(0,T.jsx)(i,{asChild:!0,children:(0,T.jsx)(_,{href:`/auth/signin`,style:{textDecoration:`underline`},children:`Back to sign in`})})}export{D as default};
2
+ //# sourceMappingURL=forgot-password-DjvudMXW.js.map
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{yn as t}from"./useLiteMemberGuard-ChV0lUs4.js";var n=e(t()),r=(e,t=`$0.00[00]`)=>{let r={USD:`$`,EUR:`€`},i=(0,n.default)(e.amount??0).format(t),a=t.replace(/[\$\[\]]/g,``).replace(/0$/,`1`);return i===`$0.00`&&e.amount<parseFloat(a)&&e.amount>0?`< ${r[e.currency??`USD`]}${a}`:e.amount>1?(0,n.default)(e.amount??0).format(`$0.00`).replace(`$`,r[e.currency??`USD`]):i.replace(`$`,r[e.currency??`USD`])};export{r as t};
2
+ //# sourceMappingURL=formatMoney-ByqR-Rrd.js.map