@langwatch/mcp-server 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{add-dashboard-widget-MJHIC3CC.js → add-dashboard-widget-3IE3W5RR.js} +8 -7
  3. package/dist/{add-dashboard-widget-55UI6H22.js → add-dashboard-widget-XNAIGV37.js} +8 -7
  4. package/dist/{archive-project-L4PAKT34.js → archive-project-LAWWNKTX.js} +3 -3
  5. package/dist/{archive-project-K5UD7A6X.js → archive-project-X64627XS.js} +3 -3
  6. package/dist/{archive-run-plan-AOKNYQIO.js → archive-run-plan-3HKFL5MS.js} +3 -3
  7. package/dist/{archive-run-plan-5HSQG2HX.js → archive-run-plan-C35EJACZ.js} +3 -3
  8. package/dist/{archive-scenario-5IJQESHH.js → archive-scenario-3DOXHOJJ.js} +3 -3
  9. package/dist/{archive-scenario-2CWJW2VD.js → archive-scenario-7KDGEZM5.js} +3 -3
  10. package/dist/{archive-test-suite-OPB7NFI7.js → archive-test-suite-KZOESY2Y.js} +3 -3
  11. package/dist/{archive-test-suite-ZC3TN6VH.js → archive-test-suite-RPJ6ZKBV.js} +3 -3
  12. package/dist/{assign-prompt-tag-6DDE6ZZ5.js → assign-prompt-tag-2A25CXB7.js} +2 -2
  13. package/dist/{assign-prompt-tag-D7O23MJM.js → assign-prompt-tag-TQRV6D6V.js} +2 -2
  14. package/dist/{chunk-HLQJXUR6.js → chunk-27SS5FBC.js} +2 -2
  15. package/dist/{chunk-MOCU5XWF.js → chunk-2RLDGMPZ.js} +2 -2
  16. package/dist/{chunk-YCIUEZVK.js → chunk-3GVTJ7NK.js} +2 -2
  17. package/dist/{chunk-WCKZDOGF.js → chunk-6DF65T3B.js} +11 -6
  18. package/dist/{chunk-AASW2TO2.js → chunk-6OLI3LFY.js} +2 -2
  19. package/dist/{chunk-D2HS73VI.js → chunk-7HJSQOSZ.js} +2 -2
  20. package/dist/{chunk-7CZQDZ2K.js → chunk-7MNQDTKJ.js} +38 -26
  21. package/dist/{chunk-7GETGE6B.js → chunk-BHCYKMRH.js} +2 -2
  22. package/dist/{chunk-QXLMHLRC.js → chunk-FSU2ZBUM.js} +2 -2
  23. package/dist/{chunk-KILVK3FS.js → chunk-I2Z5CBOU.js} +2 -2
  24. package/dist/{chunk-R5YJIYPF.js → chunk-JEMUBKLJ.js} +130 -109
  25. package/dist/{chunk-XQYH52SI.js → chunk-JOFSQFCN.js} +2 -2
  26. package/dist/{chunk-4RX3G62A.js → chunk-JQN3VXPH.js} +3 -3
  27. package/dist/{chunk-B4RFWIUP.js → chunk-LXBQK3J3.js} +2 -2
  28. package/dist/{chunk-RFC2SBEX.js → chunk-MQRTYXHJ.js} +2 -2
  29. package/dist/{chunk-EYPJBL7P.js → chunk-P2JRKSYI.js} +3 -3
  30. package/dist/{chunk-VOUGDY2O.js → chunk-QF7ZGYVI.js} +2 -2
  31. package/dist/{chunk-SHSVN3SE.js → chunk-QTAHHJH3.js} +2 -2
  32. package/dist/{chunk-O2WGVCED.js → chunk-SLRQHMJZ.js} +2 -2
  33. package/dist/{chunk-GA5JUSPT.js → chunk-YQWZ4CDN.js} +5 -3
  34. package/dist/{create-agent-IRZOU4R5.js → create-agent-IE7Q2Z4C.js} +3 -3
  35. package/dist/{create-agent-6JNLMYQD.js → create-agent-JMCQ5WZC.js} +3 -3
  36. package/dist/{create-analytics-report-N4L4V5QL.js → create-analytics-report-4X5N7EOT.js} +3 -3
  37. package/dist/{create-analytics-report-QEHXG7FU.js → create-analytics-report-IKWZRS2O.js} +3 -3
  38. package/dist/{create-annotation-CCEGIZ67.js → create-annotation-IZ53SJOX.js} +3 -3
  39. package/dist/{create-annotation-DTHCMWHB.js → create-annotation-JR6DBHPW.js} +3 -3
  40. package/dist/{create-api-key-JPEUIXGM.js → create-api-key-IKMOTWCD.js} +3 -3
  41. package/dist/{create-api-key-JKM2DSZO.js → create-api-key-YUDAGOWL.js} +3 -3
  42. package/dist/{create-dataset-WON4SOTC.js → create-dataset-54FJCX45.js} +3 -3
  43. package/dist/{create-dataset-DJNXYJ5B.js → create-dataset-ONX3RADL.js} +3 -3
  44. package/dist/{create-dataset-records-UJBW3C7C.js → create-dataset-records-HPLMFDJY.js} +3 -3
  45. package/dist/{create-dataset-records-TMEOTLTO.js → create-dataset-records-QZZZF64Z.js} +3 -3
  46. package/dist/{create-evaluator-N5AEHI4K.js → create-evaluator-I5I52HOQ.js} +3 -3
  47. package/dist/{create-evaluator-XYNY2YFY.js → create-evaluator-L66QGSDX.js} +3 -3
  48. package/dist/create-mcp-server.cjs +96 -41
  49. package/dist/create-mcp-server.js +129 -108
  50. package/dist/{create-project-YL345T5L.js → create-project-UPZGETN5.js} +3 -3
  51. package/dist/{create-project-EY4XZ7TH.js → create-project-Y5EGJKDG.js} +3 -3
  52. package/dist/{create-prompt-ZUMQHHX7.js → create-prompt-RNUJOL25.js} +2 -2
  53. package/dist/{create-prompt-JZQNQ7I3.js → create-prompt-WGQLJASD.js} +2 -2
  54. package/dist/{create-prompt-tag-JFP2Q3PO.js → create-prompt-tag-3ZCA7M7O.js} +2 -2
  55. package/dist/{create-prompt-tag-CJ5FZ436.js → create-prompt-tag-R6KIAZTB.js} +2 -2
  56. package/dist/{create-scenario-S6OWWKJO.js → create-scenario-WIMKZLQO.js} +3 -3
  57. package/dist/{create-scenario-CQU2SSFB.js → create-scenario-WO5NWXVQ.js} +3 -3
  58. package/dist/{create-test-suite-Y7P2RI4L.js → create-test-suite-AVSR7IIM.js} +3 -3
  59. package/dist/{create-test-suite-OLGCAGJA.js → create-test-suite-LRKCNIJA.js} +3 -3
  60. package/dist/{create-trigger-RQ653WYF.js → create-trigger-CBO2XDYC.js} +3 -3
  61. package/dist/{create-trigger-4CNBTISJ.js → create-trigger-M3VFK5UH.js} +3 -3
  62. package/dist/{dashboards-BA7M6CMO.js → dashboards-4X6QUT3E.js} +3 -3
  63. package/dist/{dashboards-U663GUIB.js → dashboards-CX2T6RKH.js} +3 -3
  64. package/dist/{delete-agent-J2Q4DRZ2.js → delete-agent-QUVDMSOC.js} +3 -3
  65. package/dist/{delete-agent-ZAU4LTXB.js → delete-agent-Y4QTEQ3B.js} +3 -3
  66. package/dist/{delete-analytics-report-YUYLDHLL.js → delete-analytics-report-T4GIMEOA.js} +3 -3
  67. package/dist/{delete-analytics-report-QK6X7P4S.js → delete-analytics-report-WIP24EXV.js} +3 -3
  68. package/dist/{delete-annotation-KJOCDLV3.js → delete-annotation-BWO5ZEZY.js} +3 -3
  69. package/dist/{delete-annotation-7X4NYXXM.js → delete-annotation-ESUH3RWN.js} +3 -3
  70. package/dist/{delete-dataset-NXP7ZPPV.js → delete-dataset-N4AEYIAA.js} +3 -3
  71. package/dist/{delete-dataset-RUTZBBVD.js → delete-dataset-ZRD23FLO.js} +3 -3
  72. package/dist/{delete-dataset-records-75UAR5IS.js → delete-dataset-records-HC7VLBT7.js} +3 -3
  73. package/dist/{delete-dataset-records-4Z7DZCDW.js → delete-dataset-records-XC2DFVXD.js} +3 -3
  74. package/dist/{delete-evaluator-RI4GALGX.js → delete-evaluator-27P5XLNV.js} +3 -3
  75. package/dist/{delete-evaluator-E3CUNGTQ.js → delete-evaluator-LJII4YLC.js} +3 -3
  76. package/dist/{delete-prompt-tag-S4KBZTNG.js → delete-prompt-tag-DH7IQO4X.js} +2 -2
  77. package/dist/{delete-prompt-tag-LE3WJPKS.js → delete-prompt-tag-OC57CN32.js} +2 -2
  78. package/dist/{delete-workflow-PWQPDW6H.js → delete-workflow-I4IXK3ZL.js} +3 -3
  79. package/dist/{delete-workflow-4CZFIQCQ.js → delete-workflow-JXREDDW7.js} +3 -3
  80. package/dist/{discover-schema-7WHIIATI.js → discover-schema-ME5BAD2S.js} +3 -3
  81. package/dist/{discover-schema-J2ANOBKO.js → discover-schema-OHYBG3CY.js} +3 -3
  82. package/dist/{get-agent-5T3CXQOR.js → get-agent-6GKIKKL7.js} +3 -3
  83. package/dist/{get-agent-ZKYQJUQ7.js → get-agent-UKZUBVPB.js} +3 -3
  84. package/dist/{get-analytics-4MPEK4KV.js → get-analytics-TI2U3JLA.js} +2 -2
  85. package/dist/{get-analytics-ZLI3A4F5.js → get-analytics-ZGQ4LY3I.js} +2 -2
  86. package/dist/{get-analytics-report-JCKYMA2S.js → get-analytics-report-PD6XZ4ZA.js} +3 -3
  87. package/dist/{get-analytics-report-SKIP2JWH.js → get-analytics-report-QMXNQ7VA.js} +3 -3
  88. package/dist/{get-dataset-APGZBYMH.js → get-dataset-5QORNVOZ.js} +3 -3
  89. package/dist/{get-dataset-LWXDVMVE.js → get-dataset-E5WLIPNK.js} +3 -3
  90. package/dist/{get-evaluator-3A7BJBAB.js → get-evaluator-GYQFB4F3.js} +3 -3
  91. package/dist/{get-evaluator-IWNJINRY.js → get-evaluator-QQV65MQB.js} +3 -3
  92. package/dist/{get-project-RK6AJTEP.js → get-project-43SGQCAT.js} +3 -3
  93. package/dist/{get-project-EQVB4LEL.js → get-project-W5DCKXZP.js} +3 -3
  94. package/dist/{get-prompt-TLG2T2DS.js → get-prompt-IUTPSRRI.js} +2 -2
  95. package/dist/{get-prompt-ZER557X3.js → get-prompt-ZTCWGYJV.js} +2 -2
  96. package/dist/{get-run-plan-PEHRO5M3.js → get-run-plan-M3LVXMGO.js} +3 -3
  97. package/dist/{get-run-plan-5X7DDJRN.js → get-run-plan-MEPEU353.js} +3 -3
  98. package/dist/{get-scenario-UQX45ZZO.js → get-scenario-2DM4XR44.js} +3 -3
  99. package/dist/{get-scenario-375W5D6I.js → get-scenario-D6EPSSPW.js} +3 -3
  100. package/dist/{get-simulation-run-QZTLGL7W.js → get-simulation-run-53WM2XOO.js} +3 -3
  101. package/dist/{get-simulation-run-2NBXJADG.js → get-simulation-run-RKQ52TKP.js} +3 -3
  102. package/dist/{get-test-suite-OODIR3RI.js → get-test-suite-DP2HNOQZ.js} +3 -3
  103. package/dist/{get-test-suite-GVIBDG7K.js → get-test-suite-MUSY2CDJ.js} +3 -3
  104. package/dist/{get-trace-AGCHVPJK.js → get-trace-5Z2BIZ3V.js} +2 -2
  105. package/dist/{get-trace-KJLYAZRC.js → get-trace-THPWSLD3.js} +2 -2
  106. package/dist/{get-workflow-7LZSVPP2.js → get-workflow-63E7BNLY.js} +3 -3
  107. package/dist/{get-workflow-3TV2YYC5.js → get-workflow-R6XUKTZ7.js} +3 -3
  108. package/dist/{http-server-7CCN3EHJ.js → http-server-4JHSQN56.js} +5 -5
  109. package/dist/index.js +112 -44
  110. package/dist/{langwatch-api-analytics-reports-6CF6KUET.js → langwatch-api-analytics-reports-IIHGTTQA.js} +3 -3
  111. package/dist/{langwatch-api-analytics-reports-RPFB5AO5.js → langwatch-api-analytics-reports-IQ6CHM5Y.js} +3 -3
  112. package/dist/{langwatch-api-annotations-H4AI4TKG.js → langwatch-api-annotations-CN2KYV3Z.js} +3 -3
  113. package/dist/{langwatch-api-annotations-QSJNUQQS.js → langwatch-api-annotations-CRI6JTQR.js} +3 -3
  114. package/dist/{langwatch-api-monitors-ENHLOL3S.js → langwatch-api-monitors-66O5Z5LB.js} +2 -2
  115. package/dist/{langwatch-api-monitors-OHSGADTH.js → langwatch-api-monitors-GNHQRPMR.js} +2 -2
  116. package/dist/{langwatch-api-secrets-AGW6UUMD.js → langwatch-api-secrets-B7BURV76.js} +2 -2
  117. package/dist/{langwatch-api-secrets-CLTS766Q.js → langwatch-api-secrets-P6SHZOHE.js} +2 -2
  118. package/dist/{langwatch-api-triggers-G5UWFNN2.js → langwatch-api-triggers-6FR4VWDL.js} +3 -3
  119. package/dist/{langwatch-api-triggers-QMR7KEXW.js → langwatch-api-triggers-VKNGXSJH.js} +3 -3
  120. package/dist/{langwatch-api-workflows-HKTBIKKY.js → langwatch-api-workflows-22RQFYO7.js} +3 -3
  121. package/dist/{langwatch-api-workflows-OMROZH2O.js → langwatch-api-workflows-KDACD36L.js} +3 -3
  122. package/dist/{list-agents-MG24MHZE.js → list-agents-SVXWLLO7.js} +3 -3
  123. package/dist/{list-agents-BYWDNAHT.js → list-agents-XM5JNCVK.js} +3 -3
  124. package/dist/{list-analytics-reports-G3EPWGSQ.js → list-analytics-reports-DEKKC6BU.js} +3 -3
  125. package/dist/{list-analytics-reports-PPWIFRES.js → list-analytics-reports-E7QFC22G.js} +3 -3
  126. package/dist/{list-annotations-Y4EUBJHG.js → list-annotations-5CGNOIKI.js} +3 -3
  127. package/dist/{list-annotations-QCLGEK5A.js → list-annotations-P26ELIAO.js} +3 -3
  128. package/dist/{list-api-keys-DAVOBPFK.js → list-api-keys-B4YL7STE.js} +3 -3
  129. package/dist/{list-api-keys-JMW5WRXX.js → list-api-keys-ZIJJH755.js} +3 -3
  130. package/dist/{list-dashboards-2P3VJFRS.js → list-dashboards-F4YJPDKD.js} +3 -3
  131. package/dist/{list-dashboards-MW5O3MKH.js → list-dashboards-XHYTXEQK.js} +3 -3
  132. package/dist/{list-dataset-records-KEHT7G6Q.js → list-dataset-records-SWCEDRPX.js} +3 -3
  133. package/dist/{list-dataset-records-KMLLMZAZ.js → list-dataset-records-YWGROVKC.js} +3 -3
  134. package/dist/{list-datasets-P3JK2ZHS.js → list-datasets-32SCF66H.js} +3 -3
  135. package/dist/{list-datasets-Z7OOE4KI.js → list-datasets-YYADWT4D.js} +3 -3
  136. package/dist/{list-evaluators-7RRESBOU.js → list-evaluators-KKQKBJKN.js} +3 -3
  137. package/dist/{list-evaluators-VATJVOHR.js → list-evaluators-V6LP6ZQA.js} +3 -3
  138. package/dist/{list-model-providers-OXDRPUCJ.js → list-model-providers-RCPVT7R4.js} +3 -3
  139. package/dist/{list-model-providers-VXQJWDXU.js → list-model-providers-TMBSB6EE.js} +3 -3
  140. package/dist/{list-projects-X72ZXVY5.js → list-projects-4Y74TFDZ.js} +3 -3
  141. package/dist/{list-projects-HUVK7L3W.js → list-projects-R4MTRF3C.js} +3 -3
  142. package/dist/{list-prompt-tags-3I3LWFIR.js → list-prompt-tags-C345AGM2.js} +2 -2
  143. package/dist/{list-prompt-tags-DRHUH2ND.js → list-prompt-tags-RITKQDC5.js} +2 -2
  144. package/dist/{list-prompts-6DX3QECJ.js → list-prompts-DSJ2LUSU.js} +2 -2
  145. package/dist/{list-prompts-PS423RU3.js → list-prompts-F7C5L5XK.js} +2 -2
  146. package/dist/{list-run-plans-6VNHINPY.js → list-run-plans-YPGLC5QG.js} +3 -3
  147. package/dist/{list-run-plans-5SXPOV3X.js → list-run-plans-ZHRZHCDL.js} +3 -3
  148. package/dist/{list-scenarios-EQWCW7Q4.js → list-scenarios-6HN72TMW.js} +3 -3
  149. package/dist/{list-scenarios-GKNH3YND.js → list-scenarios-HCYFOTSL.js} +3 -3
  150. package/dist/{list-simulation-runs-KHY7KALI.js → list-simulation-runs-BKVMQQMT.js} +3 -3
  151. package/dist/{list-simulation-runs-PUDK32C2.js → list-simulation-runs-JNST5PQU.js} +3 -3
  152. package/dist/{list-test-suites-GY56LGLY.js → list-test-suites-4ZVYYKVB.js} +3 -3
  153. package/dist/{list-test-suites-7H2DRILK.js → list-test-suites-YY4J3L7H.js} +3 -3
  154. package/dist/{list-trigger-fires-OZUF65LI.js → list-trigger-fires-3XM6YZWG.js} +3 -3
  155. package/dist/{list-trigger-fires-7RZUP54Y.js → list-trigger-fires-5C5XM2KQ.js} +3 -3
  156. package/dist/{list-triggers-XC5KMX4C.js → list-triggers-DARBIIRA.js} +3 -3
  157. package/dist/{list-triggers-BGUCUXTJ.js → list-triggers-MRSWN7RR.js} +3 -3
  158. package/dist/{list-workflows-55NYC3PC.js → list-workflows-BGUSQUJX.js} +3 -3
  159. package/dist/{list-workflows-HV7FUWZA.js → list-workflows-NXOWP3XS.js} +3 -3
  160. package/dist/{rename-prompt-tag-2I7Z5FCY.js → rename-prompt-tag-F3WT4FB4.js} +2 -2
  161. package/dist/{rename-prompt-tag-SZYTOWDX.js → rename-prompt-tag-HR5HZZI2.js} +2 -2
  162. package/dist/{rename-test-suite-CLIEPZDO.js → rename-test-suite-2ZRXG5O7.js} +3 -3
  163. package/dist/{rename-test-suite-27AYY33K.js → rename-test-suite-PWXKE7Z4.js} +3 -3
  164. package/dist/{report-issue-5HSL7CNB.js → report-issue-HG7XCPOY.js} +2 -2
  165. package/dist/{report-issue-N7ND5TM6.js → report-issue-TWRFUPGB.js} +2 -2
  166. package/dist/{rerun-run-plan-O3VUZ6CG.js → rerun-run-plan-BFRZFEJB.js} +3 -3
  167. package/dist/{rerun-run-plan-OJTVVGJI.js → rerun-run-plan-LXM3RFZC.js} +3 -3
  168. package/dist/{revoke-api-key-NZNCFOIR.js → revoke-api-key-GR55PUP4.js} +3 -3
  169. package/dist/{revoke-api-key-BU6BKGCG.js → revoke-api-key-KCDOYPUK.js} +3 -3
  170. package/dist/{run-agent-HPCGZGYW.js → run-agent-HRVRHRHI.js} +3 -3
  171. package/dist/{run-agent-244O4Y5M.js → run-agent-WS6TADJQ.js} +3 -3
  172. package/dist/{run-plan-2ZPGGZ4H.js → run-plan-G24DBB5D.js} +3 -3
  173. package/dist/{run-plan-KSXUYQT3.js → run-plan-NSXMBEC5.js} +3 -3
  174. package/dist/{run-query-BQUHIUC2.js → run-query-6YVOA5NV.js} +18 -4
  175. package/dist/{run-query-4LMOQ5UW.js → run-query-7QIYSDVI.js} +18 -4
  176. package/dist/{run-test-suite-UEOMCON6.js → run-test-suite-NTKLJZCJ.js} +3 -3
  177. package/dist/{run-test-suite-P3WLVPXC.js → run-test-suite-P33XFQ6H.js} +3 -3
  178. package/dist/{run-workflow-I4IHEN54.js → run-workflow-E5ZRSXUB.js} +3 -3
  179. package/dist/{run-workflow-EFZ6HG5B.js → run-workflow-HDF6CRLM.js} +3 -3
  180. package/dist/{search-traces-6IR7PR4L.js → search-traces-X7NSRTTP.js} +2 -2
  181. package/dist/{search-traces-BYML2NQ4.js → search-traces-XWZYOZOM.js} +2 -2
  182. package/dist/{set-model-provider-SHEVKWRC.js → set-model-provider-XJF47L6H.js} +3 -3
  183. package/dist/{set-model-provider-RBNGWFVI.js → set-model-provider-YPUCFEXG.js} +3 -3
  184. package/dist/{update-agent-ZPXWRMS2.js → update-agent-6FHGWOO7.js} +3 -3
  185. package/dist/{update-agent-PTKTM2B5.js → update-agent-VEDXQRSM.js} +3 -3
  186. package/dist/{update-dashboard-widget-IP2TTQ5G.js → update-dashboard-widget-VOKXN7JA.js} +11 -10
  187. package/dist/{update-dashboard-widget-HKCBXH7X.js → update-dashboard-widget-VUIQZ7F5.js} +11 -10
  188. package/dist/{update-dataset-IRVMY5PF.js → update-dataset-7AQ24NRS.js} +3 -3
  189. package/dist/{update-dataset-GHIN6JR3.js → update-dataset-GHKDCJJQ.js} +3 -3
  190. package/dist/{update-dataset-record-Z3L7ACNF.js → update-dataset-record-IRD6FH2C.js} +3 -3
  191. package/dist/{update-dataset-record-6VI7K2CL.js → update-dataset-record-ZZUPG7AS.js} +3 -3
  192. package/dist/{update-evaluator-5NLNE6VY.js → update-evaluator-O6EJFTQJ.js} +3 -3
  193. package/dist/{update-evaluator-FEH7H6NS.js → update-evaluator-PUJFU5LT.js} +3 -3
  194. package/dist/{update-project-QPR3QX55.js → update-project-HO53IHXC.js} +3 -3
  195. package/dist/{update-project-75H3LDQT.js → update-project-VTVU6KNP.js} +3 -3
  196. package/dist/{update-prompt-BCDFTNLK.js → update-prompt-FABVQCAC.js} +2 -2
  197. package/dist/{update-prompt-NPRXYSWA.js → update-prompt-MNRLCLBA.js} +2 -2
  198. package/dist/{update-scenario-EM5XGMB7.js → update-scenario-MQZZM5CP.js} +3 -3
  199. package/dist/{update-scenario-BNOMDCMV.js → update-scenario-XIZNUH4I.js} +3 -3
  200. package/package.json +1 -1
  201. package/src/create-mcp-server.ts +18 -1
  202. package/src/langwatch-api-dashboard-widgets.ts +1 -0
  203. package/src/langwatch-api-query.ts +6 -0
  204. package/src/langwatch-api.ts +50 -27
  205. package/src/schemas/widget-sources.ts +36 -0
  206. package/src/tools/add-dashboard-widget.ts +5 -2
  207. package/src/tools/dashboard-widget-queries.ts +13 -4
  208. package/src/tools/run-query.ts +23 -1
  209. package/src/tools/update-dashboard-widget.ts +9 -6
package/dist/index.js CHANGED
@@ -61424,7 +61424,7 @@ var init_package = __esm({
61424
61424
  "package.json"() {
61425
61425
  package_default = {
61426
61426
  name: "@langwatch/mcp-server",
61427
- version: "3.0.0",
61427
+ version: "3.1.0",
61428
61428
  description: "An MCP server for Langwatch.",
61429
61429
  license: "MIT",
61430
61430
  author: "",
@@ -61965,11 +61965,12 @@ var init_triggers = __esm({
61965
61965
  });
61966
61966
 
61967
61967
  // src/schemas/widget-sources.ts
61968
- var import_zod6, WIDGET_SOURCES, widgetSourcesInput;
61968
+ var import_zod6, isAllWord, WIDGET_SOURCES, widgetSourcesInput, ALL_NOT_STORED, widgetProjectsInput, runQueryProjectsInput;
61969
61969
  var init_widget_sources = __esm({
61970
61970
  "src/schemas/widget-sources.ts"() {
61971
61971
  "use strict";
61972
61972
  import_zod6 = __toESM(require_zod(), 1);
61973
+ isAllWord = (id) => id.trim().toLowerCase() === "all";
61973
61974
  WIDGET_SOURCES = [
61974
61975
  "application",
61975
61976
  "simulation",
@@ -61986,10 +61987,26 @@ var init_widget_sources = __esm({
61986
61987
  widgetSourcesInput = import_zod6.z.array(import_zod6.z.enum(WIDGET_SOURCES)).max(WIDGET_SOURCES.length).nullable().optional().describe(
61987
61988
  `The trace origins every query of the widget counts: any of ${WIDGET_SOURCES.join(", ")} (other = any origin not listed). A new widget counts ["application"]; add "langy" to count your own conversations, as a widget about Langy's requests needs. null makes it unset again, counting the default.`
61988
61989
  );
61990
+ ALL_NOT_STORED = 'projects holds project ids; "all" is not stored in a widget';
61991
+ widgetProjectsInput = import_zod6.z.array(import_zod6.z.string().min(1), {
61992
+ error: (issue2) => typeof issue2.input === "string" && isAllWord(issue2.input) ? ALL_NOT_STORED : void 0
61993
+ }).min(1).refine((ids) => !ids.some(isAllWord), { message: ALL_NOT_STORED }).nullable().optional().describe(
61994
+ "The project ids every query of the widget reads, each one you can read. A new widget reads its board's project. null makes it unset again, reading the board's project."
61995
+ );
61996
+ runQueryProjectsInput = import_zod6.z.union([
61997
+ import_zod6.z.string().refine(isAllWord),
61998
+ import_zod6.z.array(import_zod6.z.string().min(1)).min(1).refine((ids) => !ids.some(isAllWord), {
61999
+ message: '"all" stands alone; send it by itself, or list project ids'
62000
+ })
62001
+ ]);
61989
62002
  }
61990
62003
  });
61991
62004
 
61992
62005
  // src/langwatch-api.ts
62006
+ function detailsOf(meta3) {
62007
+ const { reasons: _reasons, target: _target, fields: _fields, ...details } = meta3;
62008
+ return Object.keys(details).length > 0 ? details : void 0;
62009
+ }
61993
62010
  function parseErrorBody(responseBody) {
61994
62011
  try {
61995
62012
  const parsed = JSON.parse(responseBody);
@@ -62006,8 +62023,10 @@ function parseErrorBody(responseBody) {
62006
62023
  const tips = readStringArray(body.tips);
62007
62024
  const docsUrl = typeof body.docsUrl === "string" ? body.docsUrl : void 0;
62008
62025
  const fault = VALID_FAULTS.includes(body.fault) ? body.fault : void 0;
62009
- const reasons = Array.isArray(body.reasons) && body.reasons.every((r) => !!r && typeof r === "object") ? body.reasons : void 0;
62010
- return { code, message, tips, docsUrl, fault, reasons };
62026
+ const meta3 = isRecord(body.meta) ? body.meta : {};
62027
+ const rawReasons = Array.isArray(body.reasons) ? body.reasons : meta3.reasons;
62028
+ const reasons = Array.isArray(rawReasons) && rawReasons.every((r) => !!r && typeof r === "object") ? rawReasons : void 0;
62029
+ return { code, message, tips, docsUrl, fault, reasons, meta: detailsOf(meta3) };
62011
62030
  } catch {
62012
62031
  return {};
62013
62032
  }
@@ -62041,6 +62060,32 @@ function describeReason(reason) {
62041
62060
  }
62042
62061
  return parts.join(" \u2014 ");
62043
62062
  }
62063
+ function apiErrorOf({
62064
+ status,
62065
+ responseBody
62066
+ }) {
62067
+ const parsed = parseErrorBody(responseBody);
62068
+ const lines = [`LangWatch API error ${status}: ${parsed.message ?? responseBody}`];
62069
+ if (parsed.code) lines.push(`Code: ${parsed.code}`);
62070
+ if (parsed.meta) lines.push(`Details: ${JSON.stringify(parsed.meta)}`);
62071
+ const reasonLines = (parsed.reasons ?? []).map(describeReason).filter((line) => line !== null);
62072
+ if (reasonLines.length > 0) {
62073
+ lines.push("Rejected fields:", ...reasonLines);
62074
+ }
62075
+ if (parsed.tips && parsed.tips.length > 0) {
62076
+ lines.push("Tips:", ...parsed.tips.map((tip) => `- ${tip}`));
62077
+ }
62078
+ if (parsed.docsUrl) {
62079
+ lines.push(`Docs: ${parsed.docsUrl}`);
62080
+ }
62081
+ return new LangWatchApiError(lines.join("\n"), status, responseBody, {
62082
+ code: parsed.code,
62083
+ tips: parsed.tips,
62084
+ docsUrl: parsed.docsUrl,
62085
+ fault: parsed.fault,
62086
+ reasons: parsed.reasons
62087
+ });
62088
+ }
62044
62089
  async function makeRequest(method, path, body) {
62045
62090
  const config2 = getConfig();
62046
62091
  const url2 = config2.endpoint + path;
@@ -62063,28 +62108,8 @@ async function makeRequest(method, path, body) {
62063
62108
  headers,
62064
62109
  ...body !== void 0 ? { body: JSON.stringify(body) } : {}
62065
62110
  });
62066
- if (!response.ok) {
62067
- const responseBody = await response.text();
62068
- const parsed = parseErrorBody(responseBody);
62069
- const lines = [`LangWatch API error ${response.status}: ${parsed.message ?? responseBody}`];
62070
- const reasonLines = (parsed.reasons ?? []).map(describeReason).filter((line) => line !== null);
62071
- if (reasonLines.length > 0) {
62072
- lines.push("Rejected fields:", ...reasonLines);
62073
- }
62074
- if (parsed.tips && parsed.tips.length > 0) {
62075
- lines.push("Tips:", ...parsed.tips.map((tip) => `- ${tip}`));
62076
- }
62077
- if (parsed.docsUrl) {
62078
- lines.push(`Docs: ${parsed.docsUrl}`);
62079
- }
62080
- throw new LangWatchApiError(lines.join("\n"), response.status, responseBody, {
62081
- code: parsed.code,
62082
- tips: parsed.tips,
62083
- docsUrl: parsed.docsUrl,
62084
- fault: parsed.fault,
62085
- reasons: parsed.reasons
62086
- });
62087
- }
62111
+ if (!response.ok)
62112
+ throw apiErrorOf({ status: response.status, responseBody: await response.text() });
62088
62113
  if (response.status === 204 || response.headers?.get("content-length") === "0") {
62089
62114
  return null;
62090
62115
  }
@@ -66489,6 +66514,17 @@ var init_remediation = __esm({
66489
66514
  "Fix those fields and send the request again; retrying it unchanged will fail identically"
66490
66515
  ]
66491
66516
  },
66517
+ projects_required: {
66518
+ tips: [
66519
+ 'Send `projects`, a list of the project ids to read, or the string "all" for every project the key can read; the answer\'s `params.dashboard_context_projects` lists what was read',
66520
+ "A key that reads exactly one project, such as a project API key, needs none: it defaults to that project"
66521
+ ]
66522
+ },
66523
+ projects_unreadable: {
66524
+ tips: [
66525
+ "Ask an admin to grant the key's owner `analytics:view` on a project, or use a key that has it"
66526
+ ]
66527
+ },
66492
66528
  malformed_request: {
66493
66529
  tips: [
66494
66530
  "The body could not be parsed at all; check for truncated JSON, a trailing comma, or a Content-Type that does not match what was sent"
@@ -66617,13 +66653,15 @@ var init_remediation = __esm({
66617
66653
  tips: [
66618
66654
  "Read `meta.parameters`; it lists the reserved names the request set for itself",
66619
66655
  "`dashboard_context_period_start` and `dashboard_context_period_end` are supplied by the surface showing the chart; send `timeWindow: { start, end }` instead and drop them from `parameters`",
66620
- "`dashboard_context_granularity_seconds` is likewise supplied by the surface; drop it from `parameters` and send it as the request's own `granularitySeconds` field instead"
66656
+ "`dashboard_context_granularity_seconds` is likewise supplied by the surface; drop it from `parameters` and send it as the request's own `granularitySeconds` field instead",
66657
+ "`dashboard_context_sources` and `dashboard_context_projects` are likewise supplied; drop them from `parameters` and send the request's own `sources` and `projects` fields instead"
66621
66658
  ]
66622
66659
  },
66623
66660
  lwql_reserved_parameter_type: {
66624
66661
  tips: [
66625
66662
  "Read `meta.parameters`; it lists the reserved names declared with the wrong type",
66626
- "Declare each as `DateTime` or `DateTime64`, for example `{dashboard_context_period_start:DateTime}`; the interval they describe is half-open, `>= {dashboard_context_period_start:DateTime} AND < {dashboard_context_period_end:DateTime}`"
66663
+ "Declare each time-window name as `DateTime` or `DateTime64`, for example `{dashboard_context_period_start:DateTime}`; the interval they describe is half-open, `>= {dashboard_context_period_start:DateTime} AND < {dashboard_context_period_end:DateTime}`",
66664
+ "Declare `dashboard_context_sources` and `dashboard_context_projects` as `Array(String)`, for example `{dashboard_context_sources:Array(String)}`"
66627
66665
  ]
66628
66666
  },
66629
66667
  lwql_result_too_large: {
@@ -70188,7 +70226,9 @@ var init_discover_evaluator_schema = __esm({
70188
70226
  async function runQuery(params) {
70189
70227
  return makeRequest("POST", "/api/v1/query", {
70190
70228
  sql: params.sql,
70191
- ...params.parameters ? { parameters: params.parameters } : {}
70229
+ ...params.parameters ? { parameters: params.parameters } : {},
70230
+ ...params.projects ? { projects: params.projects } : {},
70231
+ ...params.sources ? { sources: params.sources } : {}
70192
70232
  });
70193
70233
  }
70194
70234
  async function getQueryReference() {
@@ -70722,7 +70762,12 @@ __export(run_query_exports, {
70722
70762
  handleRunQuery: () => handleRunQuery
70723
70763
  });
70724
70764
  async function handleRunQuery(params) {
70725
- const result = await runQuery(params);
70765
+ const result = await runQuery(params).catch((error62) => {
70766
+ if (error62 instanceof LangWatchApiError && error62.code === "projects_required") {
70767
+ throw new Error(PROJECTS_REQUIRED_MESSAGE);
70768
+ }
70769
+ throw error62;
70770
+ });
70726
70771
  const headers = result.columns.map((column) => column.name);
70727
70772
  const shown = result.rows.slice(0, RUN_QUERY_ROW_CAP);
70728
70773
  const lines = [];
@@ -70750,15 +70795,23 @@ async function handleRunQuery(params) {
70750
70795
  for (const diagnostic of result.diagnostics) {
70751
70796
  lines.push(`${diagnostic.code}: ${diagnostic.message}`);
70752
70797
  }
70798
+ if (result.params) lines.push("", describeParams(result.params));
70753
70799
  return lines.join("\n");
70754
70800
  }
70755
- var RUN_QUERY_ROW_CAP;
70801
+ function describeParams(params) {
70802
+ return ["Ran with these placeholders:", "```json", JSON.stringify(params, null, 2), "```"].join(
70803
+ "\n"
70804
+ );
70805
+ }
70806
+ var RUN_QUERY_ROW_CAP, PROJECTS_REQUIRED_MESSAGE;
70756
70807
  var init_run_query = __esm({
70757
70808
  "src/tools/run-query.ts"() {
70758
70809
  "use strict";
70759
70810
  init_langwatch_api_query();
70811
+ init_langwatch_api();
70760
70812
  init_markdown_table();
70761
70813
  RUN_QUERY_ROW_CAP = 50;
70814
+ PROJECTS_REQUIRED_MESSAGE = 'Name the projects to query: pass `projects`, a list of project ids, or "all"';
70762
70815
  }
70763
70816
  });
70764
70817
 
@@ -73066,12 +73119,17 @@ var init_list_dashboards = __esm({
73066
73119
  });
73067
73120
 
73068
73121
  // src/tools/dashboard-widget-queries.ts
73069
- function withSources({
73122
+ function withLists({
73070
73123
  queries,
73071
- sources
73124
+ sources,
73125
+ projects
73072
73126
  }) {
73073
- if (sources === void 0) return [...queries];
73074
- return queries.map((query) => ({ ...query, sources }));
73127
+ if (sources === void 0 && projects === void 0) return [...queries];
73128
+ return queries.map((query) => ({
73129
+ ...query,
73130
+ ...sources === void 0 ? {} : { sources },
73131
+ ...projects === void 0 ? {} : { projects }
73132
+ }));
73075
73133
  }
73076
73134
  function normalizeDashboardWidgetQueries({
73077
73135
  queries
@@ -73103,9 +73161,10 @@ __export(add_dashboard_widget_exports, {
73103
73161
  handleAddDashboardWidget: () => handleAddDashboardWidget
73104
73162
  });
73105
73163
  async function handleAddDashboardWidget(params) {
73106
- const queries = withSources({
73164
+ const queries = withLists({
73107
73165
  queries: normalizeDashboardWidgetQueries({ queries: params.queries }),
73108
- sources: params.sources
73166
+ sources: params.sources,
73167
+ projects: params.projects
73109
73168
  });
73110
73169
  let widget;
73111
73170
  try {
@@ -73144,17 +73203,18 @@ __export(update_dashboard_widget_exports, {
73144
73203
  handleUpdateDashboardWidget: () => handleUpdateDashboardWidget
73145
73204
  });
73146
73205
  async function handleUpdateDashboardWidget(params) {
73147
- const { dashboardId, widgetId, name, code, description, sources } = params;
73148
- const fields = [name, code, params.queries, description, sources];
73206
+ const { dashboardId, widgetId, name, code, description, sources, projects } = params;
73207
+ const fields = [name, code, params.queries, description, sources, projects];
73149
73208
  if (fields.every((field) => field === void 0)) {
73150
73209
  throw new Error(
73151
- "Provide at least one of name, code, queries, description or sources to change."
73210
+ "Provide at least one of name, code, queries, description, sources or projects to change."
73152
73211
  );
73153
73212
  }
73154
73213
  const current = await widgetOnDashboardOrRefused({ widgetId, dashboardId });
73155
73214
  const given = params.queries === void 0 ? void 0 : normalizeDashboardWidgetQueries({ queries: params.queries });
73156
- const base = given ?? (sources === void 0 ? void 0 : current.definition.queries);
73157
- const queries = base === void 0 ? void 0 : withSources({ queries: base, sources });
73215
+ const listed = sources !== void 0 || projects !== void 0;
73216
+ const base = given ?? (listed ? current.definition.queries : void 0);
73217
+ const queries = base === void 0 ? void 0 : withLists({ queries: base, sources, projects });
73158
73218
  const changes = {
73159
73219
  ...name === void 0 ? {} : { name },
73160
73220
  ...code === void 0 ? {} : { code },
@@ -74662,6 +74722,12 @@ function registerObservabilityTools(server) {
74662
74722
  ),
74663
74723
  parameters: import_zod22.z.record(import_zod22.z.string(), import_zod22.z.union([import_zod22.z.string(), import_zod22.z.number(), import_zod22.z.boolean(), import_zod22.z.null()])).optional().describe(
74664
74724
  'Values for the parameters the statement declares, e.g. {"days": 7} for {days:UInt32}'
74725
+ ),
74726
+ projects: runQueryProjectsInput.optional().describe(
74727
+ 'The project ids to read, or the string "all" for every project the key can read (params.dashboard_context_projects lists them). A key that reaches several projects must name them or send "all"; a key that reads one project defaults to it'
74728
+ ),
74729
+ sources: import_zod22.z.array(import_zod22.z.string()).optional().describe(
74730
+ "The trace sources {dashboard_context_sources:Array(String)} is bound to (default application). Only a statement that reads that parameter is kept to them; a SOURCES_IGNORED diagnostic says it did not"
74665
74731
  )
74666
74732
  },
74667
74733
  withToolLogging("run_query", async (params) => {
@@ -75604,7 +75670,8 @@ function registerDashboardTools(server) {
75604
75670
  ]).describe(
75605
75671
  "The widget's named LangWatchQL queries: either {name: sql} or an array of {name, sql}. Max 8. Validate each statement with run_query first."
75606
75672
  ),
75607
- sources: widgetSourcesInput
75673
+ sources: widgetSourcesInput,
75674
+ projects: widgetProjectsInput
75608
75675
  },
75609
75676
  withToolLogging("add_dashboard_widget", async (params) => {
75610
75677
  requireApiKey();
@@ -75636,7 +75703,8 @@ function registerDashboardTools(server) {
75636
75703
  "The widget's new named LangWatchQL queries, replacing the stored set: either {name: sql} or an array of {name, sql}. Max 8."
75637
75704
  ),
75638
75705
  description: import_zod22.z.string().optional().describe("What the widget's info tip says: a sentence or two"),
75639
- sources: widgetSourcesInput
75706
+ sources: widgetSourcesInput,
75707
+ projects: widgetProjectsInput
75640
75708
  },
75641
75709
  withToolLogging("update_dashboard_widget", async (params) => {
75642
75710
  requireApiKey();
@@ -4,8 +4,8 @@ import {
4
4
  getAnalyticsReport,
5
5
  listAnalyticsReports,
6
6
  renameAnalyticsReport
7
- } from "./chunk-O2WGVCED.js";
8
- import "./chunk-7CZQDZ2K.js";
7
+ } from "./chunk-SLRQHMJZ.js";
8
+ import "./chunk-7MNQDTKJ.js";
9
9
  import "./chunk-DULFP3MK.js";
10
10
  export {
11
11
  createAnalyticsReport,
@@ -14,4 +14,4 @@ export {
14
14
  listAnalyticsReports,
15
15
  renameAnalyticsReport
16
16
  };
17
- //# sourceMappingURL=langwatch-api-analytics-reports-6CF6KUET.js.map
17
+ //# sourceMappingURL=langwatch-api-analytics-reports-IIHGTTQA.js.map
@@ -4,8 +4,8 @@ import {
4
4
  getAnalyticsReport,
5
5
  listAnalyticsReports,
6
6
  renameAnalyticsReport
7
- } from "./chunk-O2WGVCED.js";
8
- import "./chunk-7CZQDZ2K.js";
7
+ } from "./chunk-SLRQHMJZ.js";
8
+ import "./chunk-7MNQDTKJ.js";
9
9
  import "./chunk-DULFP3MK.js";
10
10
  import "./chunk-SAS5OB7F.js";
11
11
  export {
@@ -15,4 +15,4 @@ export {
15
15
  listAnalyticsReports,
16
16
  renameAnalyticsReport
17
17
  };
18
- //# sourceMappingURL=langwatch-api-analytics-reports-RPFB5AO5.js.map
18
+ //# sourceMappingURL=langwatch-api-analytics-reports-IQ6CHM5Y.js.map
@@ -4,8 +4,8 @@ import {
4
4
  getAnnotation,
5
5
  getAnnotationsByTrace,
6
6
  listAnnotations
7
- } from "./chunk-RFC2SBEX.js";
8
- import "./chunk-7CZQDZ2K.js";
7
+ } from "./chunk-MQRTYXHJ.js";
8
+ import "./chunk-7MNQDTKJ.js";
9
9
  import "./chunk-DULFP3MK.js";
10
10
  import "./chunk-SAS5OB7F.js";
11
11
  export {
@@ -15,4 +15,4 @@ export {
15
15
  getAnnotationsByTrace,
16
16
  listAnnotations
17
17
  };
18
- //# sourceMappingURL=langwatch-api-annotations-H4AI4TKG.js.map
18
+ //# sourceMappingURL=langwatch-api-annotations-CN2KYV3Z.js.map
@@ -4,8 +4,8 @@ import {
4
4
  getAnnotation,
5
5
  getAnnotationsByTrace,
6
6
  listAnnotations
7
- } from "./chunk-RFC2SBEX.js";
8
- import "./chunk-7CZQDZ2K.js";
7
+ } from "./chunk-MQRTYXHJ.js";
8
+ import "./chunk-7MNQDTKJ.js";
9
9
  import "./chunk-DULFP3MK.js";
10
10
  export {
11
11
  createAnnotation,
@@ -14,4 +14,4 @@ export {
14
14
  getAnnotationsByTrace,
15
15
  listAnnotations
16
16
  };
17
- //# sourceMappingURL=langwatch-api-annotations-QSJNUQQS.js.map
17
+ //# sourceMappingURL=langwatch-api-annotations-CRI6JTQR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-7MNQDTKJ.js";
4
4
  import "./chunk-DULFP3MK.js";
5
5
 
6
6
  // src/langwatch-api-monitors.ts
@@ -44,4 +44,4 @@ export {
44
44
  toggleMonitor,
45
45
  updateMonitor
46
46
  };
47
- //# sourceMappingURL=langwatch-api-monitors-ENHLOL3S.js.map
47
+ //# sourceMappingURL=langwatch-api-monitors-66O5Z5LB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-7MNQDTKJ.js";
4
4
  import "./chunk-DULFP3MK.js";
5
5
  import "./chunk-SAS5OB7F.js";
6
6
 
@@ -45,4 +45,4 @@ export {
45
45
  toggleMonitor,
46
46
  updateMonitor
47
47
  };
48
- //# sourceMappingURL=langwatch-api-monitors-OHSGADTH.js.map
48
+ //# sourceMappingURL=langwatch-api-monitors-GNHQRPMR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-7MNQDTKJ.js";
4
4
  import {
5
5
  getConfig
6
6
  } from "./chunk-DULFP3MK.js";
@@ -52,4 +52,4 @@ export {
52
52
  listSecrets,
53
53
  updateSecret
54
54
  };
55
- //# sourceMappingURL=langwatch-api-secrets-AGW6UUMD.js.map
55
+ //# sourceMappingURL=langwatch-api-secrets-B7BURV76.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-7MNQDTKJ.js";
4
4
  import {
5
5
  getConfig
6
6
  } from "./chunk-DULFP3MK.js";
@@ -53,4 +53,4 @@ export {
53
53
  listSecrets,
54
54
  updateSecret
55
55
  };
56
- //# sourceMappingURL=langwatch-api-secrets-CLTS766Q.js.map
56
+ //# sourceMappingURL=langwatch-api-secrets-P6SHZOHE.js.map
@@ -6,9 +6,9 @@ import {
6
6
  listTriggers,
7
7
  testFireTrigger,
8
8
  updateTrigger
9
- } from "./chunk-HLQJXUR6.js";
9
+ } from "./chunk-27SS5FBC.js";
10
10
  import "./chunk-3YLN3ATJ.js";
11
- import "./chunk-7CZQDZ2K.js";
11
+ import "./chunk-7MNQDTKJ.js";
12
12
  import "./chunk-DULFP3MK.js";
13
13
  export {
14
14
  createTrigger,
@@ -19,4 +19,4 @@ export {
19
19
  testFireTrigger,
20
20
  updateTrigger
21
21
  };
22
- //# sourceMappingURL=langwatch-api-triggers-G5UWFNN2.js.map
22
+ //# sourceMappingURL=langwatch-api-triggers-6FR4VWDL.js.map
@@ -6,9 +6,9 @@ import {
6
6
  listTriggers,
7
7
  testFireTrigger,
8
8
  updateTrigger
9
- } from "./chunk-HLQJXUR6.js";
9
+ } from "./chunk-27SS5FBC.js";
10
10
  import "./chunk-3YLN3ATJ.js";
11
- import "./chunk-7CZQDZ2K.js";
11
+ import "./chunk-7MNQDTKJ.js";
12
12
  import "./chunk-DULFP3MK.js";
13
13
  import "./chunk-SAS5OB7F.js";
14
14
  export {
@@ -20,4 +20,4 @@ export {
20
20
  testFireTrigger,
21
21
  updateTrigger
22
22
  };
23
- //# sourceMappingURL=langwatch-api-triggers-QMR7KEXW.js.map
23
+ //# sourceMappingURL=langwatch-api-triggers-VKNGXSJH.js.map
@@ -3,8 +3,8 @@ import {
3
3
  getWorkflow,
4
4
  listWorkflows,
5
5
  runWorkflow
6
- } from "./chunk-QXLMHLRC.js";
7
- import "./chunk-7CZQDZ2K.js";
6
+ } from "./chunk-FSU2ZBUM.js";
7
+ import "./chunk-7MNQDTKJ.js";
8
8
  import "./chunk-DULFP3MK.js";
9
9
  export {
10
10
  deleteWorkflow,
@@ -12,4 +12,4 @@ export {
12
12
  listWorkflows,
13
13
  runWorkflow
14
14
  };
15
- //# sourceMappingURL=langwatch-api-workflows-HKTBIKKY.js.map
15
+ //# sourceMappingURL=langwatch-api-workflows-22RQFYO7.js.map
@@ -3,8 +3,8 @@ import {
3
3
  getWorkflow,
4
4
  listWorkflows,
5
5
  runWorkflow
6
- } from "./chunk-QXLMHLRC.js";
7
- import "./chunk-7CZQDZ2K.js";
6
+ } from "./chunk-FSU2ZBUM.js";
7
+ import "./chunk-7MNQDTKJ.js";
8
8
  import "./chunk-DULFP3MK.js";
9
9
  import "./chunk-SAS5OB7F.js";
10
10
  export {
@@ -13,4 +13,4 @@ export {
13
13
  listWorkflows,
14
14
  runWorkflow
15
15
  };
16
- //# sourceMappingURL=langwatch-api-workflows-OMROZH2O.js.map
16
+ //# sourceMappingURL=langwatch-api-workflows-KDACD36L.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listAgents
3
- } from "./chunk-EYPJBL7P.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-JQN3VXPH.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
 
7
7
  // src/tools/list-agents.ts
@@ -39,4 +39,4 @@ export {
39
39
  agentOwnerLabel,
40
40
  handleListAgents
41
41
  };
42
- //# sourceMappingURL=list-agents-MG24MHZE.js.map
42
+ //# sourceMappingURL=list-agents-SVXWLLO7.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listAgents
3
- } from "./chunk-4RX3G62A.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-P2JRKSYI.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
  import "./chunk-SAS5OB7F.js";
7
7
 
@@ -40,4 +40,4 @@ export {
40
40
  agentOwnerLabel,
41
41
  handleListAgents
42
42
  };
43
- //# sourceMappingURL=list-agents-BYWDNAHT.js.map
43
+ //# sourceMappingURL=list-agents-XM5JNCVK.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listAnalyticsReports
3
- } from "./chunk-O2WGVCED.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-SLRQHMJZ.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
 
7
7
  // src/tools/list-analytics-reports.ts
@@ -29,4 +29,4 @@ async function handleListAnalyticsReports() {
29
29
  export {
30
30
  handleListAnalyticsReports
31
31
  };
32
- //# sourceMappingURL=list-analytics-reports-G3EPWGSQ.js.map
32
+ //# sourceMappingURL=list-analytics-reports-DEKKC6BU.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listAnalyticsReports
3
- } from "./chunk-O2WGVCED.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-SLRQHMJZ.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
  import "./chunk-SAS5OB7F.js";
7
7
 
@@ -30,4 +30,4 @@ async function handleListAnalyticsReports() {
30
30
  export {
31
31
  handleListAnalyticsReports
32
32
  };
33
- //# sourceMappingURL=list-analytics-reports-PPWIFRES.js.map
33
+ //# sourceMappingURL=list-analytics-reports-E7QFC22G.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getAnnotationsByTrace,
3
3
  listAnnotations
4
- } from "./chunk-RFC2SBEX.js";
5
- import "./chunk-7CZQDZ2K.js";
4
+ } from "./chunk-MQRTYXHJ.js";
5
+ import "./chunk-7MNQDTKJ.js";
6
6
  import "./chunk-DULFP3MK.js";
7
7
  import "./chunk-SAS5OB7F.js";
8
8
 
@@ -36,4 +36,4 @@ async function handleListAnnotations(params) {
36
36
  export {
37
37
  handleListAnnotations
38
38
  };
39
- //# sourceMappingURL=list-annotations-Y4EUBJHG.js.map
39
+ //# sourceMappingURL=list-annotations-5CGNOIKI.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getAnnotationsByTrace,
3
3
  listAnnotations
4
- } from "./chunk-RFC2SBEX.js";
5
- import "./chunk-7CZQDZ2K.js";
4
+ } from "./chunk-MQRTYXHJ.js";
5
+ import "./chunk-7MNQDTKJ.js";
6
6
  import "./chunk-DULFP3MK.js";
7
7
 
8
8
  // src/tools/list-annotations.ts
@@ -35,4 +35,4 @@ async function handleListAnnotations(params) {
35
35
  export {
36
36
  handleListAnnotations
37
37
  };
38
- //# sourceMappingURL=list-annotations-QCLGEK5A.js.map
38
+ //# sourceMappingURL=list-annotations-P26ELIAO.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listApiKeys
3
- } from "./chunk-SHSVN3SE.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-QTAHHJH3.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
 
7
7
  // src/tools/list-api-keys.ts
@@ -39,4 +39,4 @@ async function handleListApiKeys() {
39
39
  export {
40
40
  handleListApiKeys
41
41
  };
42
- //# sourceMappingURL=list-api-keys-DAVOBPFK.js.map
42
+ //# sourceMappingURL=list-api-keys-B4YL7STE.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listApiKeys
3
- } from "./chunk-SHSVN3SE.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-QTAHHJH3.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
  import "./chunk-SAS5OB7F.js";
7
7
 
@@ -40,4 +40,4 @@ async function handleListApiKeys() {
40
40
  export {
41
41
  handleListApiKeys
42
42
  };
43
- //# sourceMappingURL=list-api-keys-JMW5WRXX.js.map
43
+ //# sourceMappingURL=list-api-keys-ZIJJH755.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  listDashboards
3
- } from "./chunk-MOCU5XWF.js";
4
- import "./chunk-7CZQDZ2K.js";
3
+ } from "./chunk-2RLDGMPZ.js";
4
+ import "./chunk-7MNQDTKJ.js";
5
5
  import "./chunk-DULFP3MK.js";
6
6
 
7
7
  // src/tools/list-dashboards.ts
@@ -26,4 +26,4 @@ async function handleListDashboards() {
26
26
  export {
27
27
  handleListDashboards
28
28
  };
29
- //# sourceMappingURL=list-dashboards-2P3VJFRS.js.map
29
+ //# sourceMappingURL=list-dashboards-F4YJPDKD.js.map