@langwatch/mcp-server 0.7.0 → 0.8.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 (225) hide show
  1. package/.release-please-shim +1 -0
  2. package/CHANGELOG.md +66 -0
  3. package/dist/{archive-scenario-WJ2A7ETN.js → archive-scenario-YKGLJ4MZ.js} +4 -4
  4. package/dist/{archive-suite-4JOM4SSL.js → archive-suite-QFNDO3Y3.js} +4 -4
  5. package/dist/{assign-prompt-tag-GL7EAAF3.js → assign-prompt-tag-Y2B4CBBT.js} +3 -3
  6. package/dist/{chunk-E5JYYU3J.js → chunk-B57MZ4WI.js} +89 -83
  7. package/dist/{chunk-CCWCIJJ3.js → chunk-CPUPGDNA.js} +2 -2
  8. package/dist/{chunk-LUMEZEHL.js → chunk-FBRKHHJV.js} +2 -2
  9. package/dist/{chunk-HYMIWO3U.js → chunk-HDJDFKZR.js} +2 -2
  10. package/dist/{chunk-BWWY5KEF.js → chunk-KOO5733S.js} +3 -2
  11. package/dist/{chunk-EUQDVOSU.js → chunk-KZNBCKWG.js} +2 -2
  12. package/dist/{chunk-IE4M5OGE.js → chunk-L6QENXYA.js} +2 -2
  13. package/dist/{chunk-2GT7IFWK.js → chunk-NACSR6B7.js} +2 -2
  14. package/dist/{chunk-WQG2DFHX.js → chunk-OVQF3D5R.js} +2 -2
  15. package/dist/{chunk-ZVS4UKN2.js → chunk-PO7FM7IX.js} +2 -2
  16. package/dist/{chunk-EGH5RPXM.js → chunk-PZUWCWOS.js} +2 -2
  17. package/dist/{chunk-2WPLXEKF.js → chunk-YH2IBTEL.js} +7 -3
  18. package/dist/{chunk-4AUB2BIA.js → chunk-YI3OG4PI.js} +3 -3
  19. package/dist/config.js +1 -1
  20. package/dist/{create-agent-MBOOT3XK.js → create-agent-YRSDH7P7.js} +4 -4
  21. package/dist/{create-annotation-XMV6A7ED.js → create-annotation-FYQNKMVJ.js} +4 -4
  22. package/dist/{create-dashboard-VRKLFVZJ.js → create-dashboard-CORBR4YQ.js} +4 -4
  23. package/dist/{create-dataset-7HQPZCRE.js → create-dataset-ZC63T6BB.js} +4 -4
  24. package/dist/{create-dataset-records-2NIVFYTV.js → create-dataset-records-ILVNVKVR.js} +4 -4
  25. package/dist/{create-evaluator-WYFRFLRC.js → create-evaluator-2AU3PXFB.js} +4 -4
  26. package/dist/create-mcp-server.js +2 -2
  27. package/dist/{create-prompt-IEN7O6JT.js → create-prompt-NKRJ47YY.js} +3 -3
  28. package/dist/{create-prompt-tag-CAEZ45VO.js → create-prompt-tag-S4JX3ULL.js} +3 -3
  29. package/dist/{create-scenario-6YHSMGLP.js → create-scenario-BPRF75KF.js} +4 -4
  30. package/dist/{create-suite-H5XOFDE5.js → create-suite-4YN7D6K2.js} +4 -4
  31. package/dist/{delete-agent-JKTNBWAA.js → delete-agent-Y72R2YQA.js} +4 -4
  32. package/dist/{delete-annotation-ACMDV6QO.js → delete-annotation-UHWDMHSH.js} +4 -4
  33. package/dist/{delete-dashboard-VJSR7CRU.js → delete-dashboard-LPWT36KN.js} +4 -4
  34. package/dist/{delete-dataset-RTTTWP4D.js → delete-dataset-GGPQRHKX.js} +4 -4
  35. package/dist/{delete-dataset-records-KNQTIPQK.js → delete-dataset-records-LTG5LT26.js} +4 -4
  36. package/dist/{delete-evaluator-7FVC5WM4.js → delete-evaluator-F7QLXDHU.js} +4 -4
  37. package/dist/{delete-prompt-tag-ZMZUAGFW.js → delete-prompt-tag-B5UKZL45.js} +3 -3
  38. package/dist/{delete-workflow-EYQ3T4RQ.js → delete-workflow-4DGUDIDE.js} +4 -4
  39. package/dist/{get-agent-E3QSTVKG.js → get-agent-YEVICUX4.js} +4 -4
  40. package/dist/{get-analytics-2OHV763I.js → get-analytics-3W5CMU3F.js} +3 -3
  41. package/dist/{get-dashboard-PC7JDHH6.js → get-dashboard-NCQHN6MW.js} +4 -4
  42. package/dist/{get-dataset-H5IK5FVU.js → get-dataset-KBK6PH36.js} +4 -4
  43. package/dist/{get-evaluator-UWVUPYTM.js → get-evaluator-QDUL5LXR.js} +4 -4
  44. package/dist/{get-prompt-WZUOLLQC.js → get-prompt-XCSSNRKR.js} +3 -3
  45. package/dist/{get-scenario-Q6LCNUYN.js → get-scenario-FNRKOY7E.js} +4 -4
  46. package/dist/{get-simulation-run-Z2XKO256.js → get-simulation-run-WOEKUF7K.js} +4 -4
  47. package/dist/{get-suite-BXK5TN7P.js → get-suite-U5AOD5TC.js} +4 -4
  48. package/dist/{get-trace-4EJAYVBG.js → get-trace-MUWEJM2Z.js} +3 -3
  49. package/dist/{get-workflow-O34QJLHD.js → get-workflow-SOA7MT7L.js} +4 -4
  50. package/dist/{http-server-ISHF7NJX.js → http-server-7DMOCB75.js} +3 -3
  51. package/dist/index.js +423 -241
  52. package/dist/{langwatch-api-annotations-ERBG27RF.js → langwatch-api-annotations-Q57NDUVR.js} +4 -4
  53. package/dist/{langwatch-api-dashboards-G6TR7VVO.js → langwatch-api-dashboards-VBWWXV3Y.js} +4 -4
  54. package/dist/{langwatch-api-monitors-WSXZLS2B.js → langwatch-api-monitors-L3IY7FDT.js} +3 -3
  55. package/dist/{langwatch-api-secrets-RR5DKG2X.js → langwatch-api-secrets-S5HHF3XR.js} +3 -3
  56. package/dist/{langwatch-api-triggers-2RTNSWQY.js → langwatch-api-triggers-ME33QE26.js} +3 -3
  57. package/dist/langwatch-api-workflows-4CJQAYP2.js +15 -0
  58. package/dist/{list-agents-AW3P6FJV.js → list-agents-3HGIBJFM.js} +4 -4
  59. package/dist/{list-annotations-QNCGWPQ3.js → list-annotations-KWXYVEPI.js} +4 -4
  60. package/dist/{list-dashboards-R7RK2IXL.js → list-dashboards-VQ2LH666.js} +4 -4
  61. package/dist/{list-dataset-records-WVCSQP7P.js → list-dataset-records-RNRGROJP.js} +4 -4
  62. package/dist/{list-datasets-KEXRLDEU.js → list-datasets-I4A2LT2S.js} +4 -4
  63. package/dist/{list-evaluators-7R2LB4JH.js → list-evaluators-AKKRJ5MX.js} +4 -4
  64. package/dist/{list-model-providers-OBYJCKBX.js → list-model-providers-DVFEHFHZ.js} +4 -4
  65. package/dist/{list-prompt-tags-6LY3ZPYI.js → list-prompt-tags-PL5OISUA.js} +3 -3
  66. package/dist/{list-prompts-VWEZ4CDE.js → list-prompts-7VTFWE2Z.js} +3 -3
  67. package/dist/{list-scenarios-TXD4W2ZJ.js → list-scenarios-5BZWZ6ZN.js} +4 -4
  68. package/dist/{list-simulation-runs-RHPOLMFI.js → list-simulation-runs-WCZ6RLPE.js} +4 -4
  69. package/dist/{list-suites-FSGBX27Z.js → list-suites-RRQ2JX5Y.js} +4 -4
  70. package/dist/{list-workflows-VRGEZ3EN.js → list-workflows-UQB5FCX5.js} +4 -4
  71. package/dist/{rename-prompt-tag-VOJJLX4M.js → rename-prompt-tag-TURD6KYU.js} +3 -3
  72. package/dist/{run-agent-KTCC7TB7.js → run-agent-BEJ4K4CM.js} +4 -4
  73. package/dist/{run-evaluation-2X3V3Q6L.js → run-evaluation-AJ7WZNQD.js} +3 -3
  74. package/dist/{run-suite-BTMHGI2D.js → run-suite-U7V432G2.js} +4 -4
  75. package/dist/{run-workflow-IGAYGKJL.js → run-workflow-5WX7DK5T.js} +4 -4
  76. package/dist/{search-traces-VYFUIMXH.js → search-traces-ZCHNOMTX.js} +3 -3
  77. package/dist/{set-model-provider-W5IUI326.js → set-model-provider-6CFHMCNE.js} +4 -4
  78. package/dist/{update-agent-4BB7EYLR.js → update-agent-UE6UWLZP.js} +4 -4
  79. package/dist/{update-dataset-CXBKZ4W3.js → update-dataset-4XQZZE4S.js} +4 -4
  80. package/dist/{update-dataset-record-HOHAMHXG.js → update-dataset-record-GNNM5TKM.js} +4 -4
  81. package/dist/{update-evaluator-IVOR6FTR.js → update-evaluator-LHVDXIZD.js} +4 -4
  82. package/dist/{update-prompt-OWQAKE7K.js → update-prompt-3XEHECJ7.js} +3 -3
  83. package/dist/{update-scenario-GDFVILPN.js → update-scenario-DFPREYCD.js} +4 -4
  84. package/dist/{update-suite-BXYUYSPT.js → update-suite-RATU5THO.js} +4 -4
  85. package/package.json +6 -6
  86. package/src/__tests__/all-tools.integration.test.ts +9 -0
  87. package/src/__tests__/datasets.integration.test.ts +17 -0
  88. package/src/__tests__/datasets.unit.test.ts +4 -0
  89. package/src/__tests__/scenario-tools.unit.test.ts +3 -0
  90. package/src/config.ts +2 -0
  91. package/src/langwatch-api.ts +5 -1
  92. package/uv.lock +188 -530
  93. package/Dockerfile +0 -22
  94. package/build.js +0 -12
  95. package/dist/archive-scenario-WJ2A7ETN.js.map +0 -1
  96. package/dist/archive-suite-4JOM4SSL.js.map +0 -1
  97. package/dist/assign-prompt-tag-GL7EAAF3.js.map +0 -1
  98. package/dist/chunk-2GT7IFWK.js.map +0 -1
  99. package/dist/chunk-2WPLXEKF.js.map +0 -1
  100. package/dist/chunk-4AUB2BIA.js.map +0 -1
  101. package/dist/chunk-BWWY5KEF.js.map +0 -1
  102. package/dist/chunk-CCWCIJJ3.js.map +0 -1
  103. package/dist/chunk-E5JYYU3J.js.map +0 -1
  104. package/dist/chunk-EGH5RPXM.js.map +0 -1
  105. package/dist/chunk-EUQDVOSU.js.map +0 -1
  106. package/dist/chunk-HYMIWO3U.js.map +0 -1
  107. package/dist/chunk-IE4M5OGE.js.map +0 -1
  108. package/dist/chunk-LUMEZEHL.js.map +0 -1
  109. package/dist/chunk-NUFPTHKU.js.map +0 -1
  110. package/dist/chunk-WQG2DFHX.js.map +0 -1
  111. package/dist/chunk-WVI5CJ6S.js.map +0 -1
  112. package/dist/chunk-ZVS4UKN2.js.map +0 -1
  113. package/dist/chunk-ZXKLPC2E.js.map +0 -1
  114. package/dist/config.js.map +0 -1
  115. package/dist/create-agent-MBOOT3XK.js.map +0 -1
  116. package/dist/create-annotation-XMV6A7ED.js.map +0 -1
  117. package/dist/create-dashboard-VRKLFVZJ.js.map +0 -1
  118. package/dist/create-dataset-7HQPZCRE.js.map +0 -1
  119. package/dist/create-dataset-records-2NIVFYTV.js.map +0 -1
  120. package/dist/create-evaluator-WYFRFLRC.js.map +0 -1
  121. package/dist/create-mcp-server.js.map +0 -1
  122. package/dist/create-prompt-IEN7O6JT.js.map +0 -1
  123. package/dist/create-prompt-tag-CAEZ45VO.js.map +0 -1
  124. package/dist/create-scenario-6YHSMGLP.js.map +0 -1
  125. package/dist/create-suite-H5XOFDE5.js.map +0 -1
  126. package/dist/delete-agent-JKTNBWAA.js.map +0 -1
  127. package/dist/delete-annotation-ACMDV6QO.js.map +0 -1
  128. package/dist/delete-dashboard-VJSR7CRU.js.map +0 -1
  129. package/dist/delete-dataset-RTTTWP4D.js.map +0 -1
  130. package/dist/delete-dataset-records-KNQTIPQK.js.map +0 -1
  131. package/dist/delete-evaluator-7FVC5WM4.js.map +0 -1
  132. package/dist/delete-prompt-tag-ZMZUAGFW.js.map +0 -1
  133. package/dist/delete-workflow-EYQ3T4RQ.js.map +0 -1
  134. package/dist/discover-evaluator-schema-H23XCLNE.js.map +0 -1
  135. package/dist/discover-scenario-schema-MEEEVND7.js.map +0 -1
  136. package/dist/discover-schema-3T52ORPB.js.map +0 -1
  137. package/dist/get-agent-E3QSTVKG.js.map +0 -1
  138. package/dist/get-analytics-2OHV763I.js.map +0 -1
  139. package/dist/get-dashboard-PC7JDHH6.js.map +0 -1
  140. package/dist/get-dataset-H5IK5FVU.js.map +0 -1
  141. package/dist/get-evaluator-UWVUPYTM.js.map +0 -1
  142. package/dist/get-prompt-WZUOLLQC.js.map +0 -1
  143. package/dist/get-scenario-Q6LCNUYN.js.map +0 -1
  144. package/dist/get-simulation-run-Z2XKO256.js.map +0 -1
  145. package/dist/get-suite-BXK5TN7P.js.map +0 -1
  146. package/dist/get-trace-4EJAYVBG.js.map +0 -1
  147. package/dist/get-workflow-O34QJLHD.js.map +0 -1
  148. package/dist/http-server-ISHF7NJX.js.map +0 -1
  149. package/dist/index.js.map +0 -1
  150. package/dist/langwatch-api-annotations-ERBG27RF.js.map +0 -1
  151. package/dist/langwatch-api-dashboards-G6TR7VVO.js.map +0 -1
  152. package/dist/langwatch-api-monitors-WSXZLS2B.js.map +0 -1
  153. package/dist/langwatch-api-secrets-RR5DKG2X.js.map +0 -1
  154. package/dist/langwatch-api-triggers-2RTNSWQY.js.map +0 -1
  155. package/dist/langwatch-api-workflows-VJRIIDZ7.js +0 -15
  156. package/dist/langwatch-api-workflows-VJRIIDZ7.js.map +0 -1
  157. package/dist/list-agents-AW3P6FJV.js.map +0 -1
  158. package/dist/list-annotations-QNCGWPQ3.js.map +0 -1
  159. package/dist/list-dashboards-R7RK2IXL.js.map +0 -1
  160. package/dist/list-dataset-records-WVCSQP7P.js.map +0 -1
  161. package/dist/list-datasets-KEXRLDEU.js.map +0 -1
  162. package/dist/list-evaluators-7R2LB4JH.js.map +0 -1
  163. package/dist/list-model-providers-OBYJCKBX.js.map +0 -1
  164. package/dist/list-prompt-tags-6LY3ZPYI.js.map +0 -1
  165. package/dist/list-prompts-VWEZ4CDE.js.map +0 -1
  166. package/dist/list-scenarios-TXD4W2ZJ.js.map +0 -1
  167. package/dist/list-simulation-runs-RHPOLMFI.js.map +0 -1
  168. package/dist/list-suites-FSGBX27Z.js.map +0 -1
  169. package/dist/list-workflows-VRGEZ3EN.js.map +0 -1
  170. package/dist/rename-prompt-tag-VOJJLX4M.js.map +0 -1
  171. package/dist/run-agent-KTCC7TB7.js.map +0 -1
  172. package/dist/run-evaluation-2X3V3Q6L.js.map +0 -1
  173. package/dist/run-suite-BTMHGI2D.js.map +0 -1
  174. package/dist/run-workflow-IGAYGKJL.js.map +0 -1
  175. package/dist/search-traces-VYFUIMXH.js.map +0 -1
  176. package/dist/set-model-provider-W5IUI326.js.map +0 -1
  177. package/dist/update-agent-4BB7EYLR.js.map +0 -1
  178. package/dist/update-dataset-CXBKZ4W3.js.map +0 -1
  179. package/dist/update-dataset-record-HOHAMHXG.js.map +0 -1
  180. package/dist/update-evaluator-IVOR6FTR.js.map +0 -1
  181. package/dist/update-prompt-OWQAKE7K.js.map +0 -1
  182. package/dist/update-scenario-GDFVILPN.js.map +0 -1
  183. package/dist/update-suite-BXYUYSPT.js.map +0 -1
  184. package/tests/evaluations.ipynb +0 -649
  185. package/tests/fixtures/azure/azure_openai_stream_bot_expected.py +0 -102
  186. package/tests/fixtures/azure/azure_openai_stream_bot_input.py +0 -78
  187. package/tests/fixtures/dspy/dspy_bot_expected.py +0 -61
  188. package/tests/fixtures/dspy/dspy_bot_input.py +0 -53
  189. package/tests/fixtures/fastapi/fastapi_app_expected.py +0 -68
  190. package/tests/fixtures/fastapi/fastapi_app_input.py +0 -60
  191. package/tests/fixtures/fastapi/prompt_management_fastapi_expected.py +0 -114
  192. package/tests/fixtures/fastapi/prompt_management_fastapi_input.py +0 -88
  193. package/tests/fixtures/haystack/haystack_bot_expected.py +0 -141
  194. package/tests/fixtures/haystack/haystack_bot_input.py +0 -69
  195. package/tests/fixtures/langchain/langchain_bot_expected.py +0 -53
  196. package/tests/fixtures/langchain/langchain_bot_input.py +0 -45
  197. package/tests/fixtures/langchain/langchain_bot_with_memory_expected.py +0 -69
  198. package/tests/fixtures/langchain/langchain_bot_with_memory_input.py +0 -61
  199. package/tests/fixtures/langchain/langchain_rag_bot_expected.py +0 -97
  200. package/tests/fixtures/langchain/langchain_rag_bot_input.py +0 -77
  201. package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_expected.py +0 -116
  202. package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_input.py +0 -81
  203. package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_expected.py +0 -331
  204. package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_input.py +0 -106
  205. package/tests/fixtures/litellm/litellm_bot_expected.py +0 -40
  206. package/tests/fixtures/litellm/litellm_bot_input.py +0 -35
  207. package/tests/fixtures/openai/openai_bot_expected.py +0 -43
  208. package/tests/fixtures/openai/openai_bot_function_call_expected.py +0 -91
  209. package/tests/fixtures/openai/openai_bot_function_call_input.py +0 -82
  210. package/tests/fixtures/openai/openai_bot_input.py +0 -36
  211. package/tests/fixtures/openai/openai_bot_rag_expected.py +0 -73
  212. package/tests/fixtures/openai/openai_bot_rag_input.py +0 -51
  213. package/tests/fixtures/opentelemetry/openinference_dspy_bot_expected.py +0 -63
  214. package/tests/fixtures/opentelemetry/openinference_dspy_bot_input.py +0 -58
  215. package/tests/fixtures/opentelemetry/openinference_langchain_bot_expected.py +0 -53
  216. package/tests/fixtures/opentelemetry/openinference_langchain_bot_input.py +0 -52
  217. package/tests/fixtures/opentelemetry/openinference_openai_bot_expected.py +0 -49
  218. package/tests/fixtures/opentelemetry/openinference_openai_bot_input.py +0 -41
  219. package/tests/fixtures/opentelemetry/openllmetry_openai_bot_expected.py +0 -44
  220. package/tests/fixtures/opentelemetry/openllmetry_openai_bot_input.py +0 -40
  221. package/tests/fixtures/strands/strands_bot_expected.py +0 -84
  222. package/tests/fixtures/strands/strands_bot_input.py +0 -52
  223. package/tests/scenario-openai.test.ts +0 -160
  224. package/tsup.config.ts +0 -14
  225. package/vitest.config.js +0 -7
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireApiKey
3
- } from "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-KOO5733S.js";
4
4
 
5
5
  // src/create-mcp-server.ts
6
6
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -9,7 +9,7 @@ import { z as z2 } from "zod";
9
9
  // package.json
10
10
  var package_default = {
11
11
  name: "@langwatch/mcp-server",
12
- version: "0.7.0",
12
+ version: "0.8.0",
13
13
  description: "An MCP server for Langwatch.",
14
14
  type: "module",
15
15
  main: "./dist/index.js",
@@ -51,19 +51,19 @@ var package_default = {
51
51
  },
52
52
  devDependencies: {
53
53
  "@ai-sdk/anthropic": "^3.0.44",
54
- "@anthropic-ai/claude-code": "^2.1.72",
55
- "@eslint/js": "^9.4.0",
54
+ "@anthropic-ai/claude-code": "^2.1.119",
55
+ "@eslint/js": "^10.0.1",
56
56
  "@langwatch/scenario": "^0.4.6",
57
57
  "@types/debug": "^4.1.12",
58
58
  "@types/eslint__js": "^8.42.3",
59
59
  "@types/express": "^5.0.6",
60
- "@types/node": "^16.0.0",
60
+ "@types/node": "^25.6.0",
61
61
  "@types/yargs": "^17.0.33",
62
62
  "@typescript/native-preview": "7.0.0-dev.20250911.1",
63
63
  ai: "^6.0.0",
64
64
  dotenv: "^17.2.2",
65
65
  esbuild: "^0.25.0",
66
- eslint: "^8.57.0",
66
+ eslint: "^10.2.1",
67
67
  tsup: "^8.1.0",
68
68
  tsx: "^4.20.5",
69
69
  typescript: "^5.0.0",
@@ -72,7 +72,7 @@ var package_default = {
72
72
  dependencies: {
73
73
  "@modelcontextprotocol/sdk": "^1.26.0",
74
74
  "@opentelemetry/context-async-hooks": "^2.1.0",
75
- "@opentelemetry/sdk-node": "^0.204.0",
75
+ "@opentelemetry/sdk-node": "^0.217.0",
76
76
  chalk: "^5.6.2",
77
77
  "date-fns": "^4.1.0",
78
78
  express: "^5.2.1",
@@ -84,6 +84,12 @@ var package_default = {
84
84
  },
85
85
  bin: {
86
86
  "langwatch-mcp-server": "./dist/index.js"
87
+ },
88
+ pnpm: {
89
+ overrides: {
90
+ protobufjs: ">=7.5.6 <8.0.0 || >=8.0.2",
91
+ "fast-uri@<3.1.2": "3.1.2"
92
+ }
87
93
  }
88
94
  };
89
95
 
@@ -253,7 +259,7 @@ function registerTools(server) {
253
259
  },
254
260
  withToolLogging("search_traces", async (params) => {
255
261
  requireApiKey();
256
- const { handleSearchTraces } = await import("./search-traces-VYFUIMXH.js");
262
+ const { handleSearchTraces } = await import("./search-traces-ZCHNOMTX.js");
257
263
  return {
258
264
  content: [{ type: "text", text: await handleSearchTraces(params) }]
259
265
  };
@@ -270,7 +276,7 @@ function registerTools(server) {
270
276
  },
271
277
  withToolLogging("get_trace", async (params) => {
272
278
  requireApiKey();
273
- const { handleGetTrace } = await import("./get-trace-4EJAYVBG.js");
279
+ const { handleGetTrace } = await import("./get-trace-MUWEJM2Z.js");
274
280
  return {
275
281
  content: [{ type: "text", text: await handleGetTrace(params) }]
276
282
  };
@@ -296,7 +302,7 @@ function registerTools(server) {
296
302
  },
297
303
  withToolLogging("get_analytics", async (params) => {
298
304
  requireApiKey();
299
- const { handleGetAnalytics } = await import("./get-analytics-2OHV763I.js");
305
+ const { handleGetAnalytics } = await import("./get-analytics-3W5CMU3F.js");
300
306
  return {
301
307
  content: [{ type: "text", text: await handleGetAnalytics(params) }]
302
308
  };
@@ -330,7 +336,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
330
336
  },
331
337
  withToolLogging("platform_create_prompt", async (params) => {
332
338
  requireApiKey();
333
- const { handleCreatePrompt } = await import("./create-prompt-IEN7O6JT.js");
339
+ const { handleCreatePrompt } = await import("./create-prompt-NKRJ47YY.js");
334
340
  return {
335
341
  content: [{ type: "text", text: await handleCreatePrompt(params) }]
336
342
  };
@@ -342,7 +348,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
342
348
  {},
343
349
  withToolLogging("platform_list_prompts", async () => {
344
350
  requireApiKey();
345
- const { handleListPrompts } = await import("./list-prompts-VWEZ4CDE.js");
351
+ const { handleListPrompts } = await import("./list-prompts-7VTFWE2Z.js");
346
352
  return {
347
353
  content: [{ type: "text", text: await handleListPrompts() }]
348
354
  };
@@ -366,7 +372,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
366
372
  };
367
373
  }
368
374
  requireApiKey();
369
- const { handleGetPrompt } = await import("./get-prompt-WZUOLLQC.js");
375
+ const { handleGetPrompt } = await import("./get-prompt-XCSSNRKR.js");
370
376
  return {
371
377
  content: [{ type: "text", text: await handleGetPrompt(params) }]
372
378
  };
@@ -391,7 +397,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
391
397
  },
392
398
  withToolLogging("platform_update_prompt", async (params) => {
393
399
  requireApiKey();
394
- const { handleUpdatePrompt } = await import("./update-prompt-OWQAKE7K.js");
400
+ const { handleUpdatePrompt } = await import("./update-prompt-3XEHECJ7.js");
395
401
  return {
396
402
  content: [{ type: "text", text: await handleUpdatePrompt(params) }]
397
403
  };
@@ -407,7 +413,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
407
413
  },
408
414
  withToolLogging("platform_assign_prompt_tag", async (params) => {
409
415
  requireApiKey();
410
- const { handleAssignPromptTag } = await import("./assign-prompt-tag-GL7EAAF3.js");
416
+ const { handleAssignPromptTag } = await import("./assign-prompt-tag-Y2B4CBBT.js");
411
417
  return {
412
418
  content: [{ type: "text", text: await handleAssignPromptTag(params) }]
413
419
  };
@@ -419,7 +425,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
419
425
  {},
420
426
  withToolLogging("platform_list_prompt_tags", async () => {
421
427
  requireApiKey();
422
- const { handleListPromptTags } = await import("./list-prompt-tags-6LY3ZPYI.js");
428
+ const { handleListPromptTags } = await import("./list-prompt-tags-PL5OISUA.js");
423
429
  return {
424
430
  content: [{ type: "text", text: await handleListPromptTags() }]
425
431
  };
@@ -433,7 +439,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
433
439
  },
434
440
  withToolLogging("platform_create_prompt_tag", async (params) => {
435
441
  requireApiKey();
436
- const { handleCreatePromptTag } = await import("./create-prompt-tag-CAEZ45VO.js");
442
+ const { handleCreatePromptTag } = await import("./create-prompt-tag-S4JX3ULL.js");
437
443
  return {
438
444
  content: [{ type: "text", text: await handleCreatePromptTag(params) }]
439
445
  };
@@ -448,7 +454,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
448
454
  },
449
455
  withToolLogging("platform_rename_prompt_tag", async (params) => {
450
456
  requireApiKey();
451
- const { handleRenamePromptTag } = await import("./rename-prompt-tag-VOJJLX4M.js");
457
+ const { handleRenamePromptTag } = await import("./rename-prompt-tag-TURD6KYU.js");
452
458
  return {
453
459
  content: [{ type: "text", text: await handleRenamePromptTag(params) }]
454
460
  };
@@ -462,7 +468,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
462
468
  },
463
469
  withToolLogging("platform_delete_prompt_tag", async (params) => {
464
470
  requireApiKey();
465
- const { handleDeletePromptTag } = await import("./delete-prompt-tag-ZMZUAGFW.js");
471
+ const { handleDeletePromptTag } = await import("./delete-prompt-tag-B5UKZL45.js");
466
472
  return {
467
473
  content: [{ type: "text", text: await handleDeletePromptTag(params) }]
468
474
  };
@@ -490,7 +496,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
490
496
  },
491
497
  withToolLogging("platform_create_scenario", async (params) => {
492
498
  requireApiKey();
493
- const { handleCreateScenario } = await import("./create-scenario-6YHSMGLP.js");
499
+ const { handleCreateScenario } = await import("./create-scenario-BPRF75KF.js");
494
500
  return {
495
501
  content: [
496
502
  { type: "text", text: await handleCreateScenario(params) }
@@ -508,7 +514,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
508
514
  },
509
515
  withToolLogging("platform_list_scenarios", async (params) => {
510
516
  requireApiKey();
511
- const { handleListScenarios } = await import("./list-scenarios-TXD4W2ZJ.js");
517
+ const { handleListScenarios } = await import("./list-scenarios-5BZWZ6ZN.js");
512
518
  return {
513
519
  content: [
514
520
  { type: "text", text: await handleListScenarios(params) }
@@ -527,7 +533,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
527
533
  },
528
534
  withToolLogging("platform_get_scenario", async (params) => {
529
535
  requireApiKey();
530
- const { handleGetScenario } = await import("./get-scenario-Q6LCNUYN.js");
536
+ const { handleGetScenario } = await import("./get-scenario-FNRKOY7E.js");
531
537
  return {
532
538
  content: [{ type: "text", text: await handleGetScenario(params) }]
533
539
  };
@@ -545,7 +551,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
545
551
  },
546
552
  withToolLogging("platform_update_scenario", async (params) => {
547
553
  requireApiKey();
548
- const { handleUpdateScenario } = await import("./update-scenario-GDFVILPN.js");
554
+ const { handleUpdateScenario } = await import("./update-scenario-DFPREYCD.js");
549
555
  return {
550
556
  content: [
551
557
  { type: "text", text: await handleUpdateScenario(params) }
@@ -561,7 +567,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
561
567
  },
562
568
  withToolLogging("platform_archive_scenario", async (params) => {
563
569
  requireApiKey();
564
- const { handleArchiveScenario } = await import("./archive-scenario-WJ2A7ETN.js");
570
+ const { handleArchiveScenario } = await import("./archive-scenario-YKGLJ4MZ.js");
565
571
  return {
566
572
  content: [
567
573
  { type: "text", text: await handleArchiveScenario(params) }
@@ -577,7 +583,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
577
583
  },
578
584
  withToolLogging("platform_list_suites", async (params) => {
579
585
  requireApiKey();
580
- const { handleListSuites } = await import("./list-suites-FSGBX27Z.js");
586
+ const { handleListSuites } = await import("./list-suites-RRQ2JX5Y.js");
581
587
  return {
582
588
  content: [{ type: "text", text: await handleListSuites(params) }]
583
589
  };
@@ -592,7 +598,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
592
598
  },
593
599
  withToolLogging("platform_get_suite", async (params) => {
594
600
  requireApiKey();
595
- const { handleGetSuite } = await import("./get-suite-BXK5TN7P.js");
601
+ const { handleGetSuite } = await import("./get-suite-U5AOD5TC.js");
596
602
  return {
597
603
  content: [{ type: "text", text: await handleGetSuite(params) }]
598
604
  };
@@ -611,7 +617,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
611
617
  },
612
618
  withToolLogging("platform_create_suite", async (params) => {
613
619
  requireApiKey();
614
- const { handleCreateSuite } = await import("./create-suite-H5XOFDE5.js");
620
+ const { handleCreateSuite } = await import("./create-suite-4YN7D6K2.js");
615
621
  return {
616
622
  content: [{ type: "text", text: await handleCreateSuite(params) }]
617
623
  };
@@ -631,7 +637,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
631
637
  },
632
638
  withToolLogging("platform_update_suite", async (params) => {
633
639
  requireApiKey();
634
- const { handleUpdateSuite } = await import("./update-suite-BXYUYSPT.js");
640
+ const { handleUpdateSuite } = await import("./update-suite-RATU5THO.js");
635
641
  return {
636
642
  content: [{ type: "text", text: await handleUpdateSuite(params) }]
637
643
  };
@@ -645,7 +651,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
645
651
  },
646
652
  withToolLogging("platform_run_suite", async (params) => {
647
653
  requireApiKey();
648
- const { handleRunSuite } = await import("./run-suite-BTMHGI2D.js");
654
+ const { handleRunSuite } = await import("./run-suite-U7V432G2.js");
649
655
  return {
650
656
  content: [{ type: "text", text: await handleRunSuite(params) }]
651
657
  };
@@ -659,7 +665,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
659
665
  },
660
666
  withToolLogging("platform_archive_suite", async (params) => {
661
667
  requireApiKey();
662
- const { handleArchiveSuite } = await import("./archive-suite-4JOM4SSL.js");
668
+ const { handleArchiveSuite } = await import("./archive-suite-QFNDO3Y3.js");
663
669
  return {
664
670
  content: [{ type: "text", text: await handleArchiveSuite(params) }]
665
671
  };
@@ -676,7 +682,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
676
682
  },
677
683
  withToolLogging("platform_list_simulation_runs", async (params) => {
678
684
  requireApiKey();
679
- const { handleListSimulationRuns } = await import("./list-simulation-runs-RHPOLMFI.js");
685
+ const { handleListSimulationRuns } = await import("./list-simulation-runs-WCZ6RLPE.js");
680
686
  return {
681
687
  content: [{ type: "text", text: await handleListSimulationRuns(params) }]
682
688
  };
@@ -691,7 +697,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
691
697
  },
692
698
  withToolLogging("platform_get_simulation_run", async (params) => {
693
699
  requireApiKey();
694
- const { handleGetSimulationRun } = await import("./get-simulation-run-Z2XKO256.js");
700
+ const { handleGetSimulationRun } = await import("./get-simulation-run-WOEKUF7K.js");
695
701
  return {
696
702
  content: [{ type: "text", text: await handleGetSimulationRun(params) }]
697
703
  };
@@ -708,7 +714,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
708
714
  },
709
715
  withToolLogging("platform_create_evaluator", async (params) => {
710
716
  requireApiKey();
711
- const { handleCreateEvaluator } = await import("./create-evaluator-WYFRFLRC.js");
717
+ const { handleCreateEvaluator } = await import("./create-evaluator-2AU3PXFB.js");
712
718
  return {
713
719
  content: [
714
720
  { type: "text", text: await handleCreateEvaluator(params) }
@@ -722,7 +728,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
722
728
  {},
723
729
  withToolLogging("platform_list_evaluators", async () => {
724
730
  requireApiKey();
725
- const { handleListEvaluators } = await import("./list-evaluators-7R2LB4JH.js");
731
+ const { handleListEvaluators } = await import("./list-evaluators-AKKRJ5MX.js");
726
732
  return {
727
733
  content: [{ type: "text", text: await handleListEvaluators() }]
728
734
  };
@@ -736,7 +742,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
736
742
  },
737
743
  withToolLogging("platform_get_evaluator", async (params) => {
738
744
  requireApiKey();
739
- const { handleGetEvaluator } = await import("./get-evaluator-UWVUPYTM.js");
745
+ const { handleGetEvaluator } = await import("./get-evaluator-QDUL5LXR.js");
740
746
  return {
741
747
  content: [{ type: "text", text: await handleGetEvaluator(params) }]
742
748
  };
@@ -754,7 +760,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
754
760
  },
755
761
  withToolLogging("platform_update_evaluator", async (params) => {
756
762
  requireApiKey();
757
- const { handleUpdateEvaluator } = await import("./update-evaluator-IVOR6FTR.js");
763
+ const { handleUpdateEvaluator } = await import("./update-evaluator-LHVDXIZD.js");
758
764
  return {
759
765
  content: [
760
766
  { type: "text", text: await handleUpdateEvaluator(params) }
@@ -770,7 +776,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
770
776
  },
771
777
  withToolLogging("platform_delete_evaluator", async (params) => {
772
778
  requireApiKey();
773
- const { handleDeleteEvaluator } = await import("./delete-evaluator-7FVC5WM4.js");
779
+ const { handleDeleteEvaluator } = await import("./delete-evaluator-F7QLXDHU.js");
774
780
  return {
775
781
  content: [{ type: "text", text: await handleDeleteEvaluator(params) }]
776
782
  };
@@ -791,7 +797,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
791
797
  },
792
798
  withToolLogging("platform_set_model_provider", async (params) => {
793
799
  requireApiKey();
794
- const { handleSetModelProvider } = await import("./set-model-provider-W5IUI326.js");
800
+ const { handleSetModelProvider } = await import("./set-model-provider-6CFHMCNE.js");
795
801
  return {
796
802
  content: [
797
803
  { type: "text", text: await handleSetModelProvider(params) }
@@ -805,7 +811,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
805
811
  {},
806
812
  withToolLogging("platform_list_model_providers", async () => {
807
813
  requireApiKey();
808
- const { handleListModelProviders } = await import("./list-model-providers-OBYJCKBX.js");
814
+ const { handleListModelProviders } = await import("./list-model-providers-DVFEHFHZ.js");
809
815
  return {
810
816
  content: [{ type: "text", text: await handleListModelProviders() }]
811
817
  };
@@ -817,7 +823,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
817
823
  {},
818
824
  withToolLogging("platform_list_agents", async () => {
819
825
  requireApiKey();
820
- const { handleListAgents } = await import("./list-agents-AW3P6FJV.js");
826
+ const { handleListAgents } = await import("./list-agents-3HGIBJFM.js");
821
827
  return {
822
828
  content: [{ type: "text", text: await handleListAgents() }]
823
829
  };
@@ -831,7 +837,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
831
837
  },
832
838
  withToolLogging("platform_get_agent", async (params) => {
833
839
  requireApiKey();
834
- const { handleGetAgent } = await import("./get-agent-E3QSTVKG.js");
840
+ const { handleGetAgent } = await import("./get-agent-YEVICUX4.js");
835
841
  return {
836
842
  content: [{ type: "text", text: await handleGetAgent(params) }]
837
843
  };
@@ -847,7 +853,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
847
853
  },
848
854
  withToolLogging("platform_create_agent", async (params) => {
849
855
  requireApiKey();
850
- const { handleCreateAgent } = await import("./create-agent-MBOOT3XK.js");
856
+ const { handleCreateAgent } = await import("./create-agent-YRSDH7P7.js");
851
857
  const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
852
858
  return {
853
859
  content: [{ type: "text", text: await handleCreateAgent({ ...params, config: parsedConfig }) }]
@@ -865,7 +871,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
865
871
  },
866
872
  withToolLogging("platform_update_agent", async (params) => {
867
873
  requireApiKey();
868
- const { handleUpdateAgent } = await import("./update-agent-4BB7EYLR.js");
874
+ const { handleUpdateAgent } = await import("./update-agent-UE6UWLZP.js");
869
875
  const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
870
876
  return {
871
877
  content: [{ type: "text", text: await handleUpdateAgent({ ...params, config: parsedConfig }) }]
@@ -880,7 +886,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
880
886
  },
881
887
  withToolLogging("platform_delete_agent", async (params) => {
882
888
  requireApiKey();
883
- const { handleDeleteAgent } = await import("./delete-agent-JKTNBWAA.js");
889
+ const { handleDeleteAgent } = await import("./delete-agent-Y72R2YQA.js");
884
890
  return {
885
891
  content: [{ type: "text", text: await handleDeleteAgent(params) }]
886
892
  };
@@ -895,7 +901,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
895
901
  },
896
902
  withToolLogging("platform_run_agent", async (params) => {
897
903
  requireApiKey();
898
- const { handleRunAgent } = await import("./run-agent-KTCC7TB7.js");
904
+ const { handleRunAgent } = await import("./run-agent-BEJ4K4CM.js");
899
905
  return {
900
906
  content: [{ type: "text", text: await handleRunAgent(params) }]
901
907
  };
@@ -907,7 +913,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
907
913
  {},
908
914
  withToolLogging("platform_list_dashboards", async () => {
909
915
  requireApiKey();
910
- const { handleListDashboards } = await import("./list-dashboards-R7RK2IXL.js");
916
+ const { handleListDashboards } = await import("./list-dashboards-VQ2LH666.js");
911
917
  return {
912
918
  content: [{ type: "text", text: await handleListDashboards() }]
913
919
  };
@@ -921,7 +927,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
921
927
  },
922
928
  withToolLogging("platform_get_dashboard", async (params) => {
923
929
  requireApiKey();
924
- const { handleGetDashboard } = await import("./get-dashboard-PC7JDHH6.js");
930
+ const { handleGetDashboard } = await import("./get-dashboard-NCQHN6MW.js");
925
931
  return {
926
932
  content: [{ type: "text", text: await handleGetDashboard(params) }]
927
933
  };
@@ -935,7 +941,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
935
941
  },
936
942
  withToolLogging("platform_create_dashboard", async (params) => {
937
943
  requireApiKey();
938
- const { handleCreateDashboard } = await import("./create-dashboard-VRKLFVZJ.js");
944
+ const { handleCreateDashboard } = await import("./create-dashboard-CORBR4YQ.js");
939
945
  return {
940
946
  content: [{ type: "text", text: await handleCreateDashboard(params) }]
941
947
  };
@@ -949,7 +955,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
949
955
  },
950
956
  withToolLogging("platform_delete_dashboard", async (params) => {
951
957
  requireApiKey();
952
- const { handleDeleteDashboard } = await import("./delete-dashboard-VJSR7CRU.js");
958
+ const { handleDeleteDashboard } = await import("./delete-dashboard-LPWT36KN.js");
953
959
  return {
954
960
  content: [{ type: "text", text: await handleDeleteDashboard(params) }]
955
961
  };
@@ -964,7 +970,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
964
970
  },
965
971
  withToolLogging("platform_rename_dashboard", async (params) => {
966
972
  requireApiKey();
967
- const { renameDashboard } = await import("./langwatch-api-dashboards-G6TR7VVO.js");
973
+ const { renameDashboard } = await import("./langwatch-api-dashboards-VBWWXV3Y.js");
968
974
  const result = await renameDashboard(params.id, { name: params.name });
969
975
  return {
970
976
  content: [{ type: "text", text: `Dashboard "${result.name}" renamed successfully (ID: ${result.id}).` }]
@@ -977,7 +983,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
977
983
  {},
978
984
  withToolLogging("platform_list_workflows", async () => {
979
985
  requireApiKey();
980
- const { handleListWorkflows } = await import("./list-workflows-VRGEZ3EN.js");
986
+ const { handleListWorkflows } = await import("./list-workflows-UQB5FCX5.js");
981
987
  return {
982
988
  content: [{ type: "text", text: await handleListWorkflows() }]
983
989
  };
@@ -991,7 +997,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
991
997
  },
992
998
  withToolLogging("platform_get_workflow", async (params) => {
993
999
  requireApiKey();
994
- const { handleGetWorkflow } = await import("./get-workflow-O34QJLHD.js");
1000
+ const { handleGetWorkflow } = await import("./get-workflow-SOA7MT7L.js");
995
1001
  return {
996
1002
  content: [{ type: "text", text: await handleGetWorkflow(params) }]
997
1003
  };
@@ -1005,7 +1011,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1005
1011
  },
1006
1012
  withToolLogging("platform_delete_workflow", async (params) => {
1007
1013
  requireApiKey();
1008
- const { handleDeleteWorkflow } = await import("./delete-workflow-EYQ3T4RQ.js");
1014
+ const { handleDeleteWorkflow } = await import("./delete-workflow-4DGUDIDE.js");
1009
1015
  return {
1010
1016
  content: [{ type: "text", text: await handleDeleteWorkflow(params) }]
1011
1017
  };
@@ -1020,7 +1026,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1020
1026
  },
1021
1027
  withToolLogging("platform_run_workflow", async (params) => {
1022
1028
  requireApiKey();
1023
- const { handleRunWorkflow } = await import("./run-workflow-IGAYGKJL.js");
1029
+ const { handleRunWorkflow } = await import("./run-workflow-5WX7DK5T.js");
1024
1030
  return {
1025
1031
  content: [{ type: "text", text: await handleRunWorkflow(params) }]
1026
1032
  };
@@ -1034,7 +1040,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1034
1040
  },
1035
1041
  withToolLogging("platform_list_annotations", async (params) => {
1036
1042
  requireApiKey();
1037
- const { handleListAnnotations } = await import("./list-annotations-QNCGWPQ3.js");
1043
+ const { handleListAnnotations } = await import("./list-annotations-KWXYVEPI.js");
1038
1044
  return {
1039
1045
  content: [{ type: "text", text: await handleListAnnotations(params) }]
1040
1046
  };
@@ -1051,7 +1057,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1051
1057
  },
1052
1058
  withToolLogging("platform_create_annotation", async (params) => {
1053
1059
  requireApiKey();
1054
- const { handleCreateAnnotation } = await import("./create-annotation-XMV6A7ED.js");
1060
+ const { handleCreateAnnotation } = await import("./create-annotation-FYQNKMVJ.js");
1055
1061
  return {
1056
1062
  content: [{ type: "text", text: await handleCreateAnnotation(params) }]
1057
1063
  };
@@ -1065,7 +1071,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1065
1071
  },
1066
1072
  withToolLogging("platform_delete_annotation", async (params) => {
1067
1073
  requireApiKey();
1068
- const { handleDeleteAnnotation } = await import("./delete-annotation-ACMDV6QO.js");
1074
+ const { handleDeleteAnnotation } = await import("./delete-annotation-UHWDMHSH.js");
1069
1075
  return {
1070
1076
  content: [{ type: "text", text: await handleDeleteAnnotation(params) }]
1071
1077
  };
@@ -1079,7 +1085,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1079
1085
  },
1080
1086
  withToolLogging("platform_get_annotation", async (params) => {
1081
1087
  requireApiKey();
1082
- const { getAnnotation } = await import("./langwatch-api-annotations-ERBG27RF.js");
1088
+ const { getAnnotation } = await import("./langwatch-api-annotations-Q57NDUVR.js");
1083
1089
  const annotation = await getAnnotation(params.id);
1084
1090
  const lines = [
1085
1091
  `**ID**: ${annotation.id}`,
@@ -1101,7 +1107,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1101
1107
  },
1102
1108
  withToolLogging("platform_list_triggers", async (params) => {
1103
1109
  requireApiKey();
1104
- const { listTriggers } = await import("./langwatch-api-triggers-2RTNSWQY.js");
1110
+ const { listTriggers } = await import("./langwatch-api-triggers-ME33QE26.js");
1105
1111
  const triggers = await listTriggers();
1106
1112
  if (params.format === "json") {
1107
1113
  return { content: [{ type: "text", text: JSON.stringify(triggers, null, 2) }] };
@@ -1134,7 +1140,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1134
1140
  },
1135
1141
  withToolLogging("platform_create_trigger", async (params) => {
1136
1142
  requireApiKey();
1137
- const { createTrigger } = await import("./langwatch-api-triggers-2RTNSWQY.js");
1143
+ const { createTrigger } = await import("./langwatch-api-triggers-ME33QE26.js");
1138
1144
  let filters = {};
1139
1145
  if (params.filters) {
1140
1146
  try {
@@ -1165,7 +1171,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1165
1171
  },
1166
1172
  withToolLogging("platform_update_trigger", async (params) => {
1167
1173
  requireApiKey();
1168
- const { updateTrigger } = await import("./langwatch-api-triggers-2RTNSWQY.js");
1174
+ const { updateTrigger } = await import("./langwatch-api-triggers-ME33QE26.js");
1169
1175
  const trigger = await updateTrigger(params);
1170
1176
  return { content: [{ type: "text", text: `Trigger "${trigger.name}" updated (active: ${trigger.active}).` }] };
1171
1177
  })
@@ -1178,7 +1184,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1178
1184
  },
1179
1185
  withToolLogging("platform_delete_trigger", async (params) => {
1180
1186
  requireApiKey();
1181
- const { deleteTrigger } = await import("./langwatch-api-triggers-2RTNSWQY.js");
1187
+ const { deleteTrigger } = await import("./langwatch-api-triggers-ME33QE26.js");
1182
1188
  const result = await deleteTrigger(params.id);
1183
1189
  return { content: [{ type: "text", text: `Trigger ${result.id} deleted.` }] };
1184
1190
  })
@@ -1189,7 +1195,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1189
1195
  {},
1190
1196
  withToolLogging("platform_list_monitors", async () => {
1191
1197
  requireApiKey();
1192
- const { listMonitors } = await import("./langwatch-api-monitors-WSXZLS2B.js");
1198
+ const { listMonitors } = await import("./langwatch-api-monitors-L3IY7FDT.js");
1193
1199
  const monitors = await listMonitors();
1194
1200
  if (monitors.length === 0) {
1195
1201
  return { content: [{ type: "text", text: "No monitors found." }] };
@@ -1216,7 +1222,7 @@ ${lines.join("\n")}`
1216
1222
  },
1217
1223
  withToolLogging("platform_get_monitor", async (params) => {
1218
1224
  requireApiKey();
1219
- const { getMonitor } = await import("./langwatch-api-monitors-WSXZLS2B.js");
1225
+ const { getMonitor } = await import("./langwatch-api-monitors-L3IY7FDT.js");
1220
1226
  const m = await getMonitor(params.id);
1221
1227
  const lines = [
1222
1228
  `**${m.name}** (${m.id})`,
@@ -1243,7 +1249,7 @@ ${lines.join("\n")}`
1243
1249
  },
1244
1250
  withToolLogging("platform_create_monitor", async (params) => {
1245
1251
  requireApiKey();
1246
- const { createMonitor } = await import("./langwatch-api-monitors-WSXZLS2B.js");
1252
+ const { createMonitor } = await import("./langwatch-api-monitors-L3IY7FDT.js");
1247
1253
  const monitor = await createMonitor(params);
1248
1254
  return {
1249
1255
  content: [
@@ -1267,7 +1273,7 @@ ${lines.join("\n")}`
1267
1273
  },
1268
1274
  withToolLogging("platform_update_monitor", async (params) => {
1269
1275
  requireApiKey();
1270
- const { updateMonitor } = await import("./langwatch-api-monitors-WSXZLS2B.js");
1276
+ const { updateMonitor } = await import("./langwatch-api-monitors-L3IY7FDT.js");
1271
1277
  const monitor = await updateMonitor(params);
1272
1278
  return {
1273
1279
  content: [
@@ -1287,7 +1293,7 @@ ${lines.join("\n")}`
1287
1293
  },
1288
1294
  withToolLogging("platform_delete_monitor", async (params) => {
1289
1295
  requireApiKey();
1290
- const { deleteMonitor } = await import("./langwatch-api-monitors-WSXZLS2B.js");
1296
+ const { deleteMonitor } = await import("./langwatch-api-monitors-L3IY7FDT.js");
1291
1297
  const result = await deleteMonitor(params.id);
1292
1298
  return {
1293
1299
  content: [
@@ -1302,7 +1308,7 @@ ${lines.join("\n")}`
1302
1308
  {},
1303
1309
  withToolLogging("platform_list_secrets", async () => {
1304
1310
  requireApiKey();
1305
- const { listSecrets } = await import("./langwatch-api-secrets-RR5DKG2X.js");
1311
+ const { listSecrets } = await import("./langwatch-api-secrets-S5HHF3XR.js");
1306
1312
  const secrets = await listSecrets();
1307
1313
  if (secrets.length === 0) {
1308
1314
  return { content: [{ type: "text", text: "No secrets found." }] };
@@ -1330,7 +1336,7 @@ ${lines.join("\n")}`
1330
1336
  },
1331
1337
  withToolLogging("platform_create_secret", async (params) => {
1332
1338
  requireApiKey();
1333
- const { createSecret } = await import("./langwatch-api-secrets-RR5DKG2X.js");
1339
+ const { createSecret } = await import("./langwatch-api-secrets-S5HHF3XR.js");
1334
1340
  const secret = await createSecret({ name: params.name, value: params.value });
1335
1341
  return {
1336
1342
  content: [
@@ -1351,7 +1357,7 @@ ${lines.join("\n")}`
1351
1357
  },
1352
1358
  withToolLogging("platform_update_secret", async (params) => {
1353
1359
  requireApiKey();
1354
- const { updateSecret } = await import("./langwatch-api-secrets-RR5DKG2X.js");
1360
+ const { updateSecret } = await import("./langwatch-api-secrets-S5HHF3XR.js");
1355
1361
  const secret = await updateSecret({ id: params.id, value: params.value });
1356
1362
  return {
1357
1363
  content: [
@@ -1371,7 +1377,7 @@ ${lines.join("\n")}`
1371
1377
  },
1372
1378
  withToolLogging("platform_delete_secret", async (params) => {
1373
1379
  requireApiKey();
1374
- const { deleteSecret } = await import("./langwatch-api-secrets-RR5DKG2X.js");
1380
+ const { deleteSecret } = await import("./langwatch-api-secrets-S5HHF3XR.js");
1375
1381
  const result = await deleteSecret(params.id);
1376
1382
  return { content: [{ type: "text", text: `Secret ${result.id} deleted.` }] };
1377
1383
  })
@@ -1384,7 +1390,7 @@ ${lines.join("\n")}`
1384
1390
  },
1385
1391
  withToolLogging("platform_run_evaluation", async (params) => {
1386
1392
  requireApiKey();
1387
- const { handleRunEvaluation } = await import("./run-evaluation-2X3V3Q6L.js");
1393
+ const { handleRunEvaluation } = await import("./run-evaluation-AJ7WZNQD.js");
1388
1394
  return {
1389
1395
  content: [{ type: "text", text: await handleRunEvaluation(params) }]
1390
1396
  };
@@ -1398,7 +1404,7 @@ ${lines.join("\n")}`
1398
1404
  },
1399
1405
  withToolLogging("platform_evaluation_status", async (params) => {
1400
1406
  requireApiKey();
1401
- const { handleEvaluationStatus } = await import("./run-evaluation-2X3V3Q6L.js");
1407
+ const { handleEvaluationStatus } = await import("./run-evaluation-AJ7WZNQD.js");
1402
1408
  return {
1403
1409
  content: [{ type: "text", text: await handleEvaluationStatus(params) }]
1404
1410
  };
@@ -1415,7 +1421,7 @@ ${lines.join("\n")}`
1415
1421
  async (params) => {
1416
1422
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1417
1423
  requireApiKey2();
1418
- const { handleListDatasets } = await import("./list-datasets-KEXRLDEU.js");
1424
+ const { handleListDatasets } = await import("./list-datasets-I4A2LT2S.js");
1419
1425
  return {
1420
1426
  content: [{ type: "text", text: await handleListDatasets(params) }]
1421
1427
  };
@@ -1433,7 +1439,7 @@ ${lines.join("\n")}`
1433
1439
  async (params) => {
1434
1440
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1435
1441
  requireApiKey2();
1436
- const { handleGetDataset } = await import("./get-dataset-H5IK5FVU.js");
1442
+ const { handleGetDataset } = await import("./get-dataset-KBK6PH36.js");
1437
1443
  return {
1438
1444
  content: [{ type: "text", text: await handleGetDataset(params) }]
1439
1445
  };
@@ -1446,7 +1452,7 @@ ${lines.join("\n")}`
1446
1452
  async (params) => {
1447
1453
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1448
1454
  requireApiKey2();
1449
- const { handleCreateDataset } = await import("./create-dataset-7HQPZCRE.js");
1455
+ const { handleCreateDataset } = await import("./create-dataset-ZC63T6BB.js");
1450
1456
  return {
1451
1457
  content: [{ type: "text", text: await handleCreateDataset(params) }]
1452
1458
  };
@@ -1463,7 +1469,7 @@ ${lines.join("\n")}`
1463
1469
  async (params) => {
1464
1470
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1465
1471
  requireApiKey2();
1466
- const { handleUpdateDataset } = await import("./update-dataset-CXBKZ4W3.js");
1472
+ const { handleUpdateDataset } = await import("./update-dataset-4XQZZE4S.js");
1467
1473
  return {
1468
1474
  content: [{ type: "text", text: await handleUpdateDataset(params) }]
1469
1475
  };
@@ -1478,7 +1484,7 @@ ${lines.join("\n")}`
1478
1484
  async (params) => {
1479
1485
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1480
1486
  requireApiKey2();
1481
- const { handleDeleteDataset } = await import("./delete-dataset-RTTTWP4D.js");
1487
+ const { handleDeleteDataset } = await import("./delete-dataset-GGPQRHKX.js");
1482
1488
  return {
1483
1489
  content: [{ type: "text", text: await handleDeleteDataset(params) }]
1484
1490
  };
@@ -1496,7 +1502,7 @@ ${lines.join("\n")}`
1496
1502
  async (params) => {
1497
1503
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1498
1504
  requireApiKey2();
1499
- const { handleListDatasetRecords } = await import("./list-dataset-records-WVCSQP7P.js");
1505
+ const { handleListDatasetRecords } = await import("./list-dataset-records-RNRGROJP.js");
1500
1506
  return {
1501
1507
  content: [
1502
1508
  { type: "text", text: await handleListDatasetRecords(params) }
@@ -1514,7 +1520,7 @@ ${lines.join("\n")}`
1514
1520
  async (params) => {
1515
1521
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1516
1522
  requireApiKey2();
1517
- const { handleCreateDatasetRecords } = await import("./create-dataset-records-2NIVFYTV.js");
1523
+ const { handleCreateDatasetRecords } = await import("./create-dataset-records-ILVNVKVR.js");
1518
1524
  return {
1519
1525
  content: [
1520
1526
  { type: "text", text: await handleCreateDatasetRecords(params) }
@@ -1533,7 +1539,7 @@ ${lines.join("\n")}`
1533
1539
  async (params) => {
1534
1540
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1535
1541
  requireApiKey2();
1536
- const { handleUpdateDatasetRecord } = await import("./update-dataset-record-HOHAMHXG.js");
1542
+ const { handleUpdateDatasetRecord } = await import("./update-dataset-record-GNNM5TKM.js");
1537
1543
  return {
1538
1544
  content: [
1539
1545
  { type: "text", text: await handleUpdateDatasetRecord(params) }
@@ -1551,7 +1557,7 @@ ${lines.join("\n")}`
1551
1557
  async (params) => {
1552
1558
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
1553
1559
  requireApiKey2();
1554
- const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-KNQTIPQK.js");
1560
+ const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-LTG5LT26.js");
1555
1561
  return {
1556
1562
  content: [
1557
1563
  { type: "text", text: await handleDeleteDatasetRecords(params) }
@@ -1564,4 +1570,4 @@ ${lines.join("\n")}`
1564
1570
  export {
1565
1571
  createMcpServer
1566
1572
  };
1567
- //# sourceMappingURL=chunk-E5JYYU3J.js.map
1573
+ //# sourceMappingURL=chunk-B57MZ4WI.js.map