@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
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-3YLN3ATJ.js";
14
14
  import {
15
15
  testAgent
16
- } from "./chunk-4RX3G62A.js";
16
+ } from "./chunk-P2JRKSYI.js";
17
17
  import {
18
18
  runParametersSchema,
19
19
  runPlanScopeSchema,
@@ -31,12 +31,12 @@ import {
31
31
  } from "./chunk-6YZUOD34.js";
32
32
  import {
33
33
  updateTestSuite
34
- } from "./chunk-YCIUEZVK.js";
34
+ } from "./chunk-3GVTJ7NK.js";
35
35
  import {
36
36
  LangWatchApiError,
37
37
  makeRequest,
38
38
  package_default
39
- } from "./chunk-7CZQDZ2K.js";
39
+ } from "./chunk-7MNQDTKJ.js";
40
40
  import {
41
41
  requireApiKey
42
42
  } from "./chunk-DULFP3MK.js";
@@ -160,6 +160,7 @@ var createDatasetSchema = z.object({
160
160
 
161
161
  // src/schemas/widget-sources.ts
162
162
  import { z as z2 } from "zod";
163
+ var isAllWord = (id) => id.trim().toLowerCase() === "all";
163
164
  var WIDGET_SOURCES = [
164
165
  "application",
165
166
  "simulation",
@@ -176,6 +177,18 @@ var WIDGET_SOURCES = [
176
177
  var widgetSourcesInput = z2.array(z2.enum(WIDGET_SOURCES)).max(WIDGET_SOURCES.length).nullable().optional().describe(
177
178
  `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.`
178
179
  );
180
+ var ALL_NOT_STORED = 'projects holds project ids; "all" is not stored in a widget';
181
+ var widgetProjectsInput = z2.array(z2.string().min(1), {
182
+ error: (issue) => typeof issue.input === "string" && isAllWord(issue.input) ? ALL_NOT_STORED : void 0
183
+ }).min(1).refine((ids) => !ids.some(isAllWord), { message: ALL_NOT_STORED }).nullable().optional().describe(
184
+ "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."
185
+ );
186
+ var runQueryProjectsInput = z2.union([
187
+ z2.string().refine(isAllWord),
188
+ z2.array(z2.string().min(1)).min(1).refine((ids) => !ids.some(isAllWord), {
189
+ message: '"all" stands alone; send it by itself, or list project ids'
190
+ })
191
+ ]);
179
192
 
180
193
  // src/tools/experiment-run-status.ts
181
194
  var INTERRUPTED_THRESHOLD_MS = 5 * 60 * 1e3;
@@ -788,7 +801,7 @@ function registerDocsTools(server) {
788
801
  agent: z3.string().optional().describe("Which coding agent this is, e.g. claude-code, codex, cursor")
789
802
  },
790
803
  withToolLogging("report_issue", async (params) => {
791
- const { handleReportIssue } = await import("./report-issue-N7ND5TM6.js");
804
+ const { handleReportIssue } = await import("./report-issue-TWRFUPGB.js");
792
805
  return {
793
806
  content: [{ type: "text", text: await handleReportIssue(params) }]
794
807
  };
@@ -842,7 +855,7 @@ function registerObservabilityTools(server) {
842
855
  content: [{ type: "text", text: formatEvaluatorSchema(evaluatorType) }]
843
856
  };
844
857
  }
845
- const { formatSchema, needsQueryReference } = await import("./discover-schema-J2ANOBKO.js");
858
+ const { formatSchema, needsQueryReference } = await import("./discover-schema-OHYBG3CY.js");
846
859
  if (needsQueryReference(category)) requireApiKey();
847
860
  let text = await formatSchema(category);
848
861
  if (category === "all") {
@@ -863,11 +876,17 @@ function registerObservabilityTools(server) {
863
876
  ),
864
877
  parameters: z3.record(z3.string(), z3.union([z3.string(), z3.number(), z3.boolean(), z3.null()])).optional().describe(
865
878
  'Values for the parameters the statement declares, e.g. {"days": 7} for {days:UInt32}'
879
+ ),
880
+ projects: runQueryProjectsInput.optional().describe(
881
+ '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'
882
+ ),
883
+ sources: z3.array(z3.string()).optional().describe(
884
+ "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"
866
885
  )
867
886
  },
868
887
  withToolLogging("run_query", async (params) => {
869
888
  requireApiKey();
870
- const { handleRunQuery } = await import("./run-query-4LMOQ5UW.js");
889
+ const { handleRunQuery } = await import("./run-query-7QIYSDVI.js");
871
890
  return {
872
891
  content: [{ type: "text", text: await handleRunQuery(params) }]
873
892
  };
@@ -899,7 +918,7 @@ function registerObservabilityTools(server) {
899
918
  },
900
919
  withToolLogging("search_traces", async (params) => {
901
920
  requireApiKey();
902
- const { handleSearchTraces } = await import("./search-traces-BYML2NQ4.js");
921
+ const { handleSearchTraces } = await import("./search-traces-XWZYOZOM.js");
903
922
  return {
904
923
  content: [{ type: "text", text: await handleSearchTraces(params) }]
905
924
  };
@@ -916,7 +935,7 @@ function registerObservabilityTools(server) {
916
935
  },
917
936
  withToolLogging("get_trace", async (params) => {
918
937
  requireApiKey();
919
- const { handleGetTrace } = await import("./get-trace-AGCHVPJK.js");
938
+ const { handleGetTrace } = await import("./get-trace-5Z2BIZ3V.js");
920
939
  return {
921
940
  content: [{ type: "text", text: await handleGetTrace(params) }]
922
941
  };
@@ -940,7 +959,7 @@ function registerObservabilityTools(server) {
940
959
  },
941
960
  withToolLogging("get_analytics", async (params) => {
942
961
  requireApiKey();
943
- const { handleGetAnalytics } = await import("./get-analytics-ZLI3A4F5.js");
962
+ const { handleGetAnalytics } = await import("./get-analytics-ZGQ4LY3I.js");
944
963
  return {
945
964
  content: [{ type: "text", text: await handleGetAnalytics(params) }]
946
965
  };
@@ -974,7 +993,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
974
993
  },
975
994
  withToolLogging("platform_create_prompt", async (params) => {
976
995
  requireApiKey();
977
- const { handleCreatePrompt } = await import("./create-prompt-JZQNQ7I3.js");
996
+ const { handleCreatePrompt } = await import("./create-prompt-WGQLJASD.js");
978
997
  return {
979
998
  content: [{ type: "text", text: await handleCreatePrompt(params) }]
980
999
  };
@@ -986,7 +1005,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
986
1005
  {},
987
1006
  withToolLogging("platform_list_prompts", async () => {
988
1007
  requireApiKey();
989
- const { handleListPrompts } = await import("./list-prompts-PS423RU3.js");
1008
+ const { handleListPrompts } = await import("./list-prompts-F7C5L5XK.js");
990
1009
  return {
991
1010
  content: [{ type: "text", text: await handleListPrompts() }]
992
1011
  };
@@ -1011,7 +1030,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1011
1030
  };
1012
1031
  }
1013
1032
  requireApiKey();
1014
- const { handleGetPrompt } = await import("./get-prompt-TLG2T2DS.js");
1033
+ const { handleGetPrompt } = await import("./get-prompt-IUTPSRRI.js");
1015
1034
  return {
1016
1035
  content: [{ type: "text", text: await handleGetPrompt(params) }]
1017
1036
  };
@@ -1034,7 +1053,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1034
1053
  },
1035
1054
  withToolLogging("platform_update_prompt", async (params) => {
1036
1055
  requireApiKey();
1037
- const { handleUpdatePrompt } = await import("./update-prompt-NPRXYSWA.js");
1056
+ const { handleUpdatePrompt } = await import("./update-prompt-MNRLCLBA.js");
1038
1057
  return {
1039
1058
  content: [{ type: "text", text: await handleUpdatePrompt(params) }]
1040
1059
  };
@@ -1050,7 +1069,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1050
1069
  },
1051
1070
  withToolLogging("platform_assign_prompt_tag", async (params) => {
1052
1071
  requireApiKey();
1053
- const { handleAssignPromptTag } = await import("./assign-prompt-tag-D7O23MJM.js");
1072
+ const { handleAssignPromptTag } = await import("./assign-prompt-tag-TQRV6D6V.js");
1054
1073
  return {
1055
1074
  content: [{ type: "text", text: await handleAssignPromptTag(params) }]
1056
1075
  };
@@ -1062,7 +1081,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1062
1081
  {},
1063
1082
  withToolLogging("platform_list_prompt_tags", async () => {
1064
1083
  requireApiKey();
1065
- const { handleListPromptTags } = await import("./list-prompt-tags-3I3LWFIR.js");
1084
+ const { handleListPromptTags } = await import("./list-prompt-tags-C345AGM2.js");
1066
1085
  return {
1067
1086
  content: [{ type: "text", text: await handleListPromptTags() }]
1068
1087
  };
@@ -1076,7 +1095,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1076
1095
  },
1077
1096
  withToolLogging("platform_create_prompt_tag", async (params) => {
1078
1097
  requireApiKey();
1079
- const { handleCreatePromptTag } = await import("./create-prompt-tag-JFP2Q3PO.js");
1098
+ const { handleCreatePromptTag } = await import("./create-prompt-tag-3ZCA7M7O.js");
1080
1099
  return {
1081
1100
  content: [{ type: "text", text: await handleCreatePromptTag(params) }]
1082
1101
  };
@@ -1091,7 +1110,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1091
1110
  },
1092
1111
  withToolLogging("platform_rename_prompt_tag", async (params) => {
1093
1112
  requireApiKey();
1094
- const { handleRenamePromptTag } = await import("./rename-prompt-tag-2I7Z5FCY.js");
1113
+ const { handleRenamePromptTag } = await import("./rename-prompt-tag-F3WT4FB4.js");
1095
1114
  return {
1096
1115
  content: [{ type: "text", text: await handleRenamePromptTag(params) }]
1097
1116
  };
@@ -1105,7 +1124,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1105
1124
  },
1106
1125
  withToolLogging("platform_delete_prompt_tag", async (params) => {
1107
1126
  requireApiKey();
1108
- const { handleDeletePromptTag } = await import("./delete-prompt-tag-S4KBZTNG.js");
1127
+ const { handleDeletePromptTag } = await import("./delete-prompt-tag-DH7IQO4X.js");
1109
1128
  return {
1110
1129
  content: [{ type: "text", text: await handleDeletePromptTag(params) }]
1111
1130
  };
@@ -1135,7 +1154,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1135
1154
  },
1136
1155
  withToolLogging("platform_create_scenario", async (params) => {
1137
1156
  requireApiKey();
1138
- const { handleCreateScenario } = await import("./create-scenario-S6OWWKJO.js");
1157
+ const { handleCreateScenario } = await import("./create-scenario-WIMKZLQO.js");
1139
1158
  return {
1140
1159
  content: [{ type: "text", text: await handleCreateScenario(params) }]
1141
1160
  };
@@ -1150,7 +1169,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1150
1169
  },
1151
1170
  withToolLogging("platform_list_scenarios", async (params) => {
1152
1171
  requireApiKey();
1153
- const { handleListScenarios } = await import("./list-scenarios-GKNH3YND.js");
1172
+ const { handleListScenarios } = await import("./list-scenarios-HCYFOTSL.js");
1154
1173
  return {
1155
1174
  content: [{ type: "text", text: await handleListScenarios(params) }]
1156
1175
  };
@@ -1165,7 +1184,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1165
1184
  },
1166
1185
  withToolLogging("platform_get_scenario", async (params) => {
1167
1186
  requireApiKey();
1168
- const { handleGetScenario } = await import("./get-scenario-375W5D6I.js");
1187
+ const { handleGetScenario } = await import("./get-scenario-D6EPSSPW.js");
1169
1188
  return {
1170
1189
  content: [{ type: "text", text: await handleGetScenario(params) }]
1171
1190
  };
@@ -1187,7 +1206,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1187
1206
  },
1188
1207
  withToolLogging("platform_update_scenario", async (params) => {
1189
1208
  requireApiKey();
1190
- const { handleUpdateScenario } = await import("./update-scenario-EM5XGMB7.js");
1209
+ const { handleUpdateScenario } = await import("./update-scenario-MQZZM5CP.js");
1191
1210
  return {
1192
1211
  content: [{ type: "text", text: await handleUpdateScenario(params) }]
1193
1212
  };
@@ -1201,7 +1220,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1201
1220
  },
1202
1221
  withToolLogging("platform_archive_scenario", async (params) => {
1203
1222
  requireApiKey();
1204
- const { handleArchiveScenario } = await import("./archive-scenario-5IJQESHH.js");
1223
+ const { handleArchiveScenario } = await import("./archive-scenario-3DOXHOJJ.js");
1205
1224
  return {
1206
1225
  content: [{ type: "text", text: await handleArchiveScenario(params) }]
1207
1226
  };
@@ -1239,7 +1258,7 @@ function registerRunPlanTools(server) {
1239
1258
  },
1240
1259
  withToolLogging("platform_run_plan", async (params) => {
1241
1260
  requireApiKey();
1242
- const { handleRunPlan } = await import("./run-plan-KSXUYQT3.js");
1261
+ const { handleRunPlan } = await import("./run-plan-NSXMBEC5.js");
1243
1262
  return {
1244
1263
  content: [{ type: "text", text: await handleRunPlan(params) }]
1245
1264
  };
@@ -1254,7 +1273,7 @@ function registerRunPlanTools(server) {
1254
1273
  },
1255
1274
  withToolLogging("platform_list_run_plans", async (params) => {
1256
1275
  requireApiKey();
1257
- const { handleListRunPlans } = await import("./list-run-plans-6VNHINPY.js");
1276
+ const { handleListRunPlans } = await import("./list-run-plans-YPGLC5QG.js");
1258
1277
  return {
1259
1278
  content: [{ type: "text", text: await handleListRunPlans(params) }]
1260
1279
  };
@@ -1269,7 +1288,7 @@ function registerRunPlanTools(server) {
1269
1288
  },
1270
1289
  withToolLogging("platform_get_run_plan", async (params) => {
1271
1290
  requireApiKey();
1272
- const { handleGetRunPlan } = await import("./get-run-plan-PEHRO5M3.js");
1291
+ const { handleGetRunPlan } = await import("./get-run-plan-M3LVXMGO.js");
1273
1292
  return {
1274
1293
  content: [{ type: "text", text: await handleGetRunPlan(params) }]
1275
1294
  };
@@ -1285,7 +1304,7 @@ function registerRunPlanTools(server) {
1285
1304
  },
1286
1305
  withToolLogging("platform_rerun_run_plan", async (params) => {
1287
1306
  requireApiKey();
1288
- const { handleRerunRunPlan } = await import("./rerun-run-plan-O3VUZ6CG.js");
1307
+ const { handleRerunRunPlan } = await import("./rerun-run-plan-BFRZFEJB.js");
1289
1308
  return {
1290
1309
  content: [{ type: "text", text: await handleRerunRunPlan(params) }]
1291
1310
  };
@@ -1299,7 +1318,7 @@ function registerRunPlanTools(server) {
1299
1318
  },
1300
1319
  withToolLogging("platform_archive_run_plan", async (params) => {
1301
1320
  requireApiKey();
1302
- const { handleArchiveRunPlan } = await import("./archive-run-plan-5HSQG2HX.js");
1321
+ const { handleArchiveRunPlan } = await import("./archive-run-plan-C35EJACZ.js");
1303
1322
  return {
1304
1323
  content: [{ type: "text", text: await handleArchiveRunPlan(params) }]
1305
1324
  };
@@ -1315,7 +1334,7 @@ function registerTestSuiteTools(server) {
1315
1334
  },
1316
1335
  withToolLogging("platform_list_test_suites", async (params) => {
1317
1336
  requireApiKey();
1318
- const { handleListTestSuites } = await import("./list-test-suites-GY56LGLY.js");
1337
+ const { handleListTestSuites } = await import("./list-test-suites-4ZVYYKVB.js");
1319
1338
  return {
1320
1339
  content: [{ type: "text", text: await handleListTestSuites(params) }]
1321
1340
  };
@@ -1331,7 +1350,7 @@ function registerTestSuiteTools(server) {
1331
1350
  },
1332
1351
  withToolLogging("platform_create_test_suite", async (params) => {
1333
1352
  requireApiKey();
1334
- const { handleCreateTestSuite } = await import("./create-test-suite-Y7P2RI4L.js");
1353
+ const { handleCreateTestSuite } = await import("./create-test-suite-AVSR7IIM.js");
1335
1354
  return {
1336
1355
  content: [{ type: "text", text: await handleCreateTestSuite(params) }]
1337
1356
  };
@@ -1346,7 +1365,7 @@ function registerTestSuiteTools(server) {
1346
1365
  },
1347
1366
  withToolLogging("platform_get_test_suite", async (params) => {
1348
1367
  requireApiKey();
1349
- const { handleGetTestSuite } = await import("./get-test-suite-GVIBDG7K.js");
1368
+ const { handleGetTestSuite } = await import("./get-test-suite-MUSY2CDJ.js");
1350
1369
  return {
1351
1370
  content: [{ type: "text", text: await handleGetTestSuite(params) }]
1352
1371
  };
@@ -1381,7 +1400,7 @@ function registerTestSuiteTools(server) {
1381
1400
  },
1382
1401
  withToolLogging("platform_rename_test_suite", async (params) => {
1383
1402
  requireApiKey();
1384
- const { handleRenameTestSuite } = await import("./rename-test-suite-27AYY33K.js");
1403
+ const { handleRenameTestSuite } = await import("./rename-test-suite-PWXKE7Z4.js");
1385
1404
  return {
1386
1405
  content: [{ type: "text", text: await handleRenameTestSuite(params) }]
1387
1406
  };
@@ -1395,7 +1414,7 @@ function registerTestSuiteTools(server) {
1395
1414
  },
1396
1415
  withToolLogging("platform_archive_test_suite", async (params) => {
1397
1416
  requireApiKey();
1398
- const { handleArchiveTestSuite } = await import("./archive-test-suite-OPB7NFI7.js");
1417
+ const { handleArchiveTestSuite } = await import("./archive-test-suite-KZOESY2Y.js");
1399
1418
  return {
1400
1419
  content: [{ type: "text", text: await handleArchiveTestSuite(params) }]
1401
1420
  };
@@ -1422,7 +1441,7 @@ function registerTestSuiteTools(server) {
1422
1441
  },
1423
1442
  withToolLogging("platform_run_test_suite", async (params) => {
1424
1443
  requireApiKey();
1425
- const { handleRunTestSuite } = await import("./run-test-suite-P3WLVPXC.js");
1444
+ const { handleRunTestSuite } = await import("./run-test-suite-P33XFQ6H.js");
1426
1445
  return {
1427
1446
  content: [{ type: "text", text: await handleRunTestSuite(params) }]
1428
1447
  };
@@ -1441,7 +1460,7 @@ function registerSimulationRunTools(server) {
1441
1460
  },
1442
1461
  withToolLogging("platform_list_simulation_runs", async (params) => {
1443
1462
  requireApiKey();
1444
- const { handleListSimulationRuns } = await import("./list-simulation-runs-KHY7KALI.js");
1463
+ const { handleListSimulationRuns } = await import("./list-simulation-runs-BKVMQQMT.js");
1445
1464
  return {
1446
1465
  content: [{ type: "text", text: await handleListSimulationRuns(params) }]
1447
1466
  };
@@ -1456,7 +1475,7 @@ function registerSimulationRunTools(server) {
1456
1475
  },
1457
1476
  withToolLogging("platform_get_simulation_run", async (params) => {
1458
1477
  requireApiKey();
1459
- const { handleGetSimulationRun } = await import("./get-simulation-run-2NBXJADG.js");
1478
+ const { handleGetSimulationRun } = await import("./get-simulation-run-RKQ52TKP.js");
1460
1479
  return {
1461
1480
  content: [{ type: "text", text: await handleGetSimulationRun(params) }]
1462
1481
  };
@@ -1475,7 +1494,7 @@ function registerEvaluatorTools(server) {
1475
1494
  },
1476
1495
  withToolLogging("platform_create_evaluator", async (params) => {
1477
1496
  requireApiKey();
1478
- const { handleCreateEvaluator } = await import("./create-evaluator-XYNY2YFY.js");
1497
+ const { handleCreateEvaluator } = await import("./create-evaluator-L66QGSDX.js");
1479
1498
  return {
1480
1499
  content: [{ type: "text", text: await handleCreateEvaluator(params) }]
1481
1500
  };
@@ -1487,7 +1506,7 @@ function registerEvaluatorTools(server) {
1487
1506
  {},
1488
1507
  withToolLogging("platform_list_evaluators", async () => {
1489
1508
  requireApiKey();
1490
- const { handleListEvaluators } = await import("./list-evaluators-7RRESBOU.js");
1509
+ const { handleListEvaluators } = await import("./list-evaluators-KKQKBJKN.js");
1491
1510
  return {
1492
1511
  content: [{ type: "text", text: await handleListEvaluators() }]
1493
1512
  };
@@ -1501,7 +1520,7 @@ function registerEvaluatorTools(server) {
1501
1520
  },
1502
1521
  withToolLogging("platform_get_evaluator", async (params) => {
1503
1522
  requireApiKey();
1504
- const { handleGetEvaluator } = await import("./get-evaluator-IWNJINRY.js");
1523
+ const { handleGetEvaluator } = await import("./get-evaluator-QQV65MQB.js");
1505
1524
  return {
1506
1525
  content: [{ type: "text", text: await handleGetEvaluator(params) }]
1507
1526
  };
@@ -1517,7 +1536,7 @@ function registerEvaluatorTools(server) {
1517
1536
  },
1518
1537
  withToolLogging("platform_update_evaluator", async (params) => {
1519
1538
  requireApiKey();
1520
- const { handleUpdateEvaluator } = await import("./update-evaluator-FEH7H6NS.js");
1539
+ const { handleUpdateEvaluator } = await import("./update-evaluator-PUJFU5LT.js");
1521
1540
  return {
1522
1541
  content: [{ type: "text", text: await handleUpdateEvaluator(params) }]
1523
1542
  };
@@ -1531,7 +1550,7 @@ function registerEvaluatorTools(server) {
1531
1550
  },
1532
1551
  withToolLogging("platform_delete_evaluator", async (params) => {
1533
1552
  requireApiKey();
1534
- const { handleDeleteEvaluator } = await import("./delete-evaluator-E3CUNGTQ.js");
1553
+ const { handleDeleteEvaluator } = await import("./delete-evaluator-LJII4YLC.js");
1535
1554
  return {
1536
1555
  content: [{ type: "text", text: await handleDeleteEvaluator(params) }]
1537
1556
  };
@@ -1552,7 +1571,7 @@ function registerModelProviderTools(server) {
1552
1571
  },
1553
1572
  withToolLogging("platform_set_model_provider", async (params) => {
1554
1573
  requireApiKey();
1555
- const { handleSetModelProvider } = await import("./set-model-provider-SHEVKWRC.js");
1574
+ const { handleSetModelProvider } = await import("./set-model-provider-XJF47L6H.js");
1556
1575
  return {
1557
1576
  content: [{ type: "text", text: await handleSetModelProvider(params) }]
1558
1577
  };
@@ -1564,7 +1583,7 @@ function registerModelProviderTools(server) {
1564
1583
  {},
1565
1584
  withToolLogging("platform_list_model_providers", async () => {
1566
1585
  requireApiKey();
1567
- const { handleListModelProviders } = await import("./list-model-providers-OXDRPUCJ.js");
1586
+ const { handleListModelProviders } = await import("./list-model-providers-RCPVT7R4.js");
1568
1587
  return {
1569
1588
  content: [{ type: "text", text: await handleListModelProviders() }]
1570
1589
  };
@@ -1578,7 +1597,7 @@ function registerAgentTools(server) {
1578
1597
  {},
1579
1598
  withToolLogging("platform_list_agents", async () => {
1580
1599
  requireApiKey();
1581
- const { handleListAgents } = await import("./list-agents-BYWDNAHT.js");
1600
+ const { handleListAgents } = await import("./list-agents-XM5JNCVK.js");
1582
1601
  return {
1583
1602
  content: [{ type: "text", text: await handleListAgents() }]
1584
1603
  };
@@ -1592,7 +1611,7 @@ function registerAgentTools(server) {
1592
1611
  },
1593
1612
  withToolLogging("platform_get_agent", async (params) => {
1594
1613
  requireApiKey();
1595
- const { handleGetAgent } = await import("./get-agent-ZKYQJUQ7.js");
1614
+ const { handleGetAgent } = await import("./get-agent-UKZUBVPB.js");
1596
1615
  return {
1597
1616
  content: [{ type: "text", text: await handleGetAgent(params) }]
1598
1617
  };
@@ -1608,7 +1627,7 @@ function registerAgentTools(server) {
1608
1627
  },
1609
1628
  withToolLogging("platform_create_agent", async (params) => {
1610
1629
  requireApiKey();
1611
- const { handleCreateAgent } = await import("./create-agent-6JNLMYQD.js");
1630
+ const { handleCreateAgent } = await import("./create-agent-JMCQ5WZC.js");
1612
1631
  const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
1613
1632
  return {
1614
1633
  content: [
@@ -1628,7 +1647,7 @@ function registerAgentTools(server) {
1628
1647
  },
1629
1648
  withToolLogging("platform_update_agent", async (params) => {
1630
1649
  requireApiKey();
1631
- const { handleUpdateAgent } = await import("./update-agent-PTKTM2B5.js");
1650
+ const { handleUpdateAgent } = await import("./update-agent-VEDXQRSM.js");
1632
1651
  const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
1633
1652
  return {
1634
1653
  content: [
@@ -1645,7 +1664,7 @@ function registerAgentTools(server) {
1645
1664
  },
1646
1665
  withToolLogging("platform_delete_agent", async (params) => {
1647
1666
  requireApiKey();
1648
- const { handleDeleteAgent } = await import("./delete-agent-J2Q4DRZ2.js");
1667
+ const { handleDeleteAgent } = await import("./delete-agent-QUVDMSOC.js");
1649
1668
  return {
1650
1669
  content: [{ type: "text", text: await handleDeleteAgent(params) }]
1651
1670
  };
@@ -1665,7 +1684,7 @@ function registerAgentTools(server) {
1665
1684
  },
1666
1685
  withToolLogging("platform_run_agent", async (params) => {
1667
1686
  requireApiKey();
1668
- const { handleRunAgent } = await import("./run-agent-244O4Y5M.js");
1687
+ const { handleRunAgent } = await import("./run-agent-WS6TADJQ.js");
1669
1688
  return {
1670
1689
  content: [{ type: "text", text: await handleRunAgent(params) }]
1671
1690
  };
@@ -1692,7 +1711,7 @@ function registerAnalyticsReportTools(server) {
1692
1711
  {},
1693
1712
  withToolLogging("platform_list_analytics_reports", async () => {
1694
1713
  requireApiKey();
1695
- const { handleListAnalyticsReports } = await import("./list-analytics-reports-PPWIFRES.js");
1714
+ const { handleListAnalyticsReports } = await import("./list-analytics-reports-E7QFC22G.js");
1696
1715
  return {
1697
1716
  content: [{ type: "text", text: await handleListAnalyticsReports() }]
1698
1717
  };
@@ -1706,7 +1725,7 @@ function registerAnalyticsReportTools(server) {
1706
1725
  },
1707
1726
  withToolLogging("platform_get_analytics_report", async (params) => {
1708
1727
  requireApiKey();
1709
- const { handleGetAnalyticsReport } = await import("./get-analytics-report-SKIP2JWH.js");
1728
+ const { handleGetAnalyticsReport } = await import("./get-analytics-report-QMXNQ7VA.js");
1710
1729
  return {
1711
1730
  content: [{ type: "text", text: await handleGetAnalyticsReport(params) }]
1712
1731
  };
@@ -1720,7 +1739,7 @@ function registerAnalyticsReportTools(server) {
1720
1739
  },
1721
1740
  withToolLogging("platform_create_analytics_report", async (params) => {
1722
1741
  requireApiKey();
1723
- const { handleCreateAnalyticsReport } = await import("./create-analytics-report-N4L4V5QL.js");
1742
+ const { handleCreateAnalyticsReport } = await import("./create-analytics-report-4X5N7EOT.js");
1724
1743
  return {
1725
1744
  content: [
1726
1745
  {
@@ -1739,7 +1758,7 @@ function registerAnalyticsReportTools(server) {
1739
1758
  },
1740
1759
  withToolLogging("platform_delete_analytics_report", async (params) => {
1741
1760
  requireApiKey();
1742
- const { handleDeleteAnalyticsReport } = await import("./delete-analytics-report-QK6X7P4S.js");
1761
+ const { handleDeleteAnalyticsReport } = await import("./delete-analytics-report-WIP24EXV.js");
1743
1762
  return {
1744
1763
  content: [
1745
1764
  {
@@ -1759,7 +1778,7 @@ function registerAnalyticsReportTools(server) {
1759
1778
  },
1760
1779
  withToolLogging("platform_rename_analytics_report", async (params) => {
1761
1780
  requireApiKey();
1762
- const { renameAnalyticsReport } = await import("./langwatch-api-analytics-reports-RPFB5AO5.js");
1781
+ const { renameAnalyticsReport } = await import("./langwatch-api-analytics-reports-IQ6CHM5Y.js");
1763
1782
  const result = await renameAnalyticsReport({ reportId: params.reportId, name: params.name });
1764
1783
  return {
1765
1784
  content: [
@@ -1779,7 +1798,7 @@ function registerDashboardTools(server) {
1779
1798
  {},
1780
1799
  withToolLogging("list_dashboards", async () => {
1781
1800
  requireApiKey();
1782
- const { handleListDashboards } = await import("./list-dashboards-MW5O3MKH.js");
1801
+ const { handleListDashboards } = await import("./list-dashboards-XHYTXEQK.js");
1783
1802
  return {
1784
1803
  content: [{ type: "text", text: await handleListDashboards() }]
1785
1804
  };
@@ -1805,11 +1824,12 @@ function registerDashboardTools(server) {
1805
1824
  ]).describe(
1806
1825
  "The widget's named LangWatchQL queries: either {name: sql} or an array of {name, sql}. Max 8. Validate each statement with run_query first."
1807
1826
  ),
1808
- sources: widgetSourcesInput
1827
+ sources: widgetSourcesInput,
1828
+ projects: widgetProjectsInput
1809
1829
  },
1810
1830
  withToolLogging("add_dashboard_widget", async (params) => {
1811
1831
  requireApiKey();
1812
- const { handleAddDashboardWidget } = await import("./add-dashboard-widget-MJHIC3CC.js");
1832
+ const { handleAddDashboardWidget } = await import("./add-dashboard-widget-3IE3W5RR.js");
1813
1833
  return {
1814
1834
  content: [{ type: "text", text: await handleAddDashboardWidget(params) }]
1815
1835
  };
@@ -1837,11 +1857,12 @@ function registerDashboardTools(server) {
1837
1857
  "The widget's new named LangWatchQL queries, replacing the stored set: either {name: sql} or an array of {name, sql}. Max 8."
1838
1858
  ),
1839
1859
  description: z3.string().optional().describe("What the widget's info tip says: a sentence or two"),
1840
- sources: widgetSourcesInput
1860
+ sources: widgetSourcesInput,
1861
+ projects: widgetProjectsInput
1841
1862
  },
1842
1863
  withToolLogging("update_dashboard_widget", async (params) => {
1843
1864
  requireApiKey();
1844
- const { handleUpdateDashboardWidget } = await import("./update-dashboard-widget-IP2TTQ5G.js");
1865
+ const { handleUpdateDashboardWidget } = await import("./update-dashboard-widget-VOKXN7JA.js");
1845
1866
  return {
1846
1867
  content: [{ type: "text", text: await handleUpdateDashboardWidget(params) }]
1847
1868
  };
@@ -1858,7 +1879,7 @@ function registerDashboardCrudTools(server) {
1858
1879
  { dashboardId },
1859
1880
  withToolLogging("get_dashboard", async (params) => {
1860
1881
  requireApiKey();
1861
- const { handleGetDashboard } = await import("./dashboards-U663GUIB.js");
1882
+ const { handleGetDashboard } = await import("./dashboards-CX2T6RKH.js");
1862
1883
  return text(await handleGetDashboard(params));
1863
1884
  })
1864
1885
  );
@@ -1868,7 +1889,7 @@ function registerDashboardCrudTools(server) {
1868
1889
  { name: z3.string().describe("The dashboard's name") },
1869
1890
  withToolLogging("create_dashboard", async (params) => {
1870
1891
  requireApiKey();
1871
- const { handleCreateDashboard } = await import("./dashboards-U663GUIB.js");
1892
+ const { handleCreateDashboard } = await import("./dashboards-CX2T6RKH.js");
1872
1893
  return text(await handleCreateDashboard(params));
1873
1894
  })
1874
1895
  );
@@ -1882,7 +1903,7 @@ function registerDashboardCrudTools(server) {
1882
1903
  },
1883
1904
  withToolLogging("rename_dashboard", async (params) => {
1884
1905
  requireApiKey();
1885
- const { handleRenameDashboard } = await import("./dashboards-U663GUIB.js");
1906
+ const { handleRenameDashboard } = await import("./dashboards-CX2T6RKH.js");
1886
1907
  return text(await handleRenameDashboard(params));
1887
1908
  })
1888
1909
  );
@@ -1892,7 +1913,7 @@ function registerDashboardCrudTools(server) {
1892
1913
  { dashboardId },
1893
1914
  withToolLogging("delete_dashboard", async (params) => {
1894
1915
  requireApiKey();
1895
- const { handleDeleteDashboard } = await import("./dashboards-U663GUIB.js");
1916
+ const { handleDeleteDashboard } = await import("./dashboards-CX2T6RKH.js");
1896
1917
  return text(await handleDeleteDashboard(params));
1897
1918
  })
1898
1919
  );
@@ -1902,7 +1923,7 @@ function registerDashboardCrudTools(server) {
1902
1923
  { dashboardId },
1903
1924
  withToolLogging("list_dashboard_widgets", async (params) => {
1904
1925
  requireApiKey();
1905
- const { handleListDashboardWidgets } = await import("./dashboards-U663GUIB.js");
1926
+ const { handleListDashboardWidgets } = await import("./dashboards-CX2T6RKH.js");
1906
1927
  return text(await handleListDashboardWidgets(params));
1907
1928
  })
1908
1929
  );
@@ -1915,7 +1936,7 @@ function registerDashboardCrudTools(server) {
1915
1936
  },
1916
1937
  withToolLogging("delete_dashboard_widget", async (params) => {
1917
1938
  requireApiKey();
1918
- const { handleDeleteDashboardWidget } = await import("./dashboards-U663GUIB.js");
1939
+ const { handleDeleteDashboardWidget } = await import("./dashboards-CX2T6RKH.js");
1919
1940
  return text(await handleDeleteDashboardWidget(params));
1920
1941
  })
1921
1942
  );
@@ -1927,7 +1948,7 @@ function registerWorkflowTools(server) {
1927
1948
  {},
1928
1949
  withToolLogging("platform_list_workflows", async () => {
1929
1950
  requireApiKey();
1930
- const { handleListWorkflows } = await import("./list-workflows-HV7FUWZA.js");
1951
+ const { handleListWorkflows } = await import("./list-workflows-NXOWP3XS.js");
1931
1952
  return {
1932
1953
  content: [{ type: "text", text: await handleListWorkflows() }]
1933
1954
  };
@@ -1941,7 +1962,7 @@ function registerWorkflowTools(server) {
1941
1962
  },
1942
1963
  withToolLogging("platform_get_workflow", async (params) => {
1943
1964
  requireApiKey();
1944
- const { handleGetWorkflow } = await import("./get-workflow-7LZSVPP2.js");
1965
+ const { handleGetWorkflow } = await import("./get-workflow-63E7BNLY.js");
1945
1966
  return {
1946
1967
  content: [{ type: "text", text: await handleGetWorkflow(params) }]
1947
1968
  };
@@ -1955,7 +1976,7 @@ function registerWorkflowTools(server) {
1955
1976
  },
1956
1977
  withToolLogging("platform_delete_workflow", async (params) => {
1957
1978
  requireApiKey();
1958
- const { handleDeleteWorkflow } = await import("./delete-workflow-PWQPDW6H.js");
1979
+ const { handleDeleteWorkflow } = await import("./delete-workflow-I4IXK3ZL.js");
1959
1980
  return {
1960
1981
  content: [{ type: "text", text: await handleDeleteWorkflow(params) }]
1961
1982
  };
@@ -1970,7 +1991,7 @@ function registerWorkflowTools(server) {
1970
1991
  },
1971
1992
  withToolLogging("platform_run_workflow", async (params) => {
1972
1993
  requireApiKey();
1973
- const { handleRunWorkflow } = await import("./run-workflow-I4IHEN54.js");
1994
+ const { handleRunWorkflow } = await import("./run-workflow-E5ZRSXUB.js");
1974
1995
  return {
1975
1996
  content: [{ type: "text", text: await handleRunWorkflow(params) }]
1976
1997
  };
@@ -1986,7 +2007,7 @@ function registerAnnotationTools(server) {
1986
2007
  },
1987
2008
  withToolLogging("platform_list_annotations", async (params) => {
1988
2009
  requireApiKey();
1989
- const { handleListAnnotations } = await import("./list-annotations-Y4EUBJHG.js");
2010
+ const { handleListAnnotations } = await import("./list-annotations-5CGNOIKI.js");
1990
2011
  return {
1991
2012
  content: [{ type: "text", text: await handleListAnnotations(params) }]
1992
2013
  };
@@ -2003,7 +2024,7 @@ function registerAnnotationTools(server) {
2003
2024
  },
2004
2025
  withToolLogging("platform_create_annotation", async (params) => {
2005
2026
  requireApiKey();
2006
- const { handleCreateAnnotation } = await import("./create-annotation-CCEGIZ67.js");
2027
+ const { handleCreateAnnotation } = await import("./create-annotation-IZ53SJOX.js");
2007
2028
  return {
2008
2029
  content: [{ type: "text", text: await handleCreateAnnotation(params) }]
2009
2030
  };
@@ -2017,7 +2038,7 @@ function registerAnnotationTools(server) {
2017
2038
  },
2018
2039
  withToolLogging("platform_delete_annotation", async (params) => {
2019
2040
  requireApiKey();
2020
- const { handleDeleteAnnotation } = await import("./delete-annotation-KJOCDLV3.js");
2041
+ const { handleDeleteAnnotation } = await import("./delete-annotation-BWO5ZEZY.js");
2021
2042
  return {
2022
2043
  content: [{ type: "text", text: await handleDeleteAnnotation(params) }]
2023
2044
  };
@@ -2031,7 +2052,7 @@ function registerAnnotationTools(server) {
2031
2052
  },
2032
2053
  withToolLogging("platform_get_annotation", async (params) => {
2033
2054
  requireApiKey();
2034
- const { getAnnotation } = await import("./langwatch-api-annotations-H4AI4TKG.js");
2055
+ const { getAnnotation } = await import("./langwatch-api-annotations-CN2KYV3Z.js");
2035
2056
  const annotation = await getAnnotation(params.id);
2036
2057
  const lines = [
2037
2058
  `**ID**: ${annotation.id}`,
@@ -2055,7 +2076,7 @@ function registerTriggerTools(server) {
2055
2076
  },
2056
2077
  withToolLogging("platform_list_triggers", async (params) => {
2057
2078
  requireApiKey();
2058
- const { handleListTriggers } = await import("./list-triggers-XC5KMX4C.js");
2079
+ const { handleListTriggers } = await import("./list-triggers-DARBIIRA.js");
2059
2080
  return { content: [{ type: "text", text: await handleListTriggers(params) }] };
2060
2081
  })
2061
2082
  );
@@ -2067,7 +2088,7 @@ function registerTriggerTools(server) {
2067
2088
  },
2068
2089
  withToolLogging("platform_get_trigger", async (params) => {
2069
2090
  requireApiKey();
2070
- const { getTrigger } = await import("./langwatch-api-triggers-QMR7KEXW.js");
2091
+ const { getTrigger } = await import("./langwatch-api-triggers-VKNGXSJH.js");
2071
2092
  const trigger = await getTrigger(params.id);
2072
2093
  return { content: [{ type: "text", text: JSON.stringify(trigger, null, 2) }] };
2073
2094
  })
@@ -2099,7 +2120,7 @@ function registerTriggerTools(server) {
2099
2120
  },
2100
2121
  withToolLogging("platform_create_trigger", async (params) => {
2101
2122
  requireApiKey();
2102
- const { handleCreateTrigger } = await import("./create-trigger-RQ653WYF.js");
2123
+ const { handleCreateTrigger } = await import("./create-trigger-CBO2XDYC.js");
2103
2124
  return handleCreateTrigger(params);
2104
2125
  })
2105
2126
  );
@@ -2127,7 +2148,7 @@ function registerTriggerTools(server) {
2127
2148
  },
2128
2149
  withToolLogging("platform_update_trigger", async (params) => {
2129
2150
  requireApiKey();
2130
- const { getTrigger, updateTrigger } = await import("./langwatch-api-triggers-QMR7KEXW.js");
2151
+ const { getTrigger, updateTrigger } = await import("./langwatch-api-triggers-VKNGXSJH.js");
2131
2152
  if (params.actionParams !== void 0) {
2132
2153
  const saved = await getTrigger(params.id);
2133
2154
  const boundParams = validateActionParamsForAction({
@@ -2135,11 +2156,11 @@ function registerTriggerTools(server) {
2135
2156
  actionParams: params.actionParams
2136
2157
  });
2137
2158
  if (!boundParams.ok) {
2138
- const { toolError: toolError2 } = await import("./create-trigger-RQ653WYF.js");
2159
+ const { toolError: toolError2 } = await import("./create-trigger-CBO2XDYC.js");
2139
2160
  return toolError2(boundParams.message);
2140
2161
  }
2141
2162
  }
2142
- const { parseJsonObject, toolError } = await import("./create-trigger-RQ653WYF.js");
2163
+ const { parseJsonObject, toolError } = await import("./create-trigger-CBO2XDYC.js");
2143
2164
  const filters = params.filters ? parseJsonObject(params.filters) : void 0;
2144
2165
  if (params.filters && !filters) {
2145
2166
  return toolError("filters must be a JSON object");
@@ -2160,7 +2181,7 @@ function registerTriggerTools(server) {
2160
2181
  },
2161
2182
  withToolLogging("platform_test_fire_trigger", async (params) => {
2162
2183
  requireApiKey();
2163
- const { testFireTrigger } = await import("./langwatch-api-triggers-QMR7KEXW.js");
2184
+ const { testFireTrigger } = await import("./langwatch-api-triggers-VKNGXSJH.js");
2164
2185
  const result = await testFireTrigger(params.id);
2165
2186
  return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
2166
2187
  })
@@ -2175,7 +2196,7 @@ function registerTriggerTools(server) {
2175
2196
  },
2176
2197
  withToolLogging("platform_list_trigger_fires", async (params) => {
2177
2198
  requireApiKey();
2178
- const { handleListTriggerFires } = await import("./list-trigger-fires-OZUF65LI.js");
2199
+ const { handleListTriggerFires } = await import("./list-trigger-fires-3XM6YZWG.js");
2179
2200
  return { content: [{ type: "text", text: await handleListTriggerFires(params) }] };
2180
2201
  })
2181
2202
  );
@@ -2187,7 +2208,7 @@ function registerTriggerTools(server) {
2187
2208
  },
2188
2209
  withToolLogging("platform_delete_trigger", async (params) => {
2189
2210
  requireApiKey();
2190
- const { deleteTrigger } = await import("./langwatch-api-triggers-QMR7KEXW.js");
2211
+ const { deleteTrigger } = await import("./langwatch-api-triggers-VKNGXSJH.js");
2191
2212
  const result = await deleteTrigger(params.id);
2192
2213
  return { content: [{ type: "text", text: `Trigger ${result.id} deleted.` }] };
2193
2214
  })
@@ -2200,7 +2221,7 @@ function registerMonitorTools(server) {
2200
2221
  {},
2201
2222
  withToolLogging("platform_list_monitors", async () => {
2202
2223
  requireApiKey();
2203
- const { listMonitors } = await import("./langwatch-api-monitors-OHSGADTH.js");
2224
+ const { listMonitors } = await import("./langwatch-api-monitors-GNHQRPMR.js");
2204
2225
  const monitors = await listMonitors();
2205
2226
  if (monitors.length === 0) {
2206
2227
  return { content: [{ type: "text", text: "No monitors found." }] };
@@ -2227,7 +2248,7 @@ ${lines.join("\n")}`
2227
2248
  },
2228
2249
  withToolLogging("platform_get_monitor", async (params) => {
2229
2250
  requireApiKey();
2230
- const { getMonitor } = await import("./langwatch-api-monitors-OHSGADTH.js");
2251
+ const { getMonitor } = await import("./langwatch-api-monitors-GNHQRPMR.js");
2231
2252
  const m = await getMonitor(params.id);
2232
2253
  const lines = [
2233
2254
  `**${m.name}** (${m.id})`,
@@ -2254,7 +2275,7 @@ ${lines.join("\n")}`
2254
2275
  },
2255
2276
  withToolLogging("platform_create_monitor", async (params) => {
2256
2277
  requireApiKey();
2257
- const { createMonitor } = await import("./langwatch-api-monitors-OHSGADTH.js");
2278
+ const { createMonitor } = await import("./langwatch-api-monitors-GNHQRPMR.js");
2258
2279
  const monitor = await createMonitor(params);
2259
2280
  return {
2260
2281
  content: [
@@ -2278,7 +2299,7 @@ ${lines.join("\n")}`
2278
2299
  },
2279
2300
  withToolLogging("platform_update_monitor", async (params) => {
2280
2301
  requireApiKey();
2281
- const { updateMonitor } = await import("./langwatch-api-monitors-OHSGADTH.js");
2302
+ const { updateMonitor } = await import("./langwatch-api-monitors-GNHQRPMR.js");
2282
2303
  const monitor = await updateMonitor(params);
2283
2304
  return {
2284
2305
  content: [
@@ -2298,7 +2319,7 @@ ${lines.join("\n")}`
2298
2319
  },
2299
2320
  withToolLogging("platform_delete_monitor", async (params) => {
2300
2321
  requireApiKey();
2301
- const { deleteMonitor } = await import("./langwatch-api-monitors-OHSGADTH.js");
2322
+ const { deleteMonitor } = await import("./langwatch-api-monitors-GNHQRPMR.js");
2302
2323
  const result = await deleteMonitor(params.id);
2303
2324
  return {
2304
2325
  content: [{ type: "text", text: `Monitor ${result.id} deleted.` }]
@@ -2313,7 +2334,7 @@ function registerSecretTools(server) {
2313
2334
  {},
2314
2335
  withToolLogging("platform_list_secrets", async () => {
2315
2336
  requireApiKey();
2316
- const { listSecrets } = await import("./langwatch-api-secrets-CLTS766Q.js");
2337
+ const { listSecrets } = await import("./langwatch-api-secrets-P6SHZOHE.js");
2317
2338
  const secrets = await listSecrets();
2318
2339
  if (secrets.length === 0) {
2319
2340
  return { content: [{ type: "text", text: "No secrets found." }] };
@@ -2339,7 +2360,7 @@ ${lines.join("\n")}`
2339
2360
  },
2340
2361
  withToolLogging("platform_create_secret", async (params) => {
2341
2362
  requireApiKey();
2342
- const { createSecret } = await import("./langwatch-api-secrets-CLTS766Q.js");
2363
+ const { createSecret } = await import("./langwatch-api-secrets-P6SHZOHE.js");
2343
2364
  const secret = await createSecret({ name: params.name, value: params.value });
2344
2365
  return {
2345
2366
  content: [
@@ -2360,7 +2381,7 @@ ${lines.join("\n")}`
2360
2381
  },
2361
2382
  withToolLogging("platform_update_secret", async (params) => {
2362
2383
  requireApiKey();
2363
- const { updateSecret } = await import("./langwatch-api-secrets-CLTS766Q.js");
2384
+ const { updateSecret } = await import("./langwatch-api-secrets-P6SHZOHE.js");
2364
2385
  const secret = await updateSecret({ id: params.id, value: params.value });
2365
2386
  return {
2366
2387
  content: [
@@ -2380,7 +2401,7 @@ ${lines.join("\n")}`
2380
2401
  },
2381
2402
  withToolLogging("platform_delete_secret", async (params) => {
2382
2403
  requireApiKey();
2383
- const { deleteSecret } = await import("./langwatch-api-secrets-CLTS766Q.js");
2404
+ const { deleteSecret } = await import("./langwatch-api-secrets-P6SHZOHE.js");
2384
2405
  const result = await deleteSecret(params.id);
2385
2406
  return { content: [{ type: "text", text: `Secret ${result.id} deleted.` }] };
2386
2407
  })
@@ -2480,7 +2501,7 @@ function registerDatasetTools(server) {
2480
2501
  async (params) => {
2481
2502
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2482
2503
  requireApiKey2();
2483
- const { handleListDatasets } = await import("./list-datasets-P3JK2ZHS.js");
2504
+ const { handleListDatasets } = await import("./list-datasets-32SCF66H.js");
2484
2505
  return {
2485
2506
  content: [{ type: "text", text: await handleListDatasets(params) }]
2486
2507
  };
@@ -2496,7 +2517,7 @@ function registerDatasetTools(server) {
2496
2517
  async (params) => {
2497
2518
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2498
2519
  requireApiKey2();
2499
- const { handleGetDataset } = await import("./get-dataset-APGZBYMH.js");
2520
+ const { handleGetDataset } = await import("./get-dataset-5QORNVOZ.js");
2500
2521
  return {
2501
2522
  content: [{ type: "text", text: await handleGetDataset(params) }]
2502
2523
  };
@@ -2509,7 +2530,7 @@ function registerDatasetTools(server) {
2509
2530
  async (params) => {
2510
2531
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2511
2532
  requireApiKey2();
2512
- const { handleCreateDataset } = await import("./create-dataset-WON4SOTC.js");
2533
+ const { handleCreateDataset } = await import("./create-dataset-54FJCX45.js");
2513
2534
  return {
2514
2535
  content: [{ type: "text", text: await handleCreateDataset(params) }]
2515
2536
  };
@@ -2526,7 +2547,7 @@ function registerDatasetTools(server) {
2526
2547
  async (params) => {
2527
2548
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2528
2549
  requireApiKey2();
2529
- const { handleUpdateDataset } = await import("./update-dataset-IRVMY5PF.js");
2550
+ const { handleUpdateDataset } = await import("./update-dataset-7AQ24NRS.js");
2530
2551
  return {
2531
2552
  content: [{ type: "text", text: await handleUpdateDataset(params) }]
2532
2553
  };
@@ -2541,7 +2562,7 @@ function registerDatasetTools(server) {
2541
2562
  async (params) => {
2542
2563
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2543
2564
  requireApiKey2();
2544
- const { handleDeleteDataset } = await import("./delete-dataset-NXP7ZPPV.js");
2565
+ const { handleDeleteDataset } = await import("./delete-dataset-N4AEYIAA.js");
2545
2566
  return {
2546
2567
  content: [{ type: "text", text: await handleDeleteDataset(params) }]
2547
2568
  };
@@ -2559,7 +2580,7 @@ function registerDatasetTools(server) {
2559
2580
  async (params) => {
2560
2581
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2561
2582
  requireApiKey2();
2562
- const { handleListDatasetRecords } = await import("./list-dataset-records-KMLLMZAZ.js");
2583
+ const { handleListDatasetRecords } = await import("./list-dataset-records-YWGROVKC.js");
2563
2584
  return {
2564
2585
  content: [{ type: "text", text: await handleListDatasetRecords(params) }]
2565
2586
  };
@@ -2575,7 +2596,7 @@ function registerDatasetTools(server) {
2575
2596
  async (params) => {
2576
2597
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2577
2598
  requireApiKey2();
2578
- const { handleCreateDatasetRecords } = await import("./create-dataset-records-UJBW3C7C.js");
2599
+ const { handleCreateDatasetRecords } = await import("./create-dataset-records-HPLMFDJY.js");
2579
2600
  return {
2580
2601
  content: [{ type: "text", text: await handleCreateDatasetRecords(params) }]
2581
2602
  };
@@ -2592,7 +2613,7 @@ function registerDatasetTools(server) {
2592
2613
  async (params) => {
2593
2614
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2594
2615
  requireApiKey2();
2595
- const { handleUpdateDatasetRecord } = await import("./update-dataset-record-Z3L7ACNF.js");
2616
+ const { handleUpdateDatasetRecord } = await import("./update-dataset-record-IRD6FH2C.js");
2596
2617
  return {
2597
2618
  content: [{ type: "text", text: await handleUpdateDatasetRecord(params) }]
2598
2619
  };
@@ -2608,7 +2629,7 @@ function registerDatasetTools(server) {
2608
2629
  async (params) => {
2609
2630
  const { requireApiKey: requireApiKey2 } = await import("./config-2WQGMAEN.js");
2610
2631
  requireApiKey2();
2611
- const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-4Z7DZCDW.js");
2632
+ const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-XC2DFVXD.js");
2612
2633
  return {
2613
2634
  content: [{ type: "text", text: await handleDeleteDatasetRecords(params) }]
2614
2635
  };
@@ -2625,7 +2646,7 @@ function registerProjectTools(server) {
2625
2646
  },
2626
2647
  withToolLogging("platform_list_projects", async (params) => {
2627
2648
  requireApiKey();
2628
- const { handleListProjects } = await import("./list-projects-HUVK7L3W.js");
2649
+ const { handleListProjects } = await import("./list-projects-R4MTRF3C.js");
2629
2650
  return {
2630
2651
  content: [{ type: "text", text: await handleListProjects(params) }]
2631
2652
  };
@@ -2639,7 +2660,7 @@ function registerProjectTools(server) {
2639
2660
  },
2640
2661
  withToolLogging("platform_get_project", async (params) => {
2641
2662
  requireApiKey();
2642
- const { handleGetProject } = await import("./get-project-RK6AJTEP.js");
2663
+ const { handleGetProject } = await import("./get-project-43SGQCAT.js");
2643
2664
  return {
2644
2665
  content: [{ type: "text", text: await handleGetProject(params) }]
2645
2666
  };
@@ -2659,7 +2680,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2659
2680
  },
2660
2681
  withToolLogging("platform_create_project", async (params) => {
2661
2682
  requireApiKey();
2662
- const { handleCreateProject } = await import("./create-project-EY4XZ7TH.js");
2683
+ const { handleCreateProject } = await import("./create-project-Y5EGJKDG.js");
2663
2684
  return {
2664
2685
  content: [{ type: "text", text: await handleCreateProject(params) }]
2665
2686
  };
@@ -2677,7 +2698,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2677
2698
  },
2678
2699
  withToolLogging("platform_update_project", async (params) => {
2679
2700
  requireApiKey();
2680
- const { handleUpdateProject } = await import("./update-project-QPR3QX55.js");
2701
+ const { handleUpdateProject } = await import("./update-project-HO53IHXC.js");
2681
2702
  return {
2682
2703
  content: [{ type: "text", text: await handleUpdateProject(params) }]
2683
2704
  };
@@ -2691,7 +2712,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2691
2712
  },
2692
2713
  withToolLogging("platform_archive_project", async (params) => {
2693
2714
  requireApiKey();
2694
- const { handleArchiveProject } = await import("./archive-project-K5UD7A6X.js");
2715
+ const { handleArchiveProject } = await import("./archive-project-X64627XS.js");
2695
2716
  return {
2696
2717
  content: [{ type: "text", text: await handleArchiveProject(params) }]
2697
2718
  };
@@ -2705,7 +2726,7 @@ function registerApiKeyTools(server) {
2705
2726
  {},
2706
2727
  withToolLogging("platform_list_api_keys", async () => {
2707
2728
  requireApiKey();
2708
- const { handleListApiKeys } = await import("./list-api-keys-JMW5WRXX.js");
2729
+ const { handleListApiKeys } = await import("./list-api-keys-ZIJJH755.js");
2709
2730
  return {
2710
2731
  content: [{ type: "text", text: await handleListApiKeys() }]
2711
2732
  };
@@ -2735,7 +2756,7 @@ The token is returned once and cannot be retrieved again.`,
2735
2756
  },
2736
2757
  withToolLogging("platform_create_api_key", async (params) => {
2737
2758
  requireApiKey();
2738
- const { handleCreateApiKey } = await import("./create-api-key-JKM2DSZO.js");
2759
+ const { handleCreateApiKey } = await import("./create-api-key-YUDAGOWL.js");
2739
2760
  return {
2740
2761
  content: [{ type: "text", text: await handleCreateApiKey(params) }]
2741
2762
  };
@@ -2749,7 +2770,7 @@ The token is returned once and cannot be retrieved again.`,
2749
2770
  },
2750
2771
  withToolLogging("platform_revoke_api_key", async (params) => {
2751
2772
  requireApiKey();
2752
- const { handleRevokeApiKey } = await import("./revoke-api-key-BU6BKGCG.js");
2773
+ const { handleRevokeApiKey } = await import("./revoke-api-key-KCDOYPUK.js");
2753
2774
  return {
2754
2775
  content: [{ type: "text", text: await handleRevokeApiKey(params) }]
2755
2776
  };
@@ -2760,4 +2781,4 @@ The token is returned once and cannot be retrieved again.`,
2760
2781
  export {
2761
2782
  createMcpServer
2762
2783
  };
2763
- //# sourceMappingURL=chunk-R5YJIYPF.js.map
2784
+ //# sourceMappingURL=chunk-JEMUBKLJ.js.map