@langwatch/mcp-server 1.0.0 → 2.0.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 (125) hide show
  1. package/.python-version +1 -0
  2. package/CHANGELOG.md +21 -0
  3. package/CONTRIBUTING.md +1 -1
  4. package/README.md +55 -1
  5. package/dist/{archive-project-MK3673A7.js → archive-project-4EQGLBJJ.js} +5 -5
  6. package/dist/{archive-scenario-KATSXRIN.js → archive-scenario-W6BXYDZ3.js} +5 -5
  7. package/dist/{archive-suite-C3KX6IIZ.js → archive-suite-4T6BSRS7.js} +5 -5
  8. package/dist/{assign-prompt-tag-E3C5W6PI.js → assign-prompt-tag-VLXUWEKU.js} +4 -4
  9. package/dist/{chunk-VYPSKRPN.js → chunk-4QC7SA2L.js} +91 -91
  10. package/dist/{chunk-T7WJVS2N.js → chunk-5CCZFUXS.js} +2 -2
  11. package/dist/{chunk-J45SVWPR.js → chunk-77BNWQ3U.js} +2 -2
  12. package/dist/{chunk-XY4STOBE.js → chunk-7RHG56OH.js} +2 -2
  13. package/dist/{chunk-5UWY24RP.js → chunk-A2LEVYQ5.js} +2 -2
  14. package/dist/{chunk-UXXA4D6K.js → chunk-AQJO2EI5.js} +2 -2
  15. package/dist/{chunk-EU22L52K.js → chunk-CDYQOY5U.js} +2 -2
  16. package/dist/{chunk-O3LWVN67.js → chunk-J42FWRJ2.js} +2 -2
  17. package/dist/{chunk-BJ7B4R26.js → chunk-SAS5OB7F.js} +18 -2
  18. package/dist/{chunk-DAIQKS27.js → chunk-SFB4MU6H.js} +2 -2
  19. package/dist/{chunk-WWMDHZZV.js → chunk-TJCXFNDT.js} +2 -2
  20. package/dist/{chunk-CE6QMZOP.js → chunk-TOXJQDIZ.js} +4 -4
  21. package/dist/chunk-UJPXFA26.js +267 -0
  22. package/dist/{chunk-KOO5733S.js → chunk-WT4PO4A3.js} +8 -2
  23. package/dist/{chunk-RYRB2YVJ.js → chunk-YX3A3CFM.js} +2 -2
  24. package/dist/{chunk-WDH5P5RF.js → chunk-YZLYHLLI.js} +2 -2
  25. package/dist/{chunk-Y3HDZ6OW.js → chunk-ZWIL4EFL.js} +2 -2
  26. package/dist/config.js +2 -2
  27. package/dist/{create-agent-7W57J7MT.js → create-agent-7XHO6UIS.js} +5 -5
  28. package/dist/{create-annotation-W2XELBCQ.js → create-annotation-YQXRQC6A.js} +5 -5
  29. package/dist/{create-api-key-MKRXKFJM.js → create-api-key-YUS36KBU.js} +5 -5
  30. package/dist/{create-dashboard-QGL7IODC.js → create-dashboard-4Z5JO5LB.js} +5 -5
  31. package/dist/{create-dataset-3PH7A4HG.js → create-dataset-E6NMSVX7.js} +5 -5
  32. package/dist/{create-dataset-records-4DZS3VRL.js → create-dataset-records-SKHPRD2K.js} +5 -5
  33. package/dist/{create-evaluator-YWH6NC4M.js → create-evaluator-JXF5PF33.js} +5 -5
  34. package/dist/create-mcp-server.js +4 -4
  35. package/dist/{create-project-BOBQ32C5.js → create-project-CS2CB57Y.js} +5 -5
  36. package/dist/{create-prompt-FLCFGITE.js → create-prompt-F5RMX3L3.js} +4 -4
  37. package/dist/{create-prompt-tag-EMPNIKEA.js → create-prompt-tag-GMRWTEFR.js} +4 -4
  38. package/dist/{create-scenario-BSBIHUL6.js → create-scenario-JDR2VB2H.js} +5 -5
  39. package/dist/{create-suite-TWF6BBR4.js → create-suite-LZS6QIAF.js} +5 -5
  40. package/dist/{delete-agent-7MSYNY5E.js → delete-agent-O3EEH4S5.js} +5 -5
  41. package/dist/{delete-annotation-ZT5IGN24.js → delete-annotation-XP6FQM7A.js} +5 -5
  42. package/dist/{delete-dashboard-BTIY5S3L.js → delete-dashboard-RFUNYCNP.js} +5 -5
  43. package/dist/{delete-dataset-U45HQHPR.js → delete-dataset-3MJFRDLP.js} +5 -5
  44. package/dist/{delete-dataset-records-R43IMAWB.js → delete-dataset-records-WPMU5GL5.js} +5 -5
  45. package/dist/{delete-evaluator-U6JMQ6C7.js → delete-evaluator-33SP2JFX.js} +5 -5
  46. package/dist/{delete-prompt-tag-4EV4TDHB.js → delete-prompt-tag-KNMZVSPB.js} +4 -4
  47. package/dist/{delete-workflow-5QYALXEL.js → delete-workflow-3NUXO46U.js} +5 -5
  48. package/dist/{discover-evaluator-schema-MRGHVNTT.js → discover-evaluator-schema-XTAD4X7D.js} +52 -36
  49. package/dist/{discover-scenario-schema-UPBTCWPG.js → discover-scenario-schema-FE64QK2D.js} +2 -2
  50. package/dist/{discover-schema-ICGXPHUW.js → discover-schema-L6QDPON3.js} +2 -2
  51. package/dist/{get-agent-7QJVPH72.js → get-agent-Y7MWZ65F.js} +5 -5
  52. package/dist/{get-analytics-PVERWOA5.js → get-analytics-TETCSOK6.js} +4 -4
  53. package/dist/{get-dashboard-ZZPC3WMD.js → get-dashboard-KHBEGZGL.js} +5 -5
  54. package/dist/{get-dataset-25TB2LQH.js → get-dataset-RCMU5VAH.js} +5 -5
  55. package/dist/{get-evaluator-3FTRQKEC.js → get-evaluator-ADMKVWYZ.js} +5 -5
  56. package/dist/{get-project-5OAXYC57.js → get-project-RAK7URQJ.js} +5 -5
  57. package/dist/{get-prompt-I753LZKZ.js → get-prompt-OY5B7TRI.js} +4 -4
  58. package/dist/{get-scenario-DSSTR6FI.js → get-scenario-ZTAJJL5T.js} +5 -5
  59. package/dist/{get-simulation-run-RQPMS2MC.js → get-simulation-run-T2ZQWYH2.js} +5 -5
  60. package/dist/{get-suite-GTOCY5PL.js → get-suite-J7JVWO6O.js} +5 -5
  61. package/dist/{get-trace-O5VT3NAC.js → get-trace-K7U234Q4.js} +4 -4
  62. package/dist/{get-workflow-3EZDOEIF.js → get-workflow-L5L2PSK3.js} +5 -5
  63. package/dist/http-security-EU3CHTY7.js +26 -0
  64. package/dist/{http-server-2ACJ3CXW.js → http-server-YXHFPPGA.js} +1033 -693
  65. package/dist/index.js +3066 -2105
  66. package/dist/{langwatch-api-annotations-E65MI3WZ.js → langwatch-api-annotations-FDAS6NQ7.js} +5 -5
  67. package/dist/{langwatch-api-dashboards-QCDECRCY.js → langwatch-api-dashboards-JTVCS7ZJ.js} +5 -5
  68. package/dist/{langwatch-api-monitors-UIO2KTDV.js → langwatch-api-monitors-3J7UIQME.js} +4 -4
  69. package/dist/{langwatch-api-secrets-4T2EKSJ7.js → langwatch-api-secrets-BUBSNCNO.js} +4 -4
  70. package/dist/{langwatch-api-triggers-MPOEKPUY.js → langwatch-api-triggers-EDFUCJN6.js} +4 -4
  71. package/dist/langwatch-api-workflows-NBJX5KOG.js +16 -0
  72. package/dist/{list-agents-TIJTP566.js → list-agents-KFHKGPXV.js} +5 -5
  73. package/dist/{list-annotations-CGX5BT7E.js → list-annotations-ZTVP4EEL.js} +5 -5
  74. package/dist/{list-api-keys-JLWJPFRX.js → list-api-keys-CWD4UQT5.js} +5 -5
  75. package/dist/{list-dashboards-RNIWX3TX.js → list-dashboards-PWG6P6KR.js} +5 -5
  76. package/dist/{list-dataset-records-B5MHZR66.js → list-dataset-records-IOE7LQXS.js} +5 -5
  77. package/dist/{list-datasets-BVCAMQCP.js → list-datasets-ZT4JYUDT.js} +5 -5
  78. package/dist/{list-evaluators-65FBTL2U.js → list-evaluators-SJHC7VBH.js} +5 -5
  79. package/dist/{list-model-providers-GRK3I3VV.js → list-model-providers-PPD2WPD2.js} +5 -5
  80. package/dist/{list-projects-JLMBFMW3.js → list-projects-K7QAIX2I.js} +5 -5
  81. package/dist/{list-prompt-tags-UHNWDGQI.js → list-prompt-tags-FOO6TNHB.js} +4 -4
  82. package/dist/{list-prompts-7254B3U7.js → list-prompts-SC2HAUFG.js} +4 -4
  83. package/dist/{list-scenarios-46YNICKM.js → list-scenarios-F2WYNRIE.js} +5 -5
  84. package/dist/{list-simulation-runs-LGNEFNPN.js → list-simulation-runs-KF5THG5H.js} +5 -5
  85. package/dist/{list-suites-5VK4HXEK.js → list-suites-CRY4VWW6.js} +5 -5
  86. package/dist/{list-workflows-MLQDM6CP.js → list-workflows-QSJWURCK.js} +5 -5
  87. package/dist/{rename-prompt-tag-RHQMNEQL.js → rename-prompt-tag-EKWU5QF3.js} +4 -4
  88. package/dist/{report-issue-DXJ6TPTC.js → report-issue-XYVAPAYJ.js} +7 -7
  89. package/dist/{revoke-api-key-3Y35EMBT.js → revoke-api-key-FTRTZMOF.js} +5 -5
  90. package/dist/{run-agent-RBSIFKRT.js → run-agent-6SM4XNA7.js} +5 -5
  91. package/dist/{run-suite-K3DNQ3SE.js → run-suite-NKZCJ2IN.js} +5 -5
  92. package/dist/{run-workflow-5LVBZYLS.js → run-workflow-QPXC627O.js} +5 -5
  93. package/dist/{search-traces-U4HLOCZ2.js → search-traces-A6HFKPLJ.js} +4 -4
  94. package/dist/{set-model-provider-V3M5CDIY.js → set-model-provider-3WKT63ZN.js} +5 -5
  95. package/dist/{update-agent-47RZIHS7.js → update-agent-SMAEHLXH.js} +5 -5
  96. package/dist/{update-dataset-G6QJJGS5.js → update-dataset-BDUK7TUO.js} +5 -5
  97. package/dist/{update-dataset-record-RMWLSWCS.js → update-dataset-record-4ZSDRBSW.js} +5 -5
  98. package/dist/{update-evaluator-SFRRI5Q3.js → update-evaluator-LS6TIBY7.js} +5 -5
  99. package/dist/{update-project-PI5DWBVK.js → update-project-LKVYXENH.js} +5 -5
  100. package/dist/{update-prompt-RQFTEO7Y.js → update-prompt-ODCRQRN6.js} +4 -4
  101. package/dist/{update-scenario-G3IU2UIB.js → update-scenario-NEXCAQI7.js} +5 -5
  102. package/dist/{update-suite-TRGGLNR7.js → update-suite-SNO3GS7T.js} +5 -5
  103. package/package.json +3 -3
  104. package/pyproject.toml +1 -1
  105. package/src/__tests__/config.unit.test.ts +33 -0
  106. package/src/__tests__/docker.integration.test.ts +91 -7
  107. package/src/__tests__/documentation-fetch-security.integration.test.ts +8 -2
  108. package/src/__tests__/feature-map-tool-drift.unit.test.ts +93 -0
  109. package/src/__tests__/http-security-origin.unit.test.ts +97 -0
  110. package/src/__tests__/http-security-sessions.unit.test.ts +209 -0
  111. package/src/__tests__/http-security-verifier.unit.test.ts +248 -0
  112. package/src/__tests__/http-server-allocation.integration.test.ts +279 -0
  113. package/src/__tests__/http-server-origin.integration.test.ts +169 -0
  114. package/src/__tests__/http-server-session-auth.integration.test.ts +341 -0
  115. package/src/__tests__/http-transport.integration.test.ts +85 -87
  116. package/src/__tests__/support/http-server-harness.ts +138 -0
  117. package/src/config.ts +17 -2
  118. package/src/http-security.ts +492 -0
  119. package/src/http-server.ts +536 -152
  120. package/src/index.ts +49 -2
  121. package/src/tools/discover-evaluator-schema.ts +2 -2
  122. package/tsconfig.json +2 -2
  123. package/uv.lock +2 -2
  124. package/dist/langwatch-api-workflows-5HRZ7HR4.js +0 -16
  125. package/pnpm-workspace.yaml +0 -34
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  LangWatchApiError,
3
3
  makeRequest
4
- } from "./chunk-5UWY24RP.js";
4
+ } from "./chunk-A2LEVYQ5.js";
5
5
  import {
6
6
  requireApiKey
7
- } from "./chunk-KOO5733S.js";
7
+ } from "./chunk-WT4PO4A3.js";
8
8
 
9
9
  // src/create-mcp-server.ts
10
10
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -13,7 +13,7 @@ import { z as z2 } from "zod";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@langwatch/mcp-server",
16
- version: "1.0.0",
16
+ version: "2.0.0",
17
17
  description: "An MCP server for Langwatch.",
18
18
  type: "module",
19
19
  main: "./dist/index.js",
@@ -738,7 +738,7 @@ function registerTools(server) {
738
738
  agent: z2.string().optional().describe("Which coding agent this is, e.g. claude-code, codex, cursor")
739
739
  },
740
740
  withToolLogging("report_issue", async (params) => {
741
- const { handleReportIssue } = await import("./report-issue-DXJ6TPTC.js");
741
+ const { handleReportIssue } = await import("./report-issue-XYVAPAYJ.js");
742
742
  return {
743
743
  content: [{ type: "text", text: await handleReportIssue(params) }]
744
744
  };
@@ -776,25 +776,25 @@ function registerTools(server) {
776
776
  },
777
777
  async ({ category, evaluatorType }) => {
778
778
  if (category === "scenarios") {
779
- const { formatScenarioSchema } = await import("./discover-scenario-schema-UPBTCWPG.js");
779
+ const { formatScenarioSchema } = await import("./discover-scenario-schema-FE64QK2D.js");
780
780
  return {
781
781
  content: [{ type: "text", text: formatScenarioSchema() }]
782
782
  };
783
783
  }
784
784
  if (category === "evaluators") {
785
- const { formatEvaluatorSchema } = await import("./discover-evaluator-schema-MRGHVNTT.js");
785
+ const { formatEvaluatorSchema } = await import("./discover-evaluator-schema-XTAD4X7D.js");
786
786
  return {
787
787
  content: [
788
788
  { type: "text", text: formatEvaluatorSchema(evaluatorType) }
789
789
  ]
790
790
  };
791
791
  }
792
- const { formatSchema } = await import("./discover-schema-ICGXPHUW.js");
792
+ const { formatSchema } = await import("./discover-schema-L6QDPON3.js");
793
793
  let text = formatSchema(category);
794
794
  if (category === "all") {
795
- const { formatScenarioSchema } = await import("./discover-scenario-schema-UPBTCWPG.js");
795
+ const { formatScenarioSchema } = await import("./discover-scenario-schema-FE64QK2D.js");
796
796
  text += "\n\n" + formatScenarioSchema();
797
- const { formatEvaluatorSchema } = await import("./discover-evaluator-schema-MRGHVNTT.js");
797
+ const { formatEvaluatorSchema } = await import("./discover-evaluator-schema-XTAD4X7D.js");
798
798
  text += "\n\n" + formatEvaluatorSchema();
799
799
  }
800
800
  return { content: [{ type: "text", text }] };
@@ -820,7 +820,7 @@ function registerTools(server) {
820
820
  },
821
821
  withToolLogging("search_traces", async (params) => {
822
822
  requireApiKey();
823
- const { handleSearchTraces } = await import("./search-traces-U4HLOCZ2.js");
823
+ const { handleSearchTraces } = await import("./search-traces-A6HFKPLJ.js");
824
824
  return {
825
825
  content: [{ type: "text", text: await handleSearchTraces(params) }]
826
826
  };
@@ -837,7 +837,7 @@ function registerTools(server) {
837
837
  },
838
838
  withToolLogging("get_trace", async (params) => {
839
839
  requireApiKey();
840
- const { handleGetTrace } = await import("./get-trace-O5VT3NAC.js");
840
+ const { handleGetTrace } = await import("./get-trace-K7U234Q4.js");
841
841
  return {
842
842
  content: [{ type: "text", text: await handleGetTrace(params) }]
843
843
  };
@@ -863,7 +863,7 @@ function registerTools(server) {
863
863
  },
864
864
  withToolLogging("get_analytics", async (params) => {
865
865
  requireApiKey();
866
- const { handleGetAnalytics } = await import("./get-analytics-PVERWOA5.js");
866
+ const { handleGetAnalytics } = await import("./get-analytics-TETCSOK6.js");
867
867
  return {
868
868
  content: [{ type: "text", text: await handleGetAnalytics(params) }]
869
869
  };
@@ -897,7 +897,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
897
897
  },
898
898
  withToolLogging("platform_create_prompt", async (params) => {
899
899
  requireApiKey();
900
- const { handleCreatePrompt } = await import("./create-prompt-FLCFGITE.js");
900
+ const { handleCreatePrompt } = await import("./create-prompt-F5RMX3L3.js");
901
901
  return {
902
902
  content: [{ type: "text", text: await handleCreatePrompt(params) }]
903
903
  };
@@ -909,7 +909,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
909
909
  {},
910
910
  withToolLogging("platform_list_prompts", async () => {
911
911
  requireApiKey();
912
- const { handleListPrompts } = await import("./list-prompts-7254B3U7.js");
912
+ const { handleListPrompts } = await import("./list-prompts-SC2HAUFG.js");
913
913
  return {
914
914
  content: [{ type: "text", text: await handleListPrompts() }]
915
915
  };
@@ -933,7 +933,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
933
933
  };
934
934
  }
935
935
  requireApiKey();
936
- const { handleGetPrompt } = await import("./get-prompt-I753LZKZ.js");
936
+ const { handleGetPrompt } = await import("./get-prompt-OY5B7TRI.js");
937
937
  return {
938
938
  content: [{ type: "text", text: await handleGetPrompt(params) }]
939
939
  };
@@ -958,7 +958,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
958
958
  },
959
959
  withToolLogging("platform_update_prompt", async (params) => {
960
960
  requireApiKey();
961
- const { handleUpdatePrompt } = await import("./update-prompt-RQFTEO7Y.js");
961
+ const { handleUpdatePrompt } = await import("./update-prompt-ODCRQRN6.js");
962
962
  return {
963
963
  content: [{ type: "text", text: await handleUpdatePrompt(params) }]
964
964
  };
@@ -974,7 +974,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
974
974
  },
975
975
  withToolLogging("platform_assign_prompt_tag", async (params) => {
976
976
  requireApiKey();
977
- const { handleAssignPromptTag } = await import("./assign-prompt-tag-E3C5W6PI.js");
977
+ const { handleAssignPromptTag } = await import("./assign-prompt-tag-VLXUWEKU.js");
978
978
  return {
979
979
  content: [{ type: "text", text: await handleAssignPromptTag(params) }]
980
980
  };
@@ -986,7 +986,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
986
986
  {},
987
987
  withToolLogging("platform_list_prompt_tags", async () => {
988
988
  requireApiKey();
989
- const { handleListPromptTags } = await import("./list-prompt-tags-UHNWDGQI.js");
989
+ const { handleListPromptTags } = await import("./list-prompt-tags-FOO6TNHB.js");
990
990
  return {
991
991
  content: [{ type: "text", text: await handleListPromptTags() }]
992
992
  };
@@ -1000,7 +1000,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1000
1000
  },
1001
1001
  withToolLogging("platform_create_prompt_tag", async (params) => {
1002
1002
  requireApiKey();
1003
- const { handleCreatePromptTag } = await import("./create-prompt-tag-EMPNIKEA.js");
1003
+ const { handleCreatePromptTag } = await import("./create-prompt-tag-GMRWTEFR.js");
1004
1004
  return {
1005
1005
  content: [{ type: "text", text: await handleCreatePromptTag(params) }]
1006
1006
  };
@@ -1015,7 +1015,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1015
1015
  },
1016
1016
  withToolLogging("platform_rename_prompt_tag", async (params) => {
1017
1017
  requireApiKey();
1018
- const { handleRenamePromptTag } = await import("./rename-prompt-tag-RHQMNEQL.js");
1018
+ const { handleRenamePromptTag } = await import("./rename-prompt-tag-EKWU5QF3.js");
1019
1019
  return {
1020
1020
  content: [{ type: "text", text: await handleRenamePromptTag(params) }]
1021
1021
  };
@@ -1029,7 +1029,7 @@ NOTE: Prompts can be managed two ways. Determine which approach the user needs:
1029
1029
  },
1030
1030
  withToolLogging("platform_delete_prompt_tag", async (params) => {
1031
1031
  requireApiKey();
1032
- const { handleDeletePromptTag } = await import("./delete-prompt-tag-4EV4TDHB.js");
1032
+ const { handleDeletePromptTag } = await import("./delete-prompt-tag-KNMZVSPB.js");
1033
1033
  return {
1034
1034
  content: [{ type: "text", text: await handleDeletePromptTag(params) }]
1035
1035
  };
@@ -1057,7 +1057,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1057
1057
  },
1058
1058
  withToolLogging("platform_create_scenario", async (params) => {
1059
1059
  requireApiKey();
1060
- const { handleCreateScenario } = await import("./create-scenario-BSBIHUL6.js");
1060
+ const { handleCreateScenario } = await import("./create-scenario-JDR2VB2H.js");
1061
1061
  return {
1062
1062
  content: [
1063
1063
  { type: "text", text: await handleCreateScenario(params) }
@@ -1075,7 +1075,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1075
1075
  },
1076
1076
  withToolLogging("platform_list_scenarios", async (params) => {
1077
1077
  requireApiKey();
1078
- const { handleListScenarios } = await import("./list-scenarios-46YNICKM.js");
1078
+ const { handleListScenarios } = await import("./list-scenarios-F2WYNRIE.js");
1079
1079
  return {
1080
1080
  content: [
1081
1081
  { type: "text", text: await handleListScenarios(params) }
@@ -1094,7 +1094,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1094
1094
  },
1095
1095
  withToolLogging("platform_get_scenario", async (params) => {
1096
1096
  requireApiKey();
1097
- const { handleGetScenario } = await import("./get-scenario-DSSTR6FI.js");
1097
+ const { handleGetScenario } = await import("./get-scenario-ZTAJJL5T.js");
1098
1098
  return {
1099
1099
  content: [{ type: "text", text: await handleGetScenario(params) }]
1100
1100
  };
@@ -1112,7 +1112,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1112
1112
  },
1113
1113
  withToolLogging("platform_update_scenario", async (params) => {
1114
1114
  requireApiKey();
1115
- const { handleUpdateScenario } = await import("./update-scenario-G3IU2UIB.js");
1115
+ const { handleUpdateScenario } = await import("./update-scenario-NEXCAQI7.js");
1116
1116
  return {
1117
1117
  content: [
1118
1118
  { type: "text", text: await handleUpdateScenario(params) }
@@ -1128,7 +1128,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1128
1128
  },
1129
1129
  withToolLogging("platform_archive_scenario", async (params) => {
1130
1130
  requireApiKey();
1131
- const { handleArchiveScenario } = await import("./archive-scenario-KATSXRIN.js");
1131
+ const { handleArchiveScenario } = await import("./archive-scenario-W6BXYDZ3.js");
1132
1132
  return {
1133
1133
  content: [
1134
1134
  { type: "text", text: await handleArchiveScenario(params) }
@@ -1144,7 +1144,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1144
1144
  },
1145
1145
  withToolLogging("platform_list_suites", async (params) => {
1146
1146
  requireApiKey();
1147
- const { handleListSuites } = await import("./list-suites-5VK4HXEK.js");
1147
+ const { handleListSuites } = await import("./list-suites-CRY4VWW6.js");
1148
1148
  return {
1149
1149
  content: [{ type: "text", text: await handleListSuites(params) }]
1150
1150
  };
@@ -1159,7 +1159,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1159
1159
  },
1160
1160
  withToolLogging("platform_get_suite", async (params) => {
1161
1161
  requireApiKey();
1162
- const { handleGetSuite } = await import("./get-suite-GTOCY5PL.js");
1162
+ const { handleGetSuite } = await import("./get-suite-J7JVWO6O.js");
1163
1163
  return {
1164
1164
  content: [{ type: "text", text: await handleGetSuite(params) }]
1165
1165
  };
@@ -1178,7 +1178,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1178
1178
  },
1179
1179
  withToolLogging("platform_create_suite", async (params) => {
1180
1180
  requireApiKey();
1181
- const { handleCreateSuite } = await import("./create-suite-TWF6BBR4.js");
1181
+ const { handleCreateSuite } = await import("./create-suite-LZS6QIAF.js");
1182
1182
  return {
1183
1183
  content: [{ type: "text", text: await handleCreateSuite(params) }]
1184
1184
  };
@@ -1198,7 +1198,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1198
1198
  },
1199
1199
  withToolLogging("platform_update_suite", async (params) => {
1200
1200
  requireApiKey();
1201
- const { handleUpdateSuite } = await import("./update-suite-TRGGLNR7.js");
1201
+ const { handleUpdateSuite } = await import("./update-suite-SNO3GS7T.js");
1202
1202
  return {
1203
1203
  content: [{ type: "text", text: await handleUpdateSuite(params) }]
1204
1204
  };
@@ -1212,7 +1212,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1212
1212
  },
1213
1213
  withToolLogging("platform_run_suite", async (params) => {
1214
1214
  requireApiKey();
1215
- const { handleRunSuite } = await import("./run-suite-K3DNQ3SE.js");
1215
+ const { handleRunSuite } = await import("./run-suite-NKZCJ2IN.js");
1216
1216
  return {
1217
1217
  content: [{ type: "text", text: await handleRunSuite(params) }]
1218
1218
  };
@@ -1226,7 +1226,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1226
1226
  },
1227
1227
  withToolLogging("platform_archive_suite", async (params) => {
1228
1228
  requireApiKey();
1229
- const { handleArchiveSuite } = await import("./archive-suite-C3KX6IIZ.js");
1229
+ const { handleArchiveSuite } = await import("./archive-suite-4T6BSRS7.js");
1230
1230
  return {
1231
1231
  content: [{ type: "text", text: await handleArchiveSuite(params) }]
1232
1232
  };
@@ -1243,7 +1243,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1243
1243
  },
1244
1244
  withToolLogging("platform_list_simulation_runs", async (params) => {
1245
1245
  requireApiKey();
1246
- const { handleListSimulationRuns } = await import("./list-simulation-runs-LGNEFNPN.js");
1246
+ const { handleListSimulationRuns } = await import("./list-simulation-runs-KF5THG5H.js");
1247
1247
  return {
1248
1248
  content: [{ type: "text", text: await handleListSimulationRuns(params) }]
1249
1249
  };
@@ -1258,7 +1258,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1258
1258
  },
1259
1259
  withToolLogging("platform_get_simulation_run", async (params) => {
1260
1260
  requireApiKey();
1261
- const { handleGetSimulationRun } = await import("./get-simulation-run-RQPMS2MC.js");
1261
+ const { handleGetSimulationRun } = await import("./get-simulation-run-T2ZQWYH2.js");
1262
1262
  return {
1263
1263
  content: [{ type: "text", text: await handleGetSimulationRun(params) }]
1264
1264
  };
@@ -1275,7 +1275,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1275
1275
  },
1276
1276
  withToolLogging("platform_create_evaluator", async (params) => {
1277
1277
  requireApiKey();
1278
- const { handleCreateEvaluator } = await import("./create-evaluator-YWH6NC4M.js");
1278
+ const { handleCreateEvaluator } = await import("./create-evaluator-JXF5PF33.js");
1279
1279
  return {
1280
1280
  content: [
1281
1281
  { type: "text", text: await handleCreateEvaluator(params) }
@@ -1289,7 +1289,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1289
1289
  {},
1290
1290
  withToolLogging("platform_list_evaluators", async () => {
1291
1291
  requireApiKey();
1292
- const { handleListEvaluators } = await import("./list-evaluators-65FBTL2U.js");
1292
+ const { handleListEvaluators } = await import("./list-evaluators-SJHC7VBH.js");
1293
1293
  return {
1294
1294
  content: [{ type: "text", text: await handleListEvaluators() }]
1295
1295
  };
@@ -1303,7 +1303,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1303
1303
  },
1304
1304
  withToolLogging("platform_get_evaluator", async (params) => {
1305
1305
  requireApiKey();
1306
- const { handleGetEvaluator } = await import("./get-evaluator-3FTRQKEC.js");
1306
+ const { handleGetEvaluator } = await import("./get-evaluator-ADMKVWYZ.js");
1307
1307
  return {
1308
1308
  content: [{ type: "text", text: await handleGetEvaluator(params) }]
1309
1309
  };
@@ -1321,7 +1321,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1321
1321
  },
1322
1322
  withToolLogging("platform_update_evaluator", async (params) => {
1323
1323
  requireApiKey();
1324
- const { handleUpdateEvaluator } = await import("./update-evaluator-SFRRI5Q3.js");
1324
+ const { handleUpdateEvaluator } = await import("./update-evaluator-LS6TIBY7.js");
1325
1325
  return {
1326
1326
  content: [
1327
1327
  { type: "text", text: await handleUpdateEvaluator(params) }
@@ -1337,7 +1337,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1337
1337
  },
1338
1338
  withToolLogging("platform_delete_evaluator", async (params) => {
1339
1339
  requireApiKey();
1340
- const { handleDeleteEvaluator } = await import("./delete-evaluator-U6JMQ6C7.js");
1340
+ const { handleDeleteEvaluator } = await import("./delete-evaluator-33SP2JFX.js");
1341
1341
  return {
1342
1342
  content: [{ type: "text", text: await handleDeleteEvaluator(params) }]
1343
1343
  };
@@ -1358,7 +1358,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1358
1358
  },
1359
1359
  withToolLogging("platform_set_model_provider", async (params) => {
1360
1360
  requireApiKey();
1361
- const { handleSetModelProvider } = await import("./set-model-provider-V3M5CDIY.js");
1361
+ const { handleSetModelProvider } = await import("./set-model-provider-3WKT63ZN.js");
1362
1362
  return {
1363
1363
  content: [
1364
1364
  { type: "text", text: await handleSetModelProvider(params) }
@@ -1372,7 +1372,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1372
1372
  {},
1373
1373
  withToolLogging("platform_list_model_providers", async () => {
1374
1374
  requireApiKey();
1375
- const { handleListModelProviders } = await import("./list-model-providers-GRK3I3VV.js");
1375
+ const { handleListModelProviders } = await import("./list-model-providers-PPD2WPD2.js");
1376
1376
  return {
1377
1377
  content: [{ type: "text", text: await handleListModelProviders() }]
1378
1378
  };
@@ -1384,7 +1384,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1384
1384
  {},
1385
1385
  withToolLogging("platform_list_agents", async () => {
1386
1386
  requireApiKey();
1387
- const { handleListAgents } = await import("./list-agents-TIJTP566.js");
1387
+ const { handleListAgents } = await import("./list-agents-KFHKGPXV.js");
1388
1388
  return {
1389
1389
  content: [{ type: "text", text: await handleListAgents() }]
1390
1390
  };
@@ -1398,7 +1398,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1398
1398
  },
1399
1399
  withToolLogging("platform_get_agent", async (params) => {
1400
1400
  requireApiKey();
1401
- const { handleGetAgent } = await import("./get-agent-7QJVPH72.js");
1401
+ const { handleGetAgent } = await import("./get-agent-Y7MWZ65F.js");
1402
1402
  return {
1403
1403
  content: [{ type: "text", text: await handleGetAgent(params) }]
1404
1404
  };
@@ -1414,7 +1414,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1414
1414
  },
1415
1415
  withToolLogging("platform_create_agent", async (params) => {
1416
1416
  requireApiKey();
1417
- const { handleCreateAgent } = await import("./create-agent-7W57J7MT.js");
1417
+ const { handleCreateAgent } = await import("./create-agent-7XHO6UIS.js");
1418
1418
  const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
1419
1419
  return {
1420
1420
  content: [{ type: "text", text: await handleCreateAgent({ ...params, config: parsedConfig }) }]
@@ -1432,7 +1432,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1432
1432
  },
1433
1433
  withToolLogging("platform_update_agent", async (params) => {
1434
1434
  requireApiKey();
1435
- const { handleUpdateAgent } = await import("./update-agent-47RZIHS7.js");
1435
+ const { handleUpdateAgent } = await import("./update-agent-SMAEHLXH.js");
1436
1436
  const parsedConfig = params.config ? JSON.parse(params.config) : void 0;
1437
1437
  return {
1438
1438
  content: [{ type: "text", text: await handleUpdateAgent({ ...params, config: parsedConfig }) }]
@@ -1447,7 +1447,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1447
1447
  },
1448
1448
  withToolLogging("platform_delete_agent", async (params) => {
1449
1449
  requireApiKey();
1450
- const { handleDeleteAgent } = await import("./delete-agent-7MSYNY5E.js");
1450
+ const { handleDeleteAgent } = await import("./delete-agent-O3EEH4S5.js");
1451
1451
  return {
1452
1452
  content: [{ type: "text", text: await handleDeleteAgent(params) }]
1453
1453
  };
@@ -1462,7 +1462,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1462
1462
  },
1463
1463
  withToolLogging("platform_run_agent", async (params) => {
1464
1464
  requireApiKey();
1465
- const { handleRunAgent } = await import("./run-agent-RBSIFKRT.js");
1465
+ const { handleRunAgent } = await import("./run-agent-6SM4XNA7.js");
1466
1466
  return {
1467
1467
  content: [{ type: "text", text: await handleRunAgent(params) }]
1468
1468
  };
@@ -1474,7 +1474,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1474
1474
  {},
1475
1475
  withToolLogging("platform_list_dashboards", async () => {
1476
1476
  requireApiKey();
1477
- const { handleListDashboards } = await import("./list-dashboards-RNIWX3TX.js");
1477
+ const { handleListDashboards } = await import("./list-dashboards-PWG6P6KR.js");
1478
1478
  return {
1479
1479
  content: [{ type: "text", text: await handleListDashboards() }]
1480
1480
  };
@@ -1488,7 +1488,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1488
1488
  },
1489
1489
  withToolLogging("platform_get_dashboard", async (params) => {
1490
1490
  requireApiKey();
1491
- const { handleGetDashboard } = await import("./get-dashboard-ZZPC3WMD.js");
1491
+ const { handleGetDashboard } = await import("./get-dashboard-KHBEGZGL.js");
1492
1492
  return {
1493
1493
  content: [{ type: "text", text: await handleGetDashboard(params) }]
1494
1494
  };
@@ -1502,7 +1502,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1502
1502
  },
1503
1503
  withToolLogging("platform_create_dashboard", async (params) => {
1504
1504
  requireApiKey();
1505
- const { handleCreateDashboard } = await import("./create-dashboard-QGL7IODC.js");
1505
+ const { handleCreateDashboard } = await import("./create-dashboard-4Z5JO5LB.js");
1506
1506
  return {
1507
1507
  content: [{ type: "text", text: await handleCreateDashboard(params) }]
1508
1508
  };
@@ -1516,7 +1516,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1516
1516
  },
1517
1517
  withToolLogging("platform_delete_dashboard", async (params) => {
1518
1518
  requireApiKey();
1519
- const { handleDeleteDashboard } = await import("./delete-dashboard-BTIY5S3L.js");
1519
+ const { handleDeleteDashboard } = await import("./delete-dashboard-RFUNYCNP.js");
1520
1520
  return {
1521
1521
  content: [{ type: "text", text: await handleDeleteDashboard(params) }]
1522
1522
  };
@@ -1531,7 +1531,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1531
1531
  },
1532
1532
  withToolLogging("platform_rename_dashboard", async (params) => {
1533
1533
  requireApiKey();
1534
- const { renameDashboard } = await import("./langwatch-api-dashboards-QCDECRCY.js");
1534
+ const { renameDashboard } = await import("./langwatch-api-dashboards-JTVCS7ZJ.js");
1535
1535
  const result = await renameDashboard(params.id, { name: params.name });
1536
1536
  return {
1537
1537
  content: [{ type: "text", text: `Dashboard "${result.name}" renamed successfully (ID: ${result.id}).` }]
@@ -1544,7 +1544,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1544
1544
  {},
1545
1545
  withToolLogging("platform_list_workflows", async () => {
1546
1546
  requireApiKey();
1547
- const { handleListWorkflows } = await import("./list-workflows-MLQDM6CP.js");
1547
+ const { handleListWorkflows } = await import("./list-workflows-QSJWURCK.js");
1548
1548
  return {
1549
1549
  content: [{ type: "text", text: await handleListWorkflows() }]
1550
1550
  };
@@ -1558,7 +1558,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1558
1558
  },
1559
1559
  withToolLogging("platform_get_workflow", async (params) => {
1560
1560
  requireApiKey();
1561
- const { handleGetWorkflow } = await import("./get-workflow-3EZDOEIF.js");
1561
+ const { handleGetWorkflow } = await import("./get-workflow-L5L2PSK3.js");
1562
1562
  return {
1563
1563
  content: [{ type: "text", text: await handleGetWorkflow(params) }]
1564
1564
  };
@@ -1572,7 +1572,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1572
1572
  },
1573
1573
  withToolLogging("platform_delete_workflow", async (params) => {
1574
1574
  requireApiKey();
1575
- const { handleDeleteWorkflow } = await import("./delete-workflow-5QYALXEL.js");
1575
+ const { handleDeleteWorkflow } = await import("./delete-workflow-3NUXO46U.js");
1576
1576
  return {
1577
1577
  content: [{ type: "text", text: await handleDeleteWorkflow(params) }]
1578
1578
  };
@@ -1587,7 +1587,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1587
1587
  },
1588
1588
  withToolLogging("platform_run_workflow", async (params) => {
1589
1589
  requireApiKey();
1590
- const { handleRunWorkflow } = await import("./run-workflow-5LVBZYLS.js");
1590
+ const { handleRunWorkflow } = await import("./run-workflow-QPXC627O.js");
1591
1591
  return {
1592
1592
  content: [{ type: "text", text: await handleRunWorkflow(params) }]
1593
1593
  };
@@ -1601,7 +1601,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1601
1601
  },
1602
1602
  withToolLogging("platform_list_annotations", async (params) => {
1603
1603
  requireApiKey();
1604
- const { handleListAnnotations } = await import("./list-annotations-CGX5BT7E.js");
1604
+ const { handleListAnnotations } = await import("./list-annotations-ZTVP4EEL.js");
1605
1605
  return {
1606
1606
  content: [{ type: "text", text: await handleListAnnotations(params) }]
1607
1607
  };
@@ -1618,7 +1618,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1618
1618
  },
1619
1619
  withToolLogging("platform_create_annotation", async (params) => {
1620
1620
  requireApiKey();
1621
- const { handleCreateAnnotation } = await import("./create-annotation-W2XELBCQ.js");
1621
+ const { handleCreateAnnotation } = await import("./create-annotation-YQXRQC6A.js");
1622
1622
  return {
1623
1623
  content: [{ type: "text", text: await handleCreateAnnotation(params) }]
1624
1624
  };
@@ -1632,7 +1632,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1632
1632
  },
1633
1633
  withToolLogging("platform_delete_annotation", async (params) => {
1634
1634
  requireApiKey();
1635
- const { handleDeleteAnnotation } = await import("./delete-annotation-ZT5IGN24.js");
1635
+ const { handleDeleteAnnotation } = await import("./delete-annotation-XP6FQM7A.js");
1636
1636
  return {
1637
1637
  content: [{ type: "text", text: await handleDeleteAnnotation(params) }]
1638
1638
  };
@@ -1646,7 +1646,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1646
1646
  },
1647
1647
  withToolLogging("platform_get_annotation", async (params) => {
1648
1648
  requireApiKey();
1649
- const { getAnnotation } = await import("./langwatch-api-annotations-E65MI3WZ.js");
1649
+ const { getAnnotation } = await import("./langwatch-api-annotations-FDAS6NQ7.js");
1650
1650
  const annotation = await getAnnotation(params.id);
1651
1651
  const lines = [
1652
1652
  `**ID**: ${annotation.id}`,
@@ -1668,7 +1668,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1668
1668
  },
1669
1669
  withToolLogging("platform_list_triggers", async (params) => {
1670
1670
  requireApiKey();
1671
- const { listTriggers } = await import("./langwatch-api-triggers-MPOEKPUY.js");
1671
+ const { listTriggers } = await import("./langwatch-api-triggers-EDFUCJN6.js");
1672
1672
  const triggers = await listTriggers();
1673
1673
  if (params.format === "json") {
1674
1674
  return { content: [{ type: "text", text: JSON.stringify(triggers, null, 2) }] };
@@ -1701,7 +1701,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1701
1701
  },
1702
1702
  withToolLogging("platform_create_trigger", async (params) => {
1703
1703
  requireApiKey();
1704
- const { createTrigger } = await import("./langwatch-api-triggers-MPOEKPUY.js");
1704
+ const { createTrigger } = await import("./langwatch-api-triggers-EDFUCJN6.js");
1705
1705
  let filters = {};
1706
1706
  if (params.filters) {
1707
1707
  try {
@@ -1732,7 +1732,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1732
1732
  },
1733
1733
  withToolLogging("platform_update_trigger", async (params) => {
1734
1734
  requireApiKey();
1735
- const { updateTrigger } = await import("./langwatch-api-triggers-MPOEKPUY.js");
1735
+ const { updateTrigger } = await import("./langwatch-api-triggers-EDFUCJN6.js");
1736
1736
  const trigger = await updateTrigger(params);
1737
1737
  return { content: [{ type: "text", text: `Trigger "${trigger.name}" updated (active: ${trigger.active}).` }] };
1738
1738
  })
@@ -1745,7 +1745,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1745
1745
  },
1746
1746
  withToolLogging("platform_delete_trigger", async (params) => {
1747
1747
  requireApiKey();
1748
- const { deleteTrigger } = await import("./langwatch-api-triggers-MPOEKPUY.js");
1748
+ const { deleteTrigger } = await import("./langwatch-api-triggers-EDFUCJN6.js");
1749
1749
  const result = await deleteTrigger(params.id);
1750
1750
  return { content: [{ type: "text", text: `Trigger ${result.id} deleted.` }] };
1751
1751
  })
@@ -1756,7 +1756,7 @@ NOTE: Scenarios can be created two ways. Determine which approach the user needs
1756
1756
  {},
1757
1757
  withToolLogging("platform_list_monitors", async () => {
1758
1758
  requireApiKey();
1759
- const { listMonitors } = await import("./langwatch-api-monitors-UIO2KTDV.js");
1759
+ const { listMonitors } = await import("./langwatch-api-monitors-3J7UIQME.js");
1760
1760
  const monitors = await listMonitors();
1761
1761
  if (monitors.length === 0) {
1762
1762
  return { content: [{ type: "text", text: "No monitors found." }] };
@@ -1783,7 +1783,7 @@ ${lines.join("\n")}`
1783
1783
  },
1784
1784
  withToolLogging("platform_get_monitor", async (params) => {
1785
1785
  requireApiKey();
1786
- const { getMonitor } = await import("./langwatch-api-monitors-UIO2KTDV.js");
1786
+ const { getMonitor } = await import("./langwatch-api-monitors-3J7UIQME.js");
1787
1787
  const m = await getMonitor(params.id);
1788
1788
  const lines = [
1789
1789
  `**${m.name}** (${m.id})`,
@@ -1810,7 +1810,7 @@ ${lines.join("\n")}`
1810
1810
  },
1811
1811
  withToolLogging("platform_create_monitor", async (params) => {
1812
1812
  requireApiKey();
1813
- const { createMonitor } = await import("./langwatch-api-monitors-UIO2KTDV.js");
1813
+ const { createMonitor } = await import("./langwatch-api-monitors-3J7UIQME.js");
1814
1814
  const monitor = await createMonitor(params);
1815
1815
  return {
1816
1816
  content: [
@@ -1834,7 +1834,7 @@ ${lines.join("\n")}`
1834
1834
  },
1835
1835
  withToolLogging("platform_update_monitor", async (params) => {
1836
1836
  requireApiKey();
1837
- const { updateMonitor } = await import("./langwatch-api-monitors-UIO2KTDV.js");
1837
+ const { updateMonitor } = await import("./langwatch-api-monitors-3J7UIQME.js");
1838
1838
  const monitor = await updateMonitor(params);
1839
1839
  return {
1840
1840
  content: [
@@ -1854,7 +1854,7 @@ ${lines.join("\n")}`
1854
1854
  },
1855
1855
  withToolLogging("platform_delete_monitor", async (params) => {
1856
1856
  requireApiKey();
1857
- const { deleteMonitor } = await import("./langwatch-api-monitors-UIO2KTDV.js");
1857
+ const { deleteMonitor } = await import("./langwatch-api-monitors-3J7UIQME.js");
1858
1858
  const result = await deleteMonitor(params.id);
1859
1859
  return {
1860
1860
  content: [
@@ -1869,7 +1869,7 @@ ${lines.join("\n")}`
1869
1869
  {},
1870
1870
  withToolLogging("platform_list_secrets", async () => {
1871
1871
  requireApiKey();
1872
- const { listSecrets } = await import("./langwatch-api-secrets-4T2EKSJ7.js");
1872
+ const { listSecrets } = await import("./langwatch-api-secrets-BUBSNCNO.js");
1873
1873
  const secrets = await listSecrets();
1874
1874
  if (secrets.length === 0) {
1875
1875
  return { content: [{ type: "text", text: "No secrets found." }] };
@@ -1897,7 +1897,7 @@ ${lines.join("\n")}`
1897
1897
  },
1898
1898
  withToolLogging("platform_create_secret", async (params) => {
1899
1899
  requireApiKey();
1900
- const { createSecret } = await import("./langwatch-api-secrets-4T2EKSJ7.js");
1900
+ const { createSecret } = await import("./langwatch-api-secrets-BUBSNCNO.js");
1901
1901
  const secret = await createSecret({ name: params.name, value: params.value });
1902
1902
  return {
1903
1903
  content: [
@@ -1918,7 +1918,7 @@ ${lines.join("\n")}`
1918
1918
  },
1919
1919
  withToolLogging("platform_update_secret", async (params) => {
1920
1920
  requireApiKey();
1921
- const { updateSecret } = await import("./langwatch-api-secrets-4T2EKSJ7.js");
1921
+ const { updateSecret } = await import("./langwatch-api-secrets-BUBSNCNO.js");
1922
1922
  const secret = await updateSecret({ id: params.id, value: params.value });
1923
1923
  return {
1924
1924
  content: [
@@ -1938,7 +1938,7 @@ ${lines.join("\n")}`
1938
1938
  },
1939
1939
  withToolLogging("platform_delete_secret", async (params) => {
1940
1940
  requireApiKey();
1941
- const { deleteSecret } = await import("./langwatch-api-secrets-4T2EKSJ7.js");
1941
+ const { deleteSecret } = await import("./langwatch-api-secrets-BUBSNCNO.js");
1942
1942
  const result = await deleteSecret(params.id);
1943
1943
  return { content: [{ type: "text", text: `Secret ${result.id} deleted.` }] };
1944
1944
  })
@@ -2041,7 +2041,7 @@ ${lines.join("\n")}`
2041
2041
  async (params) => {
2042
2042
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2043
2043
  requireApiKey2();
2044
- const { handleListDatasets } = await import("./list-datasets-BVCAMQCP.js");
2044
+ const { handleListDatasets } = await import("./list-datasets-ZT4JYUDT.js");
2045
2045
  return {
2046
2046
  content: [{ type: "text", text: await handleListDatasets(params) }]
2047
2047
  };
@@ -2059,7 +2059,7 @@ ${lines.join("\n")}`
2059
2059
  async (params) => {
2060
2060
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2061
2061
  requireApiKey2();
2062
- const { handleGetDataset } = await import("./get-dataset-25TB2LQH.js");
2062
+ const { handleGetDataset } = await import("./get-dataset-RCMU5VAH.js");
2063
2063
  return {
2064
2064
  content: [{ type: "text", text: await handleGetDataset(params) }]
2065
2065
  };
@@ -2072,7 +2072,7 @@ ${lines.join("\n")}`
2072
2072
  async (params) => {
2073
2073
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2074
2074
  requireApiKey2();
2075
- const { handleCreateDataset } = await import("./create-dataset-3PH7A4HG.js");
2075
+ const { handleCreateDataset } = await import("./create-dataset-E6NMSVX7.js");
2076
2076
  return {
2077
2077
  content: [{ type: "text", text: await handleCreateDataset(params) }]
2078
2078
  };
@@ -2089,7 +2089,7 @@ ${lines.join("\n")}`
2089
2089
  async (params) => {
2090
2090
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2091
2091
  requireApiKey2();
2092
- const { handleUpdateDataset } = await import("./update-dataset-G6QJJGS5.js");
2092
+ const { handleUpdateDataset } = await import("./update-dataset-BDUK7TUO.js");
2093
2093
  return {
2094
2094
  content: [{ type: "text", text: await handleUpdateDataset(params) }]
2095
2095
  };
@@ -2104,7 +2104,7 @@ ${lines.join("\n")}`
2104
2104
  async (params) => {
2105
2105
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2106
2106
  requireApiKey2();
2107
- const { handleDeleteDataset } = await import("./delete-dataset-U45HQHPR.js");
2107
+ const { handleDeleteDataset } = await import("./delete-dataset-3MJFRDLP.js");
2108
2108
  return {
2109
2109
  content: [{ type: "text", text: await handleDeleteDataset(params) }]
2110
2110
  };
@@ -2122,7 +2122,7 @@ ${lines.join("\n")}`
2122
2122
  async (params) => {
2123
2123
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2124
2124
  requireApiKey2();
2125
- const { handleListDatasetRecords } = await import("./list-dataset-records-B5MHZR66.js");
2125
+ const { handleListDatasetRecords } = await import("./list-dataset-records-IOE7LQXS.js");
2126
2126
  return {
2127
2127
  content: [
2128
2128
  { type: "text", text: await handleListDatasetRecords(params) }
@@ -2140,7 +2140,7 @@ ${lines.join("\n")}`
2140
2140
  async (params) => {
2141
2141
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2142
2142
  requireApiKey2();
2143
- const { handleCreateDatasetRecords } = await import("./create-dataset-records-4DZS3VRL.js");
2143
+ const { handleCreateDatasetRecords } = await import("./create-dataset-records-SKHPRD2K.js");
2144
2144
  return {
2145
2145
  content: [
2146
2146
  { type: "text", text: await handleCreateDatasetRecords(params) }
@@ -2159,7 +2159,7 @@ ${lines.join("\n")}`
2159
2159
  async (params) => {
2160
2160
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2161
2161
  requireApiKey2();
2162
- const { handleUpdateDatasetRecord } = await import("./update-dataset-record-RMWLSWCS.js");
2162
+ const { handleUpdateDatasetRecord } = await import("./update-dataset-record-4ZSDRBSW.js");
2163
2163
  return {
2164
2164
  content: [
2165
2165
  { type: "text", text: await handleUpdateDatasetRecord(params) }
@@ -2177,7 +2177,7 @@ ${lines.join("\n")}`
2177
2177
  async (params) => {
2178
2178
  const { requireApiKey: requireApiKey2 } = await import("./config.js");
2179
2179
  requireApiKey2();
2180
- const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-R43IMAWB.js");
2180
+ const { handleDeleteDatasetRecords } = await import("./delete-dataset-records-WPMU5GL5.js");
2181
2181
  return {
2182
2182
  content: [
2183
2183
  { type: "text", text: await handleDeleteDatasetRecords(params) }
@@ -2194,7 +2194,7 @@ ${lines.join("\n")}`
2194
2194
  },
2195
2195
  withToolLogging("platform_list_projects", async (params) => {
2196
2196
  requireApiKey();
2197
- const { handleListProjects } = await import("./list-projects-JLMBFMW3.js");
2197
+ const { handleListProjects } = await import("./list-projects-K7QAIX2I.js");
2198
2198
  return {
2199
2199
  content: [{ type: "text", text: await handleListProjects(params) }]
2200
2200
  };
@@ -2208,7 +2208,7 @@ ${lines.join("\n")}`
2208
2208
  },
2209
2209
  withToolLogging("platform_get_project", async (params) => {
2210
2210
  requireApiKey();
2211
- const { handleGetProject } = await import("./get-project-5OAXYC57.js");
2211
+ const { handleGetProject } = await import("./get-project-RAK7URQJ.js");
2212
2212
  return {
2213
2213
  content: [{ type: "text", text: await handleGetProject(params) }]
2214
2214
  };
@@ -2228,7 +2228,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2228
2228
  },
2229
2229
  withToolLogging("platform_create_project", async (params) => {
2230
2230
  requireApiKey();
2231
- const { handleCreateProject } = await import("./create-project-BOBQ32C5.js");
2231
+ const { handleCreateProject } = await import("./create-project-CS2CB57Y.js");
2232
2232
  return {
2233
2233
  content: [{ type: "text", text: await handleCreateProject(params) }]
2234
2234
  };
@@ -2246,7 +2246,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2246
2246
  },
2247
2247
  withToolLogging("platform_update_project", async (params) => {
2248
2248
  requireApiKey();
2249
- const { handleUpdateProject } = await import("./update-project-PI5DWBVK.js");
2249
+ const { handleUpdateProject } = await import("./update-project-LKVYXENH.js");
2250
2250
  return {
2251
2251
  content: [{ type: "text", text: await handleUpdateProject(params) }]
2252
2252
  };
@@ -2260,7 +2260,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2260
2260
  },
2261
2261
  withToolLogging("platform_archive_project", async (params) => {
2262
2262
  requireApiKey();
2263
- const { handleArchiveProject } = await import("./archive-project-MK3673A7.js");
2263
+ const { handleArchiveProject } = await import("./archive-project-4EQGLBJJ.js");
2264
2264
  return {
2265
2265
  content: [{ type: "text", text: await handleArchiveProject(params) }]
2266
2266
  };
@@ -2272,7 +2272,7 @@ You must provide either teamId (to add the project to an existing team) or newTe
2272
2272
  {},
2273
2273
  withToolLogging("platform_list_api_keys", async () => {
2274
2274
  requireApiKey();
2275
- const { handleListApiKeys } = await import("./list-api-keys-JLWJPFRX.js");
2275
+ const { handleListApiKeys } = await import("./list-api-keys-CWD4UQT5.js");
2276
2276
  return {
2277
2277
  content: [{ type: "text", text: await handleListApiKeys() }]
2278
2278
  };
@@ -2300,7 +2300,7 @@ The token is returned once and cannot be retrieved again.`,
2300
2300
  },
2301
2301
  withToolLogging("platform_create_api_key", async (params) => {
2302
2302
  requireApiKey();
2303
- const { handleCreateApiKey } = await import("./create-api-key-MKRXKFJM.js");
2303
+ const { handleCreateApiKey } = await import("./create-api-key-YUS36KBU.js");
2304
2304
  return {
2305
2305
  content: [{ type: "text", text: await handleCreateApiKey(params) }]
2306
2306
  };
@@ -2314,7 +2314,7 @@ The token is returned once and cannot be retrieved again.`,
2314
2314
  },
2315
2315
  withToolLogging("platform_revoke_api_key", async (params) => {
2316
2316
  requireApiKey();
2317
- const { handleRevokeApiKey } = await import("./revoke-api-key-3Y35EMBT.js");
2317
+ const { handleRevokeApiKey } = await import("./revoke-api-key-FTRTZMOF.js");
2318
2318
  return {
2319
2319
  content: [{ type: "text", text: await handleRevokeApiKey(params) }]
2320
2320
  };
@@ -2325,4 +2325,4 @@ The token is returned once and cannot be retrieved again.`,
2325
2325
  export {
2326
2326
  createMcpServer
2327
2327
  };
2328
- //# sourceMappingURL=chunk-VYPSKRPN.js.map
2328
+ //# sourceMappingURL=chunk-4QC7SA2L.js.map