@langwatch/mcp-server 0.7.0 → 0.9.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 (256) hide show
  1. package/.release-please-shim +1 -0
  2. package/CHANGELOG.md +87 -0
  3. package/LICENSE +7 -0
  4. package/dist/archive-project-HZBRPR2S.js +19 -0
  5. package/dist/{archive-scenario-WJ2A7ETN.js → archive-scenario-P5RRITRM.js} +4 -4
  6. package/dist/{archive-suite-4JOM4SSL.js → archive-suite-NUUFD2EM.js} +4 -4
  7. package/dist/{assign-prompt-tag-GL7EAAF3.js → assign-prompt-tag-FKCCZPML.js} +3 -3
  8. package/dist/{chunk-2WPLXEKF.js → chunk-42ZHHHIJ.js} +20 -5
  9. package/dist/chunk-ADSJ2FDA.js +44 -0
  10. package/dist/{chunk-IE4M5OGE.js → chunk-BB7EOKHR.js} +2 -2
  11. package/dist/chunk-BBJ5WAJB.js +24 -0
  12. package/dist/{chunk-EGH5RPXM.js → chunk-BYWYM2RP.js} +2 -2
  13. package/dist/{chunk-2GT7IFWK.js → chunk-CCM4ZFGF.js} +2 -2
  14. package/dist/{chunk-LUMEZEHL.js → chunk-CHKCEZBP.js} +2 -2
  15. package/dist/{chunk-ZVS4UKN2.js → chunk-HKY3GW45.js} +2 -2
  16. package/dist/{chunk-EUQDVOSU.js → chunk-JHOSVOHT.js} +2 -2
  17. package/dist/{chunk-E5JYYU3J.js → chunk-JVLJKQJG.js} +669 -94
  18. package/dist/{chunk-BWWY5KEF.js → chunk-KOO5733S.js} +3 -2
  19. package/dist/{chunk-HYMIWO3U.js → chunk-R7C7OUVG.js} +2 -2
  20. package/dist/{chunk-WQG2DFHX.js → chunk-TROIWSEQ.js} +2 -2
  21. package/dist/{chunk-CCWCIJJ3.js → chunk-X2SEURT2.js} +2 -2
  22. package/dist/{chunk-4AUB2BIA.js → chunk-XC62KJIT.js} +3 -3
  23. package/dist/config.js +1 -1
  24. package/dist/{create-agent-MBOOT3XK.js → create-agent-K5Q7BFGZ.js} +4 -4
  25. package/dist/{create-annotation-XMV6A7ED.js → create-annotation-KN3GE3DK.js} +4 -4
  26. package/dist/create-api-key-OQI5PUNQ.js +26 -0
  27. package/dist/{create-dashboard-VRKLFVZJ.js → create-dashboard-G4QA5AXP.js} +4 -4
  28. package/dist/{create-dataset-7HQPZCRE.js → create-dataset-WQSC37N7.js} +4 -4
  29. package/dist/{create-dataset-records-2NIVFYTV.js → create-dataset-records-B4RL3FLC.js} +4 -4
  30. package/dist/{create-evaluator-WYFRFLRC.js → create-evaluator-YFFQIR7E.js} +4 -4
  31. package/dist/create-mcp-server.js +3 -2
  32. package/dist/create-project-CUVQ67VN.js +44 -0
  33. package/dist/{create-prompt-IEN7O6JT.js → create-prompt-NGXKSP4X.js} +3 -3
  34. package/dist/{create-prompt-tag-CAEZ45VO.js → create-prompt-tag-IUKYPVHH.js} +3 -3
  35. package/dist/{create-scenario-6YHSMGLP.js → create-scenario-FNBXALH3.js} +4 -4
  36. package/dist/{create-suite-H5XOFDE5.js → create-suite-DJEPD4ZB.js} +4 -4
  37. package/dist/{delete-agent-JKTNBWAA.js → delete-agent-TJI5XBBM.js} +4 -4
  38. package/dist/{delete-annotation-ACMDV6QO.js → delete-annotation-KRP53TUU.js} +4 -4
  39. package/dist/{delete-dashboard-VJSR7CRU.js → delete-dashboard-N5SZJIR3.js} +4 -4
  40. package/dist/{delete-dataset-RTTTWP4D.js → delete-dataset-KDUOHL2P.js} +4 -4
  41. package/dist/{delete-dataset-records-KNQTIPQK.js → delete-dataset-records-DM4W3PAW.js} +4 -4
  42. package/dist/{delete-evaluator-7FVC5WM4.js → delete-evaluator-7ZATLJOA.js} +4 -4
  43. package/dist/{delete-prompt-tag-ZMZUAGFW.js → delete-prompt-tag-I6HNMSVJ.js} +3 -3
  44. package/dist/{delete-workflow-EYQ3T4RQ.js → delete-workflow-QEO74JQR.js} +4 -4
  45. package/dist/{get-agent-E3QSTVKG.js → get-agent-3KDWCP5N.js} +4 -4
  46. package/dist/{get-analytics-2OHV763I.js → get-analytics-GPVJX7SF.js} +3 -3
  47. package/dist/{get-dashboard-PC7JDHH6.js → get-dashboard-YPTIE5YY.js} +4 -4
  48. package/dist/{get-dataset-H5IK5FVU.js → get-dataset-6DQFYITM.js} +4 -4
  49. package/dist/{get-evaluator-UWVUPYTM.js → get-evaluator-PCM6XQAU.js} +4 -4
  50. package/dist/get-project-JCMWXVLU.js +26 -0
  51. package/dist/{get-prompt-WZUOLLQC.js → get-prompt-5XAGWWBG.js} +3 -3
  52. package/dist/{get-scenario-Q6LCNUYN.js → get-scenario-7XBCDZWX.js} +4 -4
  53. package/dist/{get-simulation-run-Z2XKO256.js → get-simulation-run-AV24FJWI.js} +4 -4
  54. package/dist/{get-suite-BXK5TN7P.js → get-suite-4DBVHFEM.js} +4 -4
  55. package/dist/{get-trace-4EJAYVBG.js → get-trace-MRBDS3HJ.js} +3 -3
  56. package/dist/{get-workflow-O34QJLHD.js → get-workflow-UR4Y6UFX.js} +4 -4
  57. package/dist/{http-server-ISHF7NJX.js → http-server-DEGNV5EP.js} +4 -3
  58. package/dist/index.js +1453 -431
  59. package/dist/{langwatch-api-annotations-ERBG27RF.js → langwatch-api-annotations-ZJDRB4JH.js} +4 -4
  60. package/dist/{langwatch-api-dashboards-G6TR7VVO.js → langwatch-api-dashboards-WARLI6NF.js} +4 -4
  61. package/dist/{langwatch-api-monitors-WSXZLS2B.js → langwatch-api-monitors-4XKXHYCG.js} +3 -3
  62. package/dist/{langwatch-api-secrets-RR5DKG2X.js → langwatch-api-secrets-6SHK5G7Q.js} +3 -3
  63. package/dist/{langwatch-api-triggers-2RTNSWQY.js → langwatch-api-triggers-5SX6R2WU.js} +3 -3
  64. package/dist/langwatch-api-workflows-NLJENNXE.js +15 -0
  65. package/dist/{list-agents-AW3P6FJV.js → list-agents-NECO7MPI.js} +4 -4
  66. package/dist/{list-annotations-QNCGWPQ3.js → list-annotations-3OJEO774.js} +4 -4
  67. package/dist/list-api-keys-AWW7ROLB.js +37 -0
  68. package/dist/{list-dashboards-R7RK2IXL.js → list-dashboards-DVPVVVKW.js} +4 -4
  69. package/dist/{list-dataset-records-WVCSQP7P.js → list-dataset-records-I4BYORF5.js} +4 -4
  70. package/dist/{list-datasets-KEXRLDEU.js → list-datasets-WUAE5HGX.js} +4 -4
  71. package/dist/{list-evaluators-7R2LB4JH.js → list-evaluators-B6OSVAM2.js} +4 -4
  72. package/dist/{list-model-providers-OBYJCKBX.js → list-model-providers-NL6IP4UZ.js} +4 -4
  73. package/dist/list-projects-5FHMJ4PQ.js +42 -0
  74. package/dist/{list-prompt-tags-6LY3ZPYI.js → list-prompt-tags-Z2DD6FLQ.js} +3 -3
  75. package/dist/{list-prompts-VWEZ4CDE.js → list-prompts-VNXKHK7T.js} +3 -3
  76. package/dist/{list-scenarios-TXD4W2ZJ.js → list-scenarios-CFZHXL76.js} +4 -4
  77. package/dist/{list-simulation-runs-RHPOLMFI.js → list-simulation-runs-AM2BXLBW.js} +4 -4
  78. package/dist/{list-suites-FSGBX27Z.js → list-suites-ZDOHAAXF.js} +4 -4
  79. package/dist/{list-workflows-VRGEZ3EN.js → list-workflows-WBRBKLIT.js} +4 -4
  80. package/dist/{rename-prompt-tag-VOJJLX4M.js → rename-prompt-tag-A4RJUK7Z.js} +3 -3
  81. package/dist/revoke-api-key-ZSPSPF5G.js +15 -0
  82. package/dist/{run-agent-KTCC7TB7.js → run-agent-JFNDY7MR.js} +4 -4
  83. package/dist/{run-suite-BTMHGI2D.js → run-suite-TH7LO5TJ.js} +4 -4
  84. package/dist/{run-workflow-IGAYGKJL.js → run-workflow-CK3JP5U2.js} +4 -4
  85. package/dist/{search-traces-VYFUIMXH.js → search-traces-3BBVYPC3.js} +3 -3
  86. package/dist/{set-model-provider-W5IUI326.js → set-model-provider-WOC5FNMV.js} +4 -4
  87. package/dist/{update-agent-4BB7EYLR.js → update-agent-YMEV5MTL.js} +4 -4
  88. package/dist/{update-dataset-CXBKZ4W3.js → update-dataset-EYT5POFM.js} +4 -4
  89. package/dist/{update-dataset-record-HOHAMHXG.js → update-dataset-record-VFF5JTX4.js} +4 -4
  90. package/dist/{update-evaluator-IVOR6FTR.js → update-evaluator-6IJHFG2E.js} +4 -4
  91. package/dist/update-project-OIT4WPFI.js +24 -0
  92. package/dist/{update-prompt-OWQAKE7K.js → update-prompt-ZU2DD6KM.js} +3 -3
  93. package/dist/{update-scenario-GDFVILPN.js → update-scenario-3VUTPDRU.js} +4 -4
  94. package/dist/{update-suite-BXYUYSPT.js → update-suite-C6JFDQHL.js} +4 -4
  95. package/package.json +7 -7
  96. package/pnpm-workspace.yaml +2 -0
  97. package/pyproject.toml +3 -0
  98. package/src/__tests__/all-tools.integration.test.ts +9 -0
  99. package/src/__tests__/datasets.integration.test.ts +17 -0
  100. package/src/__tests__/datasets.unit.test.ts +4 -0
  101. package/src/__tests__/experiment-list-tools.unit.test.ts +157 -0
  102. package/src/__tests__/get-experiment-results.unit.test.ts +222 -0
  103. package/src/__tests__/project-api-key-tools.unit.test.ts +451 -0
  104. package/src/__tests__/scenario-tools.unit.test.ts +3 -0
  105. package/src/config.ts +2 -0
  106. package/src/create-mcp-server.ts +257 -13
  107. package/src/langwatch-api-api-keys.ts +54 -0
  108. package/src/langwatch-api-projects.ts +82 -0
  109. package/src/langwatch-api.ts +22 -4
  110. package/src/tools/archive-project.ts +14 -0
  111. package/src/tools/create-api-key.ts +29 -0
  112. package/src/tools/create-project.ts +45 -0
  113. package/src/tools/get-experiment-results.ts +273 -0
  114. package/src/tools/get-project.ts +20 -0
  115. package/src/tools/list-api-keys.ts +33 -0
  116. package/src/tools/list-experiment-runs.ts +142 -0
  117. package/src/tools/list-experiments.ts +95 -0
  118. package/src/tools/list-projects.ts +41 -0
  119. package/src/tools/revoke-api-key.ts +9 -0
  120. package/src/tools/{run-evaluation.ts → run-experiment.ts} +5 -5
  121. package/src/tools/update-project.ts +22 -0
  122. package/uv.lock +192 -530
  123. package/Dockerfile +0 -22
  124. package/build.js +0 -12
  125. package/dist/archive-scenario-WJ2A7ETN.js.map +0 -1
  126. package/dist/archive-suite-4JOM4SSL.js.map +0 -1
  127. package/dist/assign-prompt-tag-GL7EAAF3.js.map +0 -1
  128. package/dist/chunk-2GT7IFWK.js.map +0 -1
  129. package/dist/chunk-2WPLXEKF.js.map +0 -1
  130. package/dist/chunk-4AUB2BIA.js.map +0 -1
  131. package/dist/chunk-BWWY5KEF.js.map +0 -1
  132. package/dist/chunk-CCWCIJJ3.js.map +0 -1
  133. package/dist/chunk-E5JYYU3J.js.map +0 -1
  134. package/dist/chunk-EGH5RPXM.js.map +0 -1
  135. package/dist/chunk-EUQDVOSU.js.map +0 -1
  136. package/dist/chunk-HYMIWO3U.js.map +0 -1
  137. package/dist/chunk-IE4M5OGE.js.map +0 -1
  138. package/dist/chunk-LUMEZEHL.js.map +0 -1
  139. package/dist/chunk-NUFPTHKU.js.map +0 -1
  140. package/dist/chunk-WQG2DFHX.js.map +0 -1
  141. package/dist/chunk-WVI5CJ6S.js.map +0 -1
  142. package/dist/chunk-ZVS4UKN2.js.map +0 -1
  143. package/dist/chunk-ZXKLPC2E.js.map +0 -1
  144. package/dist/config.js.map +0 -1
  145. package/dist/create-agent-MBOOT3XK.js.map +0 -1
  146. package/dist/create-annotation-XMV6A7ED.js.map +0 -1
  147. package/dist/create-dashboard-VRKLFVZJ.js.map +0 -1
  148. package/dist/create-dataset-7HQPZCRE.js.map +0 -1
  149. package/dist/create-dataset-records-2NIVFYTV.js.map +0 -1
  150. package/dist/create-evaluator-WYFRFLRC.js.map +0 -1
  151. package/dist/create-mcp-server.js.map +0 -1
  152. package/dist/create-prompt-IEN7O6JT.js.map +0 -1
  153. package/dist/create-prompt-tag-CAEZ45VO.js.map +0 -1
  154. package/dist/create-scenario-6YHSMGLP.js.map +0 -1
  155. package/dist/create-suite-H5XOFDE5.js.map +0 -1
  156. package/dist/delete-agent-JKTNBWAA.js.map +0 -1
  157. package/dist/delete-annotation-ACMDV6QO.js.map +0 -1
  158. package/dist/delete-dashboard-VJSR7CRU.js.map +0 -1
  159. package/dist/delete-dataset-RTTTWP4D.js.map +0 -1
  160. package/dist/delete-dataset-records-KNQTIPQK.js.map +0 -1
  161. package/dist/delete-evaluator-7FVC5WM4.js.map +0 -1
  162. package/dist/delete-prompt-tag-ZMZUAGFW.js.map +0 -1
  163. package/dist/delete-workflow-EYQ3T4RQ.js.map +0 -1
  164. package/dist/discover-evaluator-schema-H23XCLNE.js.map +0 -1
  165. package/dist/discover-scenario-schema-MEEEVND7.js.map +0 -1
  166. package/dist/discover-schema-3T52ORPB.js.map +0 -1
  167. package/dist/get-agent-E3QSTVKG.js.map +0 -1
  168. package/dist/get-analytics-2OHV763I.js.map +0 -1
  169. package/dist/get-dashboard-PC7JDHH6.js.map +0 -1
  170. package/dist/get-dataset-H5IK5FVU.js.map +0 -1
  171. package/dist/get-evaluator-UWVUPYTM.js.map +0 -1
  172. package/dist/get-prompt-WZUOLLQC.js.map +0 -1
  173. package/dist/get-scenario-Q6LCNUYN.js.map +0 -1
  174. package/dist/get-simulation-run-Z2XKO256.js.map +0 -1
  175. package/dist/get-suite-BXK5TN7P.js.map +0 -1
  176. package/dist/get-trace-4EJAYVBG.js.map +0 -1
  177. package/dist/get-workflow-O34QJLHD.js.map +0 -1
  178. package/dist/http-server-ISHF7NJX.js.map +0 -1
  179. package/dist/index.js.map +0 -1
  180. package/dist/langwatch-api-annotations-ERBG27RF.js.map +0 -1
  181. package/dist/langwatch-api-dashboards-G6TR7VVO.js.map +0 -1
  182. package/dist/langwatch-api-monitors-WSXZLS2B.js.map +0 -1
  183. package/dist/langwatch-api-secrets-RR5DKG2X.js.map +0 -1
  184. package/dist/langwatch-api-triggers-2RTNSWQY.js.map +0 -1
  185. package/dist/langwatch-api-workflows-VJRIIDZ7.js +0 -15
  186. package/dist/langwatch-api-workflows-VJRIIDZ7.js.map +0 -1
  187. package/dist/list-agents-AW3P6FJV.js.map +0 -1
  188. package/dist/list-annotations-QNCGWPQ3.js.map +0 -1
  189. package/dist/list-dashboards-R7RK2IXL.js.map +0 -1
  190. package/dist/list-dataset-records-WVCSQP7P.js.map +0 -1
  191. package/dist/list-datasets-KEXRLDEU.js.map +0 -1
  192. package/dist/list-evaluators-7R2LB4JH.js.map +0 -1
  193. package/dist/list-model-providers-OBYJCKBX.js.map +0 -1
  194. package/dist/list-prompt-tags-6LY3ZPYI.js.map +0 -1
  195. package/dist/list-prompts-VWEZ4CDE.js.map +0 -1
  196. package/dist/list-scenarios-TXD4W2ZJ.js.map +0 -1
  197. package/dist/list-simulation-runs-RHPOLMFI.js.map +0 -1
  198. package/dist/list-suites-FSGBX27Z.js.map +0 -1
  199. package/dist/list-workflows-VRGEZ3EN.js.map +0 -1
  200. package/dist/rename-prompt-tag-VOJJLX4M.js.map +0 -1
  201. package/dist/run-agent-KTCC7TB7.js.map +0 -1
  202. package/dist/run-evaluation-2X3V3Q6L.js +0 -64
  203. package/dist/run-evaluation-2X3V3Q6L.js.map +0 -1
  204. package/dist/run-suite-BTMHGI2D.js.map +0 -1
  205. package/dist/run-workflow-IGAYGKJL.js.map +0 -1
  206. package/dist/search-traces-VYFUIMXH.js.map +0 -1
  207. package/dist/set-model-provider-W5IUI326.js.map +0 -1
  208. package/dist/update-agent-4BB7EYLR.js.map +0 -1
  209. package/dist/update-dataset-CXBKZ4W3.js.map +0 -1
  210. package/dist/update-dataset-record-HOHAMHXG.js.map +0 -1
  211. package/dist/update-evaluator-IVOR6FTR.js.map +0 -1
  212. package/dist/update-prompt-OWQAKE7K.js.map +0 -1
  213. package/dist/update-scenario-GDFVILPN.js.map +0 -1
  214. package/dist/update-suite-BXYUYSPT.js.map +0 -1
  215. package/tests/evaluations.ipynb +0 -649
  216. package/tests/fixtures/azure/azure_openai_stream_bot_expected.py +0 -102
  217. package/tests/fixtures/azure/azure_openai_stream_bot_input.py +0 -78
  218. package/tests/fixtures/dspy/dspy_bot_expected.py +0 -61
  219. package/tests/fixtures/dspy/dspy_bot_input.py +0 -53
  220. package/tests/fixtures/fastapi/fastapi_app_expected.py +0 -68
  221. package/tests/fixtures/fastapi/fastapi_app_input.py +0 -60
  222. package/tests/fixtures/fastapi/prompt_management_fastapi_expected.py +0 -114
  223. package/tests/fixtures/fastapi/prompt_management_fastapi_input.py +0 -88
  224. package/tests/fixtures/haystack/haystack_bot_expected.py +0 -141
  225. package/tests/fixtures/haystack/haystack_bot_input.py +0 -69
  226. package/tests/fixtures/langchain/langchain_bot_expected.py +0 -53
  227. package/tests/fixtures/langchain/langchain_bot_input.py +0 -45
  228. package/tests/fixtures/langchain/langchain_bot_with_memory_expected.py +0 -69
  229. package/tests/fixtures/langchain/langchain_bot_with_memory_input.py +0 -61
  230. package/tests/fixtures/langchain/langchain_rag_bot_expected.py +0 -97
  231. package/tests/fixtures/langchain/langchain_rag_bot_input.py +0 -77
  232. package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_expected.py +0 -116
  233. package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_input.py +0 -81
  234. package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_expected.py +0 -331
  235. package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_input.py +0 -106
  236. package/tests/fixtures/litellm/litellm_bot_expected.py +0 -40
  237. package/tests/fixtures/litellm/litellm_bot_input.py +0 -35
  238. package/tests/fixtures/openai/openai_bot_expected.py +0 -43
  239. package/tests/fixtures/openai/openai_bot_function_call_expected.py +0 -91
  240. package/tests/fixtures/openai/openai_bot_function_call_input.py +0 -82
  241. package/tests/fixtures/openai/openai_bot_input.py +0 -36
  242. package/tests/fixtures/openai/openai_bot_rag_expected.py +0 -73
  243. package/tests/fixtures/openai/openai_bot_rag_input.py +0 -51
  244. package/tests/fixtures/opentelemetry/openinference_dspy_bot_expected.py +0 -63
  245. package/tests/fixtures/opentelemetry/openinference_dspy_bot_input.py +0 -58
  246. package/tests/fixtures/opentelemetry/openinference_langchain_bot_expected.py +0 -53
  247. package/tests/fixtures/opentelemetry/openinference_langchain_bot_input.py +0 -52
  248. package/tests/fixtures/opentelemetry/openinference_openai_bot_expected.py +0 -49
  249. package/tests/fixtures/opentelemetry/openinference_openai_bot_input.py +0 -41
  250. package/tests/fixtures/opentelemetry/openllmetry_openai_bot_expected.py +0 -44
  251. package/tests/fixtures/opentelemetry/openllmetry_openai_bot_input.py +0 -40
  252. package/tests/fixtures/strands/strands_bot_expected.py +0 -84
  253. package/tests/fixtures/strands/strands_bot_input.py +0 -52
  254. package/tests/scenario-openai.test.ts +0 -160
  255. package/tsup.config.ts +0 -14
  256. package/vitest.config.js +0 -7
@@ -0,0 +1 @@
1
+ release-please shadow marker (v2) — next: 0.8.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,92 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.0](https://github.com/langwatch/langwatch/compare/mcp-server@v0.8.0...mcp-server@v0.9.0) (2026-05-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api-keys:** scope-based permissions with fine-grained categories + docs ([#4117](https://github.com/langwatch/langwatch/issues/4117)) ([3dca0f6](https://github.com/langwatch/langwatch/commit/3dca0f685f8df8333d22117581510b0f6e13442d))
9
+ * **dev-env:** boxd Makefile + quickstart rework ([#3891](https://github.com/langwatch/langwatch/issues/3891) + [#3860](https://github.com/langwatch/langwatch/issues/3860)) ([#3901](https://github.com/langwatch/langwatch/issues/3901)) ([06e294e](https://github.com/langwatch/langwatch/commit/06e294e590b733c19147a027c432a9b68080a276))
10
+ * **experiments:** list + per-row results across SDK / CLI / MCP, plus evaluations-v3 → experiments rename ([#3893](https://github.com/langwatch/langwatch/issues/3893)) ([895cda8](https://github.com/langwatch/langwatch/commit/895cda80565c0c69da64affde501c5f159ce283f))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deps:** upgrade langsmith sdk security floors ([2e18927](https://github.com/langwatch/langwatch/commit/2e18927c0c1c1fdec24c2bba17e5f094e56a9deb))
16
+ * **deps:** upgrade LangSmith SDK security floors ([#4041](https://github.com/langwatch/langwatch/issues/4041)) ([2e18927](https://github.com/langwatch/langwatch/commit/2e18927c0c1c1fdec24c2bba17e5f094e56a9deb))
17
+
18
+
19
+ ### Miscellaneous
20
+
21
+ * relicense langwatch from BSL 1.1 to Apache 2.0 (+ ee/ for enterprise modules) ([#4085](https://github.com/langwatch/langwatch/issues/4085)) ([23b9dcd](https://github.com/langwatch/langwatch/commit/23b9dcd051806e0d2162b377a7e1b4c3fecb3ed5))
22
+ * **security:** add dependency age gates ([#3523](https://github.com/langwatch/langwatch/issues/3523)) ([78f5b20](https://github.com/langwatch/langwatch/commit/78f5b2059228748d19fb4bf74118c9bee6c474f9))
23
+
24
+ ## [0.8.0](https://github.com/langwatch/langwatch/compare/mcp-server@v0.7.0...mcp-server@v0.8.0) (2026-05-13)
25
+
26
+
27
+ ### Features
28
+
29
+ * **api-key:** unified API Keys page with service keys, audit logging, and edit permissions ([#3386](https://github.com/langwatch/langwatch/issues/3386)) ([61a306c](https://github.com/langwatch/langwatch/commit/61a306c22f86af096c2f4651810bef2a7de486d6))
30
+ * **npx-server:** npx @langwatch/server — single-command local LangWatch ([#3486](https://github.com/langwatch/langwatch/issues/3486)) ([0884d31](https://github.com/langwatch/langwatch/commit/0884d3145cd910fcd199e1e70f82f805c9d1c972))
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **deps:** bump protobufjs to clear CVE-2026-41242 across JS workspaces ([#3612](https://github.com/langwatch/langwatch/issues/3612)) ([f2f2c37](https://github.com/langwatch/langwatch/commit/f2f2c37a4dc2011e7463752e952172b6225c2b6d))
36
+ * **deps:** patch high-severity npm vulnerabilities (fast-xml-builder, fast-uri) ([#3928](https://github.com/langwatch/langwatch/issues/3928)) ([2eb205b](https://github.com/langwatch/langwatch/commit/2eb205ba86e1ebd4c7f078c8dba746dd9f50b919))
37
+ * **deps:** upgrade [@opentelemetry](https://github.com/opentelemetry) packages — Prometheus exporter crash ([#3988](https://github.com/langwatch/langwatch/issues/3988)) ([4826054](https://github.com/langwatch/langwatch/commit/4826054f760a1e519233a586657f849cb11ea1b4))
38
+ * **deps:** upgrade [@opentelemetry](https://github.com/opentelemetry) packages — Prometheus exporter crash (alerts [#1058](https://github.com/langwatch/langwatch/issues/1058)-[#1095](https://github.com/langwatch/langwatch/issues/1095)) ([4826054](https://github.com/langwatch/langwatch/commit/4826054f760a1e519233a586657f849cb11ea1b4))
39
+ * **deps:** upgrade aiohttp, starlette, pillow, lxml ([#3564](https://github.com/langwatch/langwatch/issues/3564)) ([498847e](https://github.com/langwatch/langwatch/commit/498847e43c3088ef68b357c6b04d02d1005a5f9a))
40
+ * **deps:** upgrade aiohttp, starlette, pillow, lxml (Python heavy) ([498847e](https://github.com/langwatch/langwatch/commit/498847e43c3088ef68b357c6b04d02d1005a5f9a))
41
+ * **deps:** upgrade cryptography to 47.0.0 in mcp-server (alerts [#854](https://github.com/langwatch/langwatch/issues/854), [#697](https://github.com/langwatch/langwatch/issues/697)) ([#3799](https://github.com/langwatch/langwatch/issues/3799)) ([0e3de7a](https://github.com/langwatch/langwatch/commit/0e3de7af9d0e9fe48f42a9ae2ea3b23e877f9bdd))
42
+ * **deps:** upgrade nltk, authlib (Dependabot [#612](https://github.com/langwatch/langwatch/issues/612), [#522](https://github.com/langwatch/langwatch/issues/522), [#592](https://github.com/langwatch/langwatch/issues/592), [#593](https://github.com/langwatch/langwatch/issues/593), [#594](https://github.com/langwatch/langwatch/issues/594)) ([#3659](https://github.com/langwatch/langwatch/issues/3659)) ([0576cc0](https://github.com/langwatch/langwatch/commit/0576cc0bafa041bb83dd938e7d5c8f6df6d236ce))
43
+ * **deps:** upgrade nltk, authlib to resolve security alerts ([0576cc0](https://github.com/langwatch/langwatch/commit/0576cc0bafa041bb83dd938e7d5c8f6df6d236ce))
44
+ * **deps:** upgrade pyasn1, filelock, Pygments, nltk (Python patches) ([#3561](https://github.com/langwatch/langwatch/issues/3561)) ([27152ca](https://github.com/langwatch/langwatch/commit/27152ca723b2e31aa3ac760847b17d8e3dfc3714))
45
+ * **deps:** upgrade PyJWT, pillow, onnx (Dependabot) ([#3656](https://github.com/langwatch/langwatch/issues/3656)) ([5eb44a3](https://github.com/langwatch/langwatch/commit/5eb44a3618930847a38abb38345a8d424b6c3021))
46
+ * **deps:** upgrade PyJWT, pillow, onnx to resolve security alerts ([5eb44a3](https://github.com/langwatch/langwatch/commit/5eb44a3618930847a38abb38345a8d424b6c3021))
47
+ * **deps:** upgrade python-liquid to 2.2.0 — filesystem loader path escape ([#3986](https://github.com/langwatch/langwatch/issues/3986)) ([6c390e3](https://github.com/langwatch/langwatch/commit/6c390e301185c81afd59cd64ed7c489789b6b86c))
48
+ * **deps:** upgrade python-liquid to 2.2.0 — filesystem loader path escape (alerts [#1066](https://github.com/langwatch/langwatch/issues/1066)-[#1068](https://github.com/langwatch/langwatch/issues/1068)) ([6c390e3](https://github.com/langwatch/langwatch/commit/6c390e301185c81afd59cd64ed7c489789b6b86c))
49
+ * **deps:** upgrade tornado, urllib3, cryptography (Dependabot) ([#3657](https://github.com/langwatch/langwatch/issues/3657)) ([f8a2e9a](https://github.com/langwatch/langwatch/commit/f8a2e9a5cf6b836524bc2a170d589e1a01ad3921))
50
+ * **deps:** upgrade tornado, urllib3, cryptography to resolve security alerts ([f8a2e9a](https://github.com/langwatch/langwatch/commit/f8a2e9a5cf6b836524bc2a170d589e1a01ad3921))
51
+ * **deps:** upgrade urllib3 to 2.7.0 — decompression-bomb bypass, header forwarding ([#3985](https://github.com/langwatch/langwatch/issues/3985)) ([071cea7](https://github.com/langwatch/langwatch/commit/071cea7c0a4fb094bc6f5a911eefbdc1bb8766c4))
52
+ * **deps:** upgrade urllib3 to 2.7.0 — decompression-bomb bypass, header forwarding (alerts [#1071](https://github.com/langwatch/langwatch/issues/1071)-[#1082](https://github.com/langwatch/langwatch/issues/1082)) ([071cea7](https://github.com/langwatch/langwatch/commit/071cea7c0a4fb094bc6f5a911eefbdc1bb8766c4))
53
+ * **release:** path-routed Release-As shadows for 6 polluted components ([#3627](https://github.com/langwatch/langwatch/issues/3627)) ([b39d59e](https://github.com/langwatch/langwatch/commit/b39d59e87ed6d87224d580271175650c1d4159a7))
54
+ * **release:** scope Release-As to langwatch, restore other components ([#3618](https://github.com/langwatch/langwatch/issues/3618)) ([e259e79](https://github.com/langwatch/langwatch/commit/e259e796b50e4d060e5c7f42cad1927f1da8a83d))
55
+ * **security:** bump protobufjs overrides to 7.5.6/8.0.2 for 28 high-severity CVEs ([#4004](https://github.com/langwatch/langwatch/issues/4004)) ([6083473](https://github.com/langwatch/langwatch/commit/608347380c28f4c691d2e415fdc096a533c41e75))
56
+ * **security:** upgrade high-severity pip dependencies (excluding langchain-core) ([#3929](https://github.com/langwatch/langwatch/issues/3929)) ([f2d5de6](https://github.com/langwatch/langwatch/commit/f2d5de6bf619d188c46947f76812a2c3b3ecf39a))
57
+
58
+
59
+ ### Miscellaneous
60
+
61
+ * **deps-dev:** bump @ai-sdk/anthropic from 3.0.58 to 3.0.72 in /mcp-server ([#3498](https://github.com/langwatch/langwatch/issues/3498)) ([cf0531d](https://github.com/langwatch/langwatch/commit/cf0531dbc69a326feb75c3780e7a20abf8774991))
62
+ * **deps-dev:** bump @ai-sdk/anthropic from 3.0.72 to 3.0.74 in /mcp-server ([#3730](https://github.com/langwatch/langwatch/issues/3730)) ([18bc29b](https://github.com/langwatch/langwatch/commit/18bc29b478bffee27482c6fb8eaba53765bc1ec4))
63
+ * **deps-dev:** bump @ai-sdk/anthropic in /mcp-server ([18bc29b](https://github.com/langwatch/langwatch/commit/18bc29b478bffee27482c6fb8eaba53765bc1ec4))
64
+ * **deps-dev:** bump @ai-sdk/anthropic in /mcp-server ([cf0531d](https://github.com/langwatch/langwatch/commit/cf0531dbc69a326feb75c3780e7a20abf8774991))
65
+ * **deps-dev:** bump @anthropic-ai/claude-code from 2.1.72 to 2.1.76 in /mcp-server ([#2365](https://github.com/langwatch/langwatch/issues/2365)) ([6ade0cc](https://github.com/langwatch/langwatch/commit/6ade0ccb96bf646b2a3fa4ecbb4243632713d1a0))
66
+ * **deps-dev:** bump @anthropic-ai/claude-code from 2.1.76 to 2.1.119 in /mcp-server ([#3508](https://github.com/langwatch/langwatch/issues/3508)) ([afc67fa](https://github.com/langwatch/langwatch/commit/afc67fa0bafc661aa65f31e9cb6bda670848f7fc))
67
+ * **deps-dev:** bump @anthropic-ai/claude-code in /mcp-server ([6ade0cc](https://github.com/langwatch/langwatch/commit/6ade0ccb96bf646b2a3fa4ecbb4243632713d1a0))
68
+ * **deps-dev:** bump @eslint/js from 9.39.2 to 10.0.1 in /mcp-server ([#3496](https://github.com/langwatch/langwatch/issues/3496)) ([2840220](https://github.com/langwatch/langwatch/commit/284022014935b5c0610e1bef91dc5e52273efa98))
69
+ * **deps-dev:** bump @langwatch/scenario from 0.4.6 to 0.4.8 in /mcp-server ([#2367](https://github.com/langwatch/langwatch/issues/2367)) ([587a366](https://github.com/langwatch/langwatch/commit/587a3667921a961e77f1e568e9a303efb60be023))
70
+ * **deps-dev:** bump @langwatch/scenario in /mcp-server ([587a366](https://github.com/langwatch/langwatch/commit/587a3667921a961e77f1e568e9a303efb60be023))
71
+ * **deps-dev:** bump @types/debug from 4.1.12 to 4.1.13 in /mcp-server ([#3502](https://github.com/langwatch/langwatch/issues/3502)) ([3de6456](https://github.com/langwatch/langwatch/commit/3de645679f4027fcaf5075baa66c50b05455b485))
72
+ * **deps-dev:** bump @types/node from 16.18.126 to 25.6.0 in /mcp-server ([#3733](https://github.com/langwatch/langwatch/issues/3733)) ([1e8b9b7](https://github.com/langwatch/langwatch/commit/1e8b9b79cf467be4140ea3379cc783e316f90f29))
73
+ * **deps-dev:** bump @types/node in /mcp-server ([1e8b9b7](https://github.com/langwatch/langwatch/commit/1e8b9b79cf467be4140ea3379cc783e316f90f29))
74
+ * **deps-dev:** bump ai from 6.0.116 to 6.0.174 in /mcp-server ([#3724](https://github.com/langwatch/langwatch/issues/3724)) ([5d6fa3c](https://github.com/langwatch/langwatch/commit/5d6fa3c907ce33c5ecb10aabedb9259b4981e4ee))
75
+ * **deps-dev:** bump dotenv from 17.2.2 to 17.4.2 in /mcp-server ([#3500](https://github.com/langwatch/langwatch/issues/3500)) ([9b06333](https://github.com/langwatch/langwatch/commit/9b0633380e09518fcc91d3cd86117310dfaf120d))
76
+ * **deps-dev:** bump eslint from 8.57.1 to 10.0.3 in /mcp-server ([#2097](https://github.com/langwatch/langwatch/issues/2097)) ([d0c78a4](https://github.com/langwatch/langwatch/commit/d0c78a45bd42f61284e8836c84764b3970be9099))
77
+ * **deps:** bump @opentelemetry/sdk-node from 0.204.0 to 0.213.0 in /mcp-server ([#2088](https://github.com/langwatch/langwatch/issues/2088)) ([06019b7](https://github.com/langwatch/langwatch/commit/06019b78947d4b15212d9d5a353a471e2faf3531))
78
+ * **deps:** bump @opentelemetry/sdk-node in /mcp-server ([06019b7](https://github.com/langwatch/langwatch/commit/06019b78947d4b15212d9d5a353a471e2faf3531))
79
+ * **deps:** bump hono ([3c32c62](https://github.com/langwatch/langwatch/commit/3c32c62798a6311bdb458dda99e617c63d7be907))
80
+ * **deps:** bump hono from 4.12.5 to 4.12.7 in /mcp-server in the npm_and_yarn group across 1 directory ([#2235](https://github.com/langwatch/langwatch/issues/2235)) ([3c32c62](https://github.com/langwatch/langwatch/commit/3c32c62798a6311bdb458dda99e617c63d7be907))
81
+ * **deps:** bump langsmith from 0.7.1 to 0.7.31 in /mcp-server ([#3281](https://github.com/langwatch/langwatch/issues/3281)) ([60877d8](https://github.com/langwatch/langwatch/commit/60877d831c805c0f41ac8a7e6d84128fe80da238))
82
+ * **deps:** bump postcss ([9f3e50d](https://github.com/langwatch/langwatch/commit/9f3e50d55dc83afc34ce70f136a0aca2aa1f7b25))
83
+ * **deps:** bump postcss from 8.5.6 to 8.5.13 in /mcp-server in the npm_and_yarn group across 1 directory ([#3757](https://github.com/langwatch/langwatch/issues/3757)) ([9f3e50d](https://github.com/langwatch/langwatch/commit/9f3e50d55dc83afc34ce70f136a0aca2aa1f7b25))
84
+ * **deps:** bump the npm_and_yarn group across 1 directory with 5 updates ([#3410](https://github.com/langwatch/langwatch/issues/3410)) ([2d29949](https://github.com/langwatch/langwatch/commit/2d29949b5693359ffdc20351d761aa2d1db9c659))
85
+ * **mcp-server:** single-footer shadow Release-As 0.8.0 ([fc1153f](https://github.com/langwatch/langwatch/commit/fc1153f5fc0e9d364236a12910182c17bf46f510))
86
+ * release as 3.2.1 ([ca9d7a9](https://github.com/langwatch/langwatch/commit/ca9d7a9231a7b3d9d8cf9a28a48fa494b1daeb4b))
87
+ * release as 3.2.1 (override release-please from 3.3.0) ([#3615](https://github.com/langwatch/langwatch/issues/3615)) ([ca9d7a9](https://github.com/langwatch/langwatch/commit/ca9d7a9231a7b3d9d8cf9a28a48fa494b1daeb4b))
88
+ * scope Release-As to langwatch, restore other components ([e259e79](https://github.com/langwatch/langwatch/commit/e259e796b50e4d060e5c7f42cad1927f1da8a83d))
89
+
3
90
  ## [0.7.0](https://github.com/langwatch/langwatch/compare/mcp-server@v0.6.1...mcp-server@v0.7.0) (2026-04-16)
4
91
 
5
92
 
package/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2024-2026 LangWatch (Reasoning Engine B.V.)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ import {
2
+ archiveProject
3
+ } from "./chunk-ADSJ2FDA.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
+
7
+ // src/tools/archive-project.ts
8
+ async function handleArchiveProject(params) {
9
+ const result = await archiveProject(params.id);
10
+ return `Project archived successfully.
11
+
12
+ **Name**: ${result.name}
13
+ **ID**: ${result.id}
14
+ **Archived At**: ${result.archivedAt}`;
15
+ }
16
+ export {
17
+ handleArchiveProject
18
+ };
19
+ //# sourceMappingURL=archive-project-HZBRPR2S.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  archiveScenario
3
- } from "./chunk-2GT7IFWK.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-CCM4ZFGF.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/archive-scenario.ts
8
8
  async function handleArchiveScenario(params) {
@@ -16,4 +16,4 @@ async function handleArchiveScenario(params) {
16
16
  export {
17
17
  handleArchiveScenario
18
18
  };
19
- //# sourceMappingURL=archive-scenario-WJ2A7ETN.js.map
19
+ //# sourceMappingURL=archive-scenario-P5RRITRM.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  archiveSuite
3
- } from "./chunk-LUMEZEHL.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-CHKCEZBP.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/archive-suite.ts
8
8
  async function handleArchiveSuite(params) {
@@ -12,4 +12,4 @@ async function handleArchiveSuite(params) {
12
12
  export {
13
13
  handleArchiveSuite
14
14
  };
15
- //# sourceMappingURL=archive-suite-4JOM4SSL.js.map
15
+ //# sourceMappingURL=archive-suite-NUUFD2EM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  assignPromptTag
3
- } from "./chunk-2WPLXEKF.js";
4
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
+ import "./chunk-KOO5733S.js";
5
5
 
6
6
  // src/tools/assign-prompt-tag.ts
7
7
  async function handleAssignPromptTag(params) {
@@ -16,4 +16,4 @@ async function handleAssignPromptTag(params) {
16
16
  export {
17
17
  handleAssignPromptTag
18
18
  };
19
- //# sourceMappingURL=assign-prompt-tag-GL7EAAF3.js.map
19
+ //# sourceMappingURL=assign-prompt-tag-FKCCZPML.js.map
@@ -1,14 +1,26 @@
1
1
  import {
2
2
  getConfig,
3
3
  requireApiKey
4
- } from "./chunk-BWWY5KEF.js";
4
+ } from "./chunk-KOO5733S.js";
5
5
 
6
6
  // src/langwatch-api.ts
7
+ var LangWatchApiError = class extends Error {
8
+ constructor(message, status, responseBody) {
9
+ super(message);
10
+ this.status = status;
11
+ this.responseBody = responseBody;
12
+ this.name = "LangWatchApiError";
13
+ }
14
+ };
7
15
  async function makeRequest(method, path, body) {
8
- const url = getConfig().endpoint + path;
16
+ const config = getConfig();
17
+ const url = config.endpoint + path;
9
18
  const headers = {
10
19
  "X-Auth-Token": requireApiKey()
11
20
  };
21
+ if (config.projectId) {
22
+ headers["X-Project-Id"] = config.projectId;
23
+ }
12
24
  if (body !== void 0) {
13
25
  headers["Content-Type"] = "application/json";
14
26
  }
@@ -19,8 +31,10 @@ async function makeRequest(method, path, body) {
19
31
  });
20
32
  if (!response.ok) {
21
33
  const responseBody = await response.text();
22
- throw new Error(
23
- `LangWatch API error ${response.status}: ${responseBody}`
34
+ throw new LangWatchApiError(
35
+ `LangWatch API error ${response.status}: ${responseBody}`,
36
+ response.status,
37
+ responseBody
24
38
  );
25
39
  }
26
40
  if (response.status === 204 || response.headers?.get("content-length") === "0") {
@@ -110,6 +124,7 @@ async function deletePromptTag(tag) {
110
124
  }
111
125
 
112
126
  export {
127
+ LangWatchApiError,
113
128
  makeRequest,
114
129
  searchTraces,
115
130
  getTraceById,
@@ -124,4 +139,4 @@ export {
124
139
  renamePromptTag,
125
140
  deletePromptTag
126
141
  };
127
- //# sourceMappingURL=chunk-2WPLXEKF.js.map
142
+ //# sourceMappingURL=chunk-42ZHHHIJ.js.map
@@ -0,0 +1,44 @@
1
+ import {
2
+ makeRequest
3
+ } from "./chunk-42ZHHHIJ.js";
4
+
5
+ // src/langwatch-api-projects.ts
6
+ async function listProjects(params) {
7
+ const query = new URLSearchParams();
8
+ if (params?.page) query.set("page", String(params.page));
9
+ if (params?.limit) query.set("limit", String(params.limit));
10
+ const qs = query.toString() ? `?${query}` : "";
11
+ return makeRequest("GET", `/api/projects${qs}`);
12
+ }
13
+ async function getProject(id) {
14
+ return makeRequest(
15
+ "GET",
16
+ `/api/projects/${encodeURIComponent(id)}`
17
+ );
18
+ }
19
+ async function createProject(data) {
20
+ return makeRequest("POST", "/api/projects", data);
21
+ }
22
+ async function updateProject(params) {
23
+ const { id, ...data } = params;
24
+ return makeRequest(
25
+ "PATCH",
26
+ `/api/projects/${encodeURIComponent(id)}`,
27
+ data
28
+ );
29
+ }
30
+ async function archiveProject(id) {
31
+ return makeRequest(
32
+ "DELETE",
33
+ `/api/projects/${encodeURIComponent(id)}`
34
+ );
35
+ }
36
+
37
+ export {
38
+ listProjects,
39
+ getProject,
40
+ createProject,
41
+ updateProject,
42
+ archiveProject
43
+ };
44
+ //# sourceMappingURL=chunk-ADSJ2FDA.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-annotations.ts
6
6
  async function listAnnotations() {
@@ -39,4 +39,4 @@ export {
39
39
  createAnnotation,
40
40
  deleteAnnotation
41
41
  };
42
- //# sourceMappingURL=chunk-IE4M5OGE.js.map
42
+ //# sourceMappingURL=chunk-BB7EOKHR.js.map
@@ -0,0 +1,24 @@
1
+ import {
2
+ makeRequest
3
+ } from "./chunk-42ZHHHIJ.js";
4
+
5
+ // src/langwatch-api-api-keys.ts
6
+ async function listApiKeys() {
7
+ return makeRequest("GET", "/api/api-keys");
8
+ }
9
+ async function createApiKey(data) {
10
+ return makeRequest("POST", "/api/api-keys", data);
11
+ }
12
+ async function revokeApiKey(id) {
13
+ return makeRequest(
14
+ "DELETE",
15
+ `/api/api-keys/${encodeURIComponent(id)}`
16
+ );
17
+ }
18
+
19
+ export {
20
+ listApiKeys,
21
+ createApiKey,
22
+ revokeApiKey
23
+ };
24
+ //# sourceMappingURL=chunk-BBJ5WAJB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-simulation-runs.ts
6
6
  async function listSimulationRuns(params) {
@@ -22,4 +22,4 @@ export {
22
22
  listSimulationRuns,
23
23
  getSimulationRun
24
24
  };
25
- //# sourceMappingURL=chunk-EGH5RPXM.js.map
25
+ //# sourceMappingURL=chunk-BYWYM2RP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-scenarios.ts
6
6
  async function listScenarios() {
@@ -37,4 +37,4 @@ export {
37
37
  updateScenario,
38
38
  archiveScenario
39
39
  };
40
- //# sourceMappingURL=chunk-2GT7IFWK.js.map
40
+ //# sourceMappingURL=chunk-CCM4ZFGF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-suites.ts
6
6
  async function listSuites() {
@@ -45,4 +45,4 @@ export {
45
45
  runSuite,
46
46
  archiveSuite
47
47
  };
48
- //# sourceMappingURL=chunk-LUMEZEHL.js.map
48
+ //# sourceMappingURL=chunk-CHKCEZBP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-workflows.ts
6
6
  async function listWorkflows() {
@@ -32,4 +32,4 @@ export {
32
32
  runWorkflow,
33
33
  deleteWorkflow
34
34
  };
35
- //# sourceMappingURL=chunk-ZVS4UKN2.js.map
35
+ //# sourceMappingURL=chunk-HKY3GW45.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-dashboards.ts
6
6
  async function listDashboards() {
@@ -36,4 +36,4 @@ export {
36
36
  renameDashboard,
37
37
  deleteDashboard
38
38
  };
39
- //# sourceMappingURL=chunk-EUQDVOSU.js.map
39
+ //# sourceMappingURL=chunk-JHOSVOHT.js.map