@langwatch/mcp-server 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/.release-please-shim +1 -0
  2. package/CHANGELOG.md +87 -0
  3. package/LICENSE +7 -0
  4. package/dist/archive-project-HZBRPR2S.js +19 -0
  5. package/dist/{archive-scenario-WJ2A7ETN.js → archive-scenario-P5RRITRM.js} +4 -4
  6. package/dist/{archive-suite-4JOM4SSL.js → archive-suite-NUUFD2EM.js} +4 -4
  7. package/dist/{assign-prompt-tag-GL7EAAF3.js → assign-prompt-tag-FKCCZPML.js} +3 -3
  8. package/dist/{chunk-2WPLXEKF.js → chunk-42ZHHHIJ.js} +20 -5
  9. package/dist/chunk-ADSJ2FDA.js +44 -0
  10. package/dist/{chunk-IE4M5OGE.js → chunk-BB7EOKHR.js} +2 -2
  11. package/dist/chunk-BBJ5WAJB.js +24 -0
  12. package/dist/{chunk-EGH5RPXM.js → chunk-BYWYM2RP.js} +2 -2
  13. package/dist/{chunk-2GT7IFWK.js → chunk-CCM4ZFGF.js} +2 -2
  14. package/dist/{chunk-LUMEZEHL.js → chunk-CHKCEZBP.js} +2 -2
  15. package/dist/{chunk-ZVS4UKN2.js → chunk-HKY3GW45.js} +2 -2
  16. package/dist/{chunk-EUQDVOSU.js → chunk-JHOSVOHT.js} +2 -2
  17. package/dist/{chunk-E5JYYU3J.js → chunk-JVLJKQJG.js} +669 -94
  18. package/dist/{chunk-BWWY5KEF.js → chunk-KOO5733S.js} +3 -2
  19. package/dist/{chunk-HYMIWO3U.js → chunk-R7C7OUVG.js} +2 -2
  20. package/dist/{chunk-WQG2DFHX.js → chunk-TROIWSEQ.js} +2 -2
  21. package/dist/{chunk-CCWCIJJ3.js → chunk-X2SEURT2.js} +2 -2
  22. package/dist/{chunk-4AUB2BIA.js → chunk-XC62KJIT.js} +3 -3
  23. package/dist/config.js +1 -1
  24. package/dist/{create-agent-MBOOT3XK.js → create-agent-K5Q7BFGZ.js} +4 -4
  25. package/dist/{create-annotation-XMV6A7ED.js → create-annotation-KN3GE3DK.js} +4 -4
  26. package/dist/create-api-key-OQI5PUNQ.js +26 -0
  27. package/dist/{create-dashboard-VRKLFVZJ.js → create-dashboard-G4QA5AXP.js} +4 -4
  28. package/dist/{create-dataset-7HQPZCRE.js → create-dataset-WQSC37N7.js} +4 -4
  29. package/dist/{create-dataset-records-2NIVFYTV.js → create-dataset-records-B4RL3FLC.js} +4 -4
  30. package/dist/{create-evaluator-WYFRFLRC.js → create-evaluator-YFFQIR7E.js} +4 -4
  31. package/dist/create-mcp-server.js +3 -2
  32. package/dist/create-project-CUVQ67VN.js +44 -0
  33. package/dist/{create-prompt-IEN7O6JT.js → create-prompt-NGXKSP4X.js} +3 -3
  34. package/dist/{create-prompt-tag-CAEZ45VO.js → create-prompt-tag-IUKYPVHH.js} +3 -3
  35. package/dist/{create-scenario-6YHSMGLP.js → create-scenario-FNBXALH3.js} +4 -4
  36. package/dist/{create-suite-H5XOFDE5.js → create-suite-DJEPD4ZB.js} +4 -4
  37. package/dist/{delete-agent-JKTNBWAA.js → delete-agent-TJI5XBBM.js} +4 -4
  38. package/dist/{delete-annotation-ACMDV6QO.js → delete-annotation-KRP53TUU.js} +4 -4
  39. package/dist/{delete-dashboard-VJSR7CRU.js → delete-dashboard-N5SZJIR3.js} +4 -4
  40. package/dist/{delete-dataset-RTTTWP4D.js → delete-dataset-KDUOHL2P.js} +4 -4
  41. package/dist/{delete-dataset-records-KNQTIPQK.js → delete-dataset-records-DM4W3PAW.js} +4 -4
  42. package/dist/{delete-evaluator-7FVC5WM4.js → delete-evaluator-7ZATLJOA.js} +4 -4
  43. package/dist/{delete-prompt-tag-ZMZUAGFW.js → delete-prompt-tag-I6HNMSVJ.js} +3 -3
  44. package/dist/{delete-workflow-EYQ3T4RQ.js → delete-workflow-QEO74JQR.js} +4 -4
  45. package/dist/{get-agent-E3QSTVKG.js → get-agent-3KDWCP5N.js} +4 -4
  46. package/dist/{get-analytics-2OHV763I.js → get-analytics-GPVJX7SF.js} +3 -3
  47. package/dist/{get-dashboard-PC7JDHH6.js → get-dashboard-YPTIE5YY.js} +4 -4
  48. package/dist/{get-dataset-H5IK5FVU.js → get-dataset-6DQFYITM.js} +4 -4
  49. package/dist/{get-evaluator-UWVUPYTM.js → get-evaluator-PCM6XQAU.js} +4 -4
  50. package/dist/get-project-JCMWXVLU.js +26 -0
  51. package/dist/{get-prompt-WZUOLLQC.js → get-prompt-5XAGWWBG.js} +3 -3
  52. package/dist/{get-scenario-Q6LCNUYN.js → get-scenario-7XBCDZWX.js} +4 -4
  53. package/dist/{get-simulation-run-Z2XKO256.js → get-simulation-run-AV24FJWI.js} +4 -4
  54. package/dist/{get-suite-BXK5TN7P.js → get-suite-4DBVHFEM.js} +4 -4
  55. package/dist/{get-trace-4EJAYVBG.js → get-trace-MRBDS3HJ.js} +3 -3
  56. package/dist/{get-workflow-O34QJLHD.js → get-workflow-UR4Y6UFX.js} +4 -4
  57. package/dist/{http-server-ISHF7NJX.js → http-server-DEGNV5EP.js} +4 -3
  58. package/dist/index.js +1453 -431
  59. package/dist/{langwatch-api-annotations-ERBG27RF.js → langwatch-api-annotations-ZJDRB4JH.js} +4 -4
  60. package/dist/{langwatch-api-dashboards-G6TR7VVO.js → langwatch-api-dashboards-WARLI6NF.js} +4 -4
  61. package/dist/{langwatch-api-monitors-WSXZLS2B.js → langwatch-api-monitors-4XKXHYCG.js} +3 -3
  62. package/dist/{langwatch-api-secrets-RR5DKG2X.js → langwatch-api-secrets-6SHK5G7Q.js} +3 -3
  63. package/dist/{langwatch-api-triggers-2RTNSWQY.js → langwatch-api-triggers-5SX6R2WU.js} +3 -3
  64. package/dist/langwatch-api-workflows-NLJENNXE.js +15 -0
  65. package/dist/{list-agents-AW3P6FJV.js → list-agents-NECO7MPI.js} +4 -4
  66. package/dist/{list-annotations-QNCGWPQ3.js → list-annotations-3OJEO774.js} +4 -4
  67. package/dist/list-api-keys-AWW7ROLB.js +37 -0
  68. package/dist/{list-dashboards-R7RK2IXL.js → list-dashboards-DVPVVVKW.js} +4 -4
  69. package/dist/{list-dataset-records-WVCSQP7P.js → list-dataset-records-I4BYORF5.js} +4 -4
  70. package/dist/{list-datasets-KEXRLDEU.js → list-datasets-WUAE5HGX.js} +4 -4
  71. package/dist/{list-evaluators-7R2LB4JH.js → list-evaluators-B6OSVAM2.js} +4 -4
  72. package/dist/{list-model-providers-OBYJCKBX.js → list-model-providers-NL6IP4UZ.js} +4 -4
  73. package/dist/list-projects-5FHMJ4PQ.js +42 -0
  74. package/dist/{list-prompt-tags-6LY3ZPYI.js → list-prompt-tags-Z2DD6FLQ.js} +3 -3
  75. package/dist/{list-prompts-VWEZ4CDE.js → list-prompts-VNXKHK7T.js} +3 -3
  76. package/dist/{list-scenarios-TXD4W2ZJ.js → list-scenarios-CFZHXL76.js} +4 -4
  77. package/dist/{list-simulation-runs-RHPOLMFI.js → list-simulation-runs-AM2BXLBW.js} +4 -4
  78. package/dist/{list-suites-FSGBX27Z.js → list-suites-ZDOHAAXF.js} +4 -4
  79. package/dist/{list-workflows-VRGEZ3EN.js → list-workflows-WBRBKLIT.js} +4 -4
  80. package/dist/{rename-prompt-tag-VOJJLX4M.js → rename-prompt-tag-A4RJUK7Z.js} +3 -3
  81. package/dist/revoke-api-key-ZSPSPF5G.js +15 -0
  82. package/dist/{run-agent-KTCC7TB7.js → run-agent-JFNDY7MR.js} +4 -4
  83. package/dist/{run-suite-BTMHGI2D.js → run-suite-TH7LO5TJ.js} +4 -4
  84. package/dist/{run-workflow-IGAYGKJL.js → run-workflow-CK3JP5U2.js} +4 -4
  85. package/dist/{search-traces-VYFUIMXH.js → search-traces-3BBVYPC3.js} +3 -3
  86. package/dist/{set-model-provider-W5IUI326.js → set-model-provider-WOC5FNMV.js} +4 -4
  87. package/dist/{update-agent-4BB7EYLR.js → update-agent-YMEV5MTL.js} +4 -4
  88. package/dist/{update-dataset-CXBKZ4W3.js → update-dataset-EYT5POFM.js} +4 -4
  89. package/dist/{update-dataset-record-HOHAMHXG.js → update-dataset-record-VFF5JTX4.js} +4 -4
  90. package/dist/{update-evaluator-IVOR6FTR.js → update-evaluator-6IJHFG2E.js} +4 -4
  91. package/dist/update-project-OIT4WPFI.js +24 -0
  92. package/dist/{update-prompt-OWQAKE7K.js → update-prompt-ZU2DD6KM.js} +3 -3
  93. package/dist/{update-scenario-GDFVILPN.js → update-scenario-3VUTPDRU.js} +4 -4
  94. package/dist/{update-suite-BXYUYSPT.js → update-suite-C6JFDQHL.js} +4 -4
  95. package/package.json +7 -7
  96. package/pnpm-workspace.yaml +2 -0
  97. package/pyproject.toml +3 -0
  98. package/src/__tests__/all-tools.integration.test.ts +9 -0
  99. package/src/__tests__/datasets.integration.test.ts +17 -0
  100. package/src/__tests__/datasets.unit.test.ts +4 -0
  101. package/src/__tests__/experiment-list-tools.unit.test.ts +157 -0
  102. package/src/__tests__/get-experiment-results.unit.test.ts +222 -0
  103. package/src/__tests__/project-api-key-tools.unit.test.ts +451 -0
  104. package/src/__tests__/scenario-tools.unit.test.ts +3 -0
  105. package/src/config.ts +2 -0
  106. package/src/create-mcp-server.ts +257 -13
  107. package/src/langwatch-api-api-keys.ts +54 -0
  108. package/src/langwatch-api-projects.ts +82 -0
  109. package/src/langwatch-api.ts +22 -4
  110. package/src/tools/archive-project.ts +14 -0
  111. package/src/tools/create-api-key.ts +29 -0
  112. package/src/tools/create-project.ts +45 -0
  113. package/src/tools/get-experiment-results.ts +273 -0
  114. package/src/tools/get-project.ts +20 -0
  115. package/src/tools/list-api-keys.ts +33 -0
  116. package/src/tools/list-experiment-runs.ts +142 -0
  117. package/src/tools/list-experiments.ts +95 -0
  118. package/src/tools/list-projects.ts +41 -0
  119. package/src/tools/revoke-api-key.ts +9 -0
  120. package/src/tools/{run-evaluation.ts → run-experiment.ts} +5 -5
  121. package/src/tools/update-project.ts +22 -0
  122. package/uv.lock +192 -530
  123. package/Dockerfile +0 -22
  124. package/build.js +0 -12
  125. package/dist/archive-scenario-WJ2A7ETN.js.map +0 -1
  126. package/dist/archive-suite-4JOM4SSL.js.map +0 -1
  127. package/dist/assign-prompt-tag-GL7EAAF3.js.map +0 -1
  128. package/dist/chunk-2GT7IFWK.js.map +0 -1
  129. package/dist/chunk-2WPLXEKF.js.map +0 -1
  130. package/dist/chunk-4AUB2BIA.js.map +0 -1
  131. package/dist/chunk-BWWY5KEF.js.map +0 -1
  132. package/dist/chunk-CCWCIJJ3.js.map +0 -1
  133. package/dist/chunk-E5JYYU3J.js.map +0 -1
  134. package/dist/chunk-EGH5RPXM.js.map +0 -1
  135. package/dist/chunk-EUQDVOSU.js.map +0 -1
  136. package/dist/chunk-HYMIWO3U.js.map +0 -1
  137. package/dist/chunk-IE4M5OGE.js.map +0 -1
  138. package/dist/chunk-LUMEZEHL.js.map +0 -1
  139. package/dist/chunk-NUFPTHKU.js.map +0 -1
  140. package/dist/chunk-WQG2DFHX.js.map +0 -1
  141. package/dist/chunk-WVI5CJ6S.js.map +0 -1
  142. package/dist/chunk-ZVS4UKN2.js.map +0 -1
  143. package/dist/chunk-ZXKLPC2E.js.map +0 -1
  144. package/dist/config.js.map +0 -1
  145. package/dist/create-agent-MBOOT3XK.js.map +0 -1
  146. package/dist/create-annotation-XMV6A7ED.js.map +0 -1
  147. package/dist/create-dashboard-VRKLFVZJ.js.map +0 -1
  148. package/dist/create-dataset-7HQPZCRE.js.map +0 -1
  149. package/dist/create-dataset-records-2NIVFYTV.js.map +0 -1
  150. package/dist/create-evaluator-WYFRFLRC.js.map +0 -1
  151. package/dist/create-mcp-server.js.map +0 -1
  152. package/dist/create-prompt-IEN7O6JT.js.map +0 -1
  153. package/dist/create-prompt-tag-CAEZ45VO.js.map +0 -1
  154. package/dist/create-scenario-6YHSMGLP.js.map +0 -1
  155. package/dist/create-suite-H5XOFDE5.js.map +0 -1
  156. package/dist/delete-agent-JKTNBWAA.js.map +0 -1
  157. package/dist/delete-annotation-ACMDV6QO.js.map +0 -1
  158. package/dist/delete-dashboard-VJSR7CRU.js.map +0 -1
  159. package/dist/delete-dataset-RTTTWP4D.js.map +0 -1
  160. package/dist/delete-dataset-records-KNQTIPQK.js.map +0 -1
  161. package/dist/delete-evaluator-7FVC5WM4.js.map +0 -1
  162. package/dist/delete-prompt-tag-ZMZUAGFW.js.map +0 -1
  163. package/dist/delete-workflow-EYQ3T4RQ.js.map +0 -1
  164. package/dist/discover-evaluator-schema-H23XCLNE.js.map +0 -1
  165. package/dist/discover-scenario-schema-MEEEVND7.js.map +0 -1
  166. package/dist/discover-schema-3T52ORPB.js.map +0 -1
  167. package/dist/get-agent-E3QSTVKG.js.map +0 -1
  168. package/dist/get-analytics-2OHV763I.js.map +0 -1
  169. package/dist/get-dashboard-PC7JDHH6.js.map +0 -1
  170. package/dist/get-dataset-H5IK5FVU.js.map +0 -1
  171. package/dist/get-evaluator-UWVUPYTM.js.map +0 -1
  172. package/dist/get-prompt-WZUOLLQC.js.map +0 -1
  173. package/dist/get-scenario-Q6LCNUYN.js.map +0 -1
  174. package/dist/get-simulation-run-Z2XKO256.js.map +0 -1
  175. package/dist/get-suite-BXK5TN7P.js.map +0 -1
  176. package/dist/get-trace-4EJAYVBG.js.map +0 -1
  177. package/dist/get-workflow-O34QJLHD.js.map +0 -1
  178. package/dist/http-server-ISHF7NJX.js.map +0 -1
  179. package/dist/index.js.map +0 -1
  180. package/dist/langwatch-api-annotations-ERBG27RF.js.map +0 -1
  181. package/dist/langwatch-api-dashboards-G6TR7VVO.js.map +0 -1
  182. package/dist/langwatch-api-monitors-WSXZLS2B.js.map +0 -1
  183. package/dist/langwatch-api-secrets-RR5DKG2X.js.map +0 -1
  184. package/dist/langwatch-api-triggers-2RTNSWQY.js.map +0 -1
  185. package/dist/langwatch-api-workflows-VJRIIDZ7.js +0 -15
  186. package/dist/langwatch-api-workflows-VJRIIDZ7.js.map +0 -1
  187. package/dist/list-agents-AW3P6FJV.js.map +0 -1
  188. package/dist/list-annotations-QNCGWPQ3.js.map +0 -1
  189. package/dist/list-dashboards-R7RK2IXL.js.map +0 -1
  190. package/dist/list-dataset-records-WVCSQP7P.js.map +0 -1
  191. package/dist/list-datasets-KEXRLDEU.js.map +0 -1
  192. package/dist/list-evaluators-7R2LB4JH.js.map +0 -1
  193. package/dist/list-model-providers-OBYJCKBX.js.map +0 -1
  194. package/dist/list-prompt-tags-6LY3ZPYI.js.map +0 -1
  195. package/dist/list-prompts-VWEZ4CDE.js.map +0 -1
  196. package/dist/list-scenarios-TXD4W2ZJ.js.map +0 -1
  197. package/dist/list-simulation-runs-RHPOLMFI.js.map +0 -1
  198. package/dist/list-suites-FSGBX27Z.js.map +0 -1
  199. package/dist/list-workflows-VRGEZ3EN.js.map +0 -1
  200. package/dist/rename-prompt-tag-VOJJLX4M.js.map +0 -1
  201. package/dist/run-agent-KTCC7TB7.js.map +0 -1
  202. package/dist/run-evaluation-2X3V3Q6L.js +0 -64
  203. package/dist/run-evaluation-2X3V3Q6L.js.map +0 -1
  204. package/dist/run-suite-BTMHGI2D.js.map +0 -1
  205. package/dist/run-workflow-IGAYGKJL.js.map +0 -1
  206. package/dist/search-traces-VYFUIMXH.js.map +0 -1
  207. package/dist/set-model-provider-W5IUI326.js.map +0 -1
  208. package/dist/update-agent-4BB7EYLR.js.map +0 -1
  209. package/dist/update-dataset-CXBKZ4W3.js.map +0 -1
  210. package/dist/update-dataset-record-HOHAMHXG.js.map +0 -1
  211. package/dist/update-evaluator-IVOR6FTR.js.map +0 -1
  212. package/dist/update-prompt-OWQAKE7K.js.map +0 -1
  213. package/dist/update-scenario-GDFVILPN.js.map +0 -1
  214. package/dist/update-suite-BXYUYSPT.js.map +0 -1
  215. package/tests/evaluations.ipynb +0 -649
  216. package/tests/fixtures/azure/azure_openai_stream_bot_expected.py +0 -102
  217. package/tests/fixtures/azure/azure_openai_stream_bot_input.py +0 -78
  218. package/tests/fixtures/dspy/dspy_bot_expected.py +0 -61
  219. package/tests/fixtures/dspy/dspy_bot_input.py +0 -53
  220. package/tests/fixtures/fastapi/fastapi_app_expected.py +0 -68
  221. package/tests/fixtures/fastapi/fastapi_app_input.py +0 -60
  222. package/tests/fixtures/fastapi/prompt_management_fastapi_expected.py +0 -114
  223. package/tests/fixtures/fastapi/prompt_management_fastapi_input.py +0 -88
  224. package/tests/fixtures/haystack/haystack_bot_expected.py +0 -141
  225. package/tests/fixtures/haystack/haystack_bot_input.py +0 -69
  226. package/tests/fixtures/langchain/langchain_bot_expected.py +0 -53
  227. package/tests/fixtures/langchain/langchain_bot_input.py +0 -45
  228. package/tests/fixtures/langchain/langchain_bot_with_memory_expected.py +0 -69
  229. package/tests/fixtures/langchain/langchain_bot_with_memory_input.py +0 -61
  230. package/tests/fixtures/langchain/langchain_rag_bot_expected.py +0 -97
  231. package/tests/fixtures/langchain/langchain_rag_bot_input.py +0 -77
  232. package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_expected.py +0 -116
  233. package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_input.py +0 -81
  234. package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_expected.py +0 -331
  235. package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_input.py +0 -106
  236. package/tests/fixtures/litellm/litellm_bot_expected.py +0 -40
  237. package/tests/fixtures/litellm/litellm_bot_input.py +0 -35
  238. package/tests/fixtures/openai/openai_bot_expected.py +0 -43
  239. package/tests/fixtures/openai/openai_bot_function_call_expected.py +0 -91
  240. package/tests/fixtures/openai/openai_bot_function_call_input.py +0 -82
  241. package/tests/fixtures/openai/openai_bot_input.py +0 -36
  242. package/tests/fixtures/openai/openai_bot_rag_expected.py +0 -73
  243. package/tests/fixtures/openai/openai_bot_rag_input.py +0 -51
  244. package/tests/fixtures/opentelemetry/openinference_dspy_bot_expected.py +0 -63
  245. package/tests/fixtures/opentelemetry/openinference_dspy_bot_input.py +0 -58
  246. package/tests/fixtures/opentelemetry/openinference_langchain_bot_expected.py +0 -53
  247. package/tests/fixtures/opentelemetry/openinference_langchain_bot_input.py +0 -52
  248. package/tests/fixtures/opentelemetry/openinference_openai_bot_expected.py +0 -49
  249. package/tests/fixtures/opentelemetry/openinference_openai_bot_input.py +0 -41
  250. package/tests/fixtures/opentelemetry/openllmetry_openai_bot_expected.py +0 -44
  251. package/tests/fixtures/opentelemetry/openllmetry_openai_bot_input.py +0 -40
  252. package/tests/fixtures/strands/strands_bot_expected.py +0 -84
  253. package/tests/fixtures/strands/strands_bot_input.py +0 -52
  254. package/tests/scenario-openai.test.ts +0 -160
  255. package/tsup.config.ts +0 -14
  256. package/vitest.config.js +0 -7
@@ -26,7 +26,8 @@ function initConfig(args) {
26
26
  const state = getGlobalState();
27
27
  state.globalConfig = {
28
28
  apiKey: args.apiKey || process.env.LANGWATCH_API_KEY,
29
- endpoint: args.endpoint || process.env.LANGWATCH_ENDPOINT || "https://app.langwatch.ai"
29
+ endpoint: args.endpoint || process.env.LANGWATCH_ENDPOINT || "https://app.langwatch.ai",
30
+ projectId: process.env.LANGWATCH_PROJECT_ID
30
31
  };
31
32
  }
32
33
  function getConfig() {
@@ -68,4 +69,4 @@ export {
68
69
  requireApiKey,
69
70
  runWithConfig
70
71
  };
71
- //# sourceMappingURL=chunk-BWWY5KEF.js.map
72
+ //# sourceMappingURL=chunk-KOO5733S.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-evaluators.ts
6
6
  function getEvaluatorType(evaluator) {
@@ -41,4 +41,4 @@ export {
41
41
  updateEvaluator,
42
42
  deleteEvaluator
43
43
  };
44
- //# sourceMappingURL=chunk-HYMIWO3U.js.map
44
+ //# sourceMappingURL=chunk-R7C7OUVG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-datasets.ts
6
6
  async function listDatasets(params) {
@@ -83,4 +83,4 @@ export {
83
83
  deleteDatasetRecords,
84
84
  listDatasetRecords
85
85
  };
86
- //# sourceMappingURL=chunk-WQG2DFHX.js.map
86
+ //# sourceMappingURL=chunk-TROIWSEQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-model-providers.ts
6
6
  async function listModelProviders() {
@@ -19,4 +19,4 @@ export {
19
19
  listModelProviders,
20
20
  setModelProvider
21
21
  };
22
- //# sourceMappingURL=chunk-CCWCIJJ3.js.map
22
+ //# sourceMappingURL=chunk-X2SEURT2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeRequest
3
- } from "./chunk-2WPLXEKF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
4
 
5
5
  // src/langwatch-api-agents.ts
6
6
  async function listAgents(params) {
@@ -49,7 +49,7 @@ async function runAgent(id, input) {
49
49
  `Agent "${agent.name}" (type: ${agent.type}) cannot be executed directly. Only HTTP agents and workflow-linked agents can be run.`
50
50
  );
51
51
  }
52
- const { runWorkflow } = await import("./langwatch-api-workflows-VJRIIDZ7.js");
52
+ const { runWorkflow } = await import("./langwatch-api-workflows-NLJENNXE.js");
53
53
  const result = await runWorkflow(workflowId, input);
54
54
  return { agentType: agent.type, result };
55
55
  }
@@ -68,4 +68,4 @@ export {
68
68
  runAgent,
69
69
  deleteAgent
70
70
  };
71
- //# sourceMappingURL=chunk-4AUB2BIA.js.map
71
+ //# sourceMappingURL=chunk-XC62KJIT.js.map
package/dist/config.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  initConfig,
4
4
  requireApiKey,
5
5
  runWithConfig
6
- } from "./chunk-BWWY5KEF.js";
6
+ } from "./chunk-KOO5733S.js";
7
7
  export {
8
8
  getConfig,
9
9
  initConfig,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createAgent
3
- } from "./chunk-4AUB2BIA.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-XC62KJIT.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/create-agent.ts
8
8
  async function handleCreateAgent(params) {
@@ -20,4 +20,4 @@ async function handleCreateAgent(params) {
20
20
  export {
21
21
  handleCreateAgent
22
22
  };
23
- //# sourceMappingURL=create-agent-MBOOT3XK.js.map
23
+ //# sourceMappingURL=create-agent-K5Q7BFGZ.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createAnnotation
3
- } from "./chunk-IE4M5OGE.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-BB7EOKHR.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/create-annotation.ts
8
8
  async function handleCreateAnnotation(params) {
@@ -21,4 +21,4 @@ async function handleCreateAnnotation(params) {
21
21
  export {
22
22
  handleCreateAnnotation
23
23
  };
24
- //# sourceMappingURL=create-annotation-XMV6A7ED.js.map
24
+ //# sourceMappingURL=create-annotation-KN3GE3DK.js.map
@@ -0,0 +1,26 @@
1
+ import {
2
+ createApiKey
3
+ } from "./chunk-BBJ5WAJB.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
+
7
+ // src/tools/create-api-key.ts
8
+ async function handleCreateApiKey(params) {
9
+ const result = await createApiKey(params);
10
+ const lines = [];
11
+ lines.push(`API key created successfully!
12
+ `);
13
+ lines.push(`**Name**: ${result.apiKey.name}`);
14
+ lines.push(`**ID**: ${result.apiKey.id}`);
15
+ lines.push(`**Token**: \`${result.token}\``);
16
+ lines.push(`**Created**: ${result.apiKey.createdAt}`);
17
+ lines.push("");
18
+ lines.push(
19
+ "> \u26A0\uFE0F Save this token now \u2014 it will not be shown again."
20
+ );
21
+ return lines.join("\n");
22
+ }
23
+ export {
24
+ handleCreateApiKey
25
+ };
26
+ //# sourceMappingURL=create-api-key-OQI5PUNQ.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createDashboard
3
- } from "./chunk-EUQDVOSU.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-JHOSVOHT.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/create-dashboard.ts
8
8
  async function handleCreateDashboard(params) {
@@ -15,4 +15,4 @@ async function handleCreateDashboard(params) {
15
15
  export {
16
16
  handleCreateDashboard
17
17
  };
18
- //# sourceMappingURL=create-dashboard-VRKLFVZJ.js.map
18
+ //# sourceMappingURL=create-dashboard-G4QA5AXP.js.map
@@ -4,9 +4,9 @@ import {
4
4
  import "./chunk-NUFPTHKU.js";
5
5
  import {
6
6
  createDataset
7
- } from "./chunk-WQG2DFHX.js";
8
- import "./chunk-2WPLXEKF.js";
9
- import "./chunk-BWWY5KEF.js";
7
+ } from "./chunk-TROIWSEQ.js";
8
+ import "./chunk-42ZHHHIJ.js";
9
+ import "./chunk-KOO5733S.js";
10
10
 
11
11
  // src/tools/create-dataset.ts
12
12
  async function handleCreateDataset(params) {
@@ -19,4 +19,4 @@ async function handleCreateDataset(params) {
19
19
  export {
20
20
  handleCreateDataset
21
21
  };
22
- //# sourceMappingURL=create-dataset-7HQPZCRE.js.map
22
+ //# sourceMappingURL=create-dataset-WQSC37N7.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createDatasetRecords
3
- } from "./chunk-WQG2DFHX.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-TROIWSEQ.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/create-dataset-records.ts
8
8
  async function handleCreateDatasetRecords(params) {
@@ -19,4 +19,4 @@ async function handleCreateDatasetRecords(params) {
19
19
  export {
20
20
  handleCreateDatasetRecords
21
21
  };
22
- //# sourceMappingURL=create-dataset-records-2NIVFYTV.js.map
22
+ //# sourceMappingURL=create-dataset-records-B4RL3FLC.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createEvaluator,
3
3
  getEvaluatorType
4
- } from "./chunk-HYMIWO3U.js";
5
- import "./chunk-2WPLXEKF.js";
6
- import "./chunk-BWWY5KEF.js";
4
+ } from "./chunk-R7C7OUVG.js";
5
+ import "./chunk-42ZHHHIJ.js";
6
+ import "./chunk-KOO5733S.js";
7
7
 
8
8
  // src/tools/create-evaluator.ts
9
9
  async function handleCreateEvaluator(params) {
@@ -24,4 +24,4 @@ async function handleCreateEvaluator(params) {
24
24
  export {
25
25
  handleCreateEvaluator
26
26
  };
27
- //# sourceMappingURL=create-evaluator-WYFRFLRC.js.map
27
+ //# sourceMappingURL=create-evaluator-YFFQIR7E.js.map
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  createMcpServer
3
- } from "./chunk-E5JYYU3J.js";
4
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-JVLJKQJG.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
5
6
  export {
6
7
  createMcpServer
7
8
  };
@@ -0,0 +1,44 @@
1
+ import {
2
+ createProject
3
+ } from "./chunk-ADSJ2FDA.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
+
7
+ // src/tools/create-project.ts
8
+ async function handleCreateProject(params) {
9
+ if (!params.teamId && !params.newTeamName) {
10
+ return "Error: You must provide either `teamId` (to add to an existing team) or `newTeamName` (to create a new team for this project).";
11
+ }
12
+ const result = await createProject({
13
+ name: params.name,
14
+ language: params.language,
15
+ framework: params.framework,
16
+ teamId: params.teamId,
17
+ newTeamName: params.newTeamName
18
+ });
19
+ if (!result.serviceApiKey) {
20
+ throw new Error(
21
+ "API did not return a service API key. The project was created but the key is missing \u2014 check the LangWatch UI."
22
+ );
23
+ }
24
+ const lines = [];
25
+ lines.push(`Project created successfully!
26
+ `);
27
+ lines.push(`**Name**: ${result.name}`);
28
+ lines.push(`**ID**: ${result.id}`);
29
+ lines.push(`**Slug**: ${result.slug}`);
30
+ lines.push(`**Language**: ${result.language}`);
31
+ lines.push(`**Framework**: ${result.framework}`);
32
+ lines.push("");
33
+ lines.push(`**Service API Key**: \`${result.serviceApiKey}\``);
34
+ lines.push(`**Service API Key ID**: ${result.serviceApiKeyId}`);
35
+ lines.push("");
36
+ lines.push(
37
+ "> \u26A0\uFE0F Save the service API key now \u2014 it will not be shown again. Use it as `LANGWATCH_API_KEY` to authenticate project-scoped operations."
38
+ );
39
+ return lines.join("\n");
40
+ }
41
+ export {
42
+ handleCreateProject
43
+ };
44
+ //# sourceMappingURL=create-project-CUVQ67VN.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createPrompt
3
- } from "./chunk-2WPLXEKF.js";
4
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
+ import "./chunk-KOO5733S.js";
5
5
 
6
6
  // src/tools/create-prompt.ts
7
7
  var HANDLE_PATTERN = /^[a-z0-9_-]+(?:\/[a-z0-9_-]+)?$/;
@@ -36,4 +36,4 @@ async function handleCreatePrompt(params) {
36
36
  export {
37
37
  handleCreatePrompt
38
38
  };
39
- //# sourceMappingURL=create-prompt-IEN7O6JT.js.map
39
+ //# sourceMappingURL=create-prompt-NGXKSP4X.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createPromptTag
3
- } from "./chunk-2WPLXEKF.js";
4
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
+ import "./chunk-KOO5733S.js";
5
5
 
6
6
  // src/tools/create-prompt-tag.ts
7
7
  async function handleCreatePromptTag(params) {
@@ -14,4 +14,4 @@ async function handleCreatePromptTag(params) {
14
14
  export {
15
15
  handleCreatePromptTag
16
16
  };
17
- //# sourceMappingURL=create-prompt-tag-CAEZ45VO.js.map
17
+ //# sourceMappingURL=create-prompt-tag-IUKYPVHH.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createScenario
3
- } from "./chunk-2GT7IFWK.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-CCM4ZFGF.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/create-scenario.ts
8
8
  async function handleCreateScenario(params) {
@@ -23,4 +23,4 @@ async function handleCreateScenario(params) {
23
23
  export {
24
24
  handleCreateScenario
25
25
  };
26
- //# sourceMappingURL=create-scenario-6YHSMGLP.js.map
26
+ //# sourceMappingURL=create-scenario-FNBXALH3.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createSuite
3
- } from "./chunk-LUMEZEHL.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-CHKCEZBP.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/create-suite.ts
8
8
  async function handleCreateSuite(params) {
@@ -35,4 +35,4 @@ async function handleCreateSuite(params) {
35
35
  export {
36
36
  handleCreateSuite
37
37
  };
38
- //# sourceMappingURL=create-suite-H5XOFDE5.js.map
38
+ //# sourceMappingURL=create-suite-DJEPD4ZB.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteAgent
3
- } from "./chunk-4AUB2BIA.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-XC62KJIT.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-agent.ts
8
8
  async function handleDeleteAgent(params) {
@@ -15,4 +15,4 @@ async function handleDeleteAgent(params) {
15
15
  export {
16
16
  handleDeleteAgent
17
17
  };
18
- //# sourceMappingURL=delete-agent-JKTNBWAA.js.map
18
+ //# sourceMappingURL=delete-agent-TJI5XBBM.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteAnnotation
3
- } from "./chunk-IE4M5OGE.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-BB7EOKHR.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-annotation.ts
8
8
  async function handleDeleteAnnotation(params) {
@@ -14,4 +14,4 @@ async function handleDeleteAnnotation(params) {
14
14
  export {
15
15
  handleDeleteAnnotation
16
16
  };
17
- //# sourceMappingURL=delete-annotation-ACMDV6QO.js.map
17
+ //# sourceMappingURL=delete-annotation-KRP53TUU.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteDashboard
3
- } from "./chunk-EUQDVOSU.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-JHOSVOHT.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-dashboard.ts
8
8
  async function handleDeleteDashboard(params) {
@@ -15,4 +15,4 @@ async function handleDeleteDashboard(params) {
15
15
  export {
16
16
  handleDeleteDashboard
17
17
  };
18
- //# sourceMappingURL=delete-dashboard-VJSR7CRU.js.map
18
+ //# sourceMappingURL=delete-dashboard-N5SZJIR3.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteDataset
3
- } from "./chunk-WQG2DFHX.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-TROIWSEQ.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-dataset.ts
8
8
  async function handleDeleteDataset(params) {
@@ -17,4 +17,4 @@ async function handleDeleteDataset(params) {
17
17
  export {
18
18
  handleDeleteDataset
19
19
  };
20
- //# sourceMappingURL=delete-dataset-RTTTWP4D.js.map
20
+ //# sourceMappingURL=delete-dataset-KDUOHL2P.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteDatasetRecords
3
- } from "./chunk-WQG2DFHX.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-TROIWSEQ.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-dataset-records.ts
8
8
  async function handleDeleteDatasetRecords(params) {
@@ -18,4 +18,4 @@ async function handleDeleteDatasetRecords(params) {
18
18
  export {
19
19
  handleDeleteDatasetRecords
20
20
  };
21
- //# sourceMappingURL=delete-dataset-records-KNQTIPQK.js.map
21
+ //# sourceMappingURL=delete-dataset-records-DM4W3PAW.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteEvaluator
3
- } from "./chunk-HYMIWO3U.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-R7C7OUVG.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-evaluator.ts
8
8
  async function handleDeleteEvaluator(params) {
@@ -12,4 +12,4 @@ async function handleDeleteEvaluator(params) {
12
12
  export {
13
13
  handleDeleteEvaluator
14
14
  };
15
- //# sourceMappingURL=delete-evaluator-7FVC5WM4.js.map
15
+ //# sourceMappingURL=delete-evaluator-7ZATLJOA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  deletePromptTag
3
- } from "./chunk-2WPLXEKF.js";
4
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
+ import "./chunk-KOO5733S.js";
5
5
 
6
6
  // src/tools/delete-prompt-tag.ts
7
7
  async function handleDeletePromptTag(params) {
@@ -14,4 +14,4 @@ async function handleDeletePromptTag(params) {
14
14
  export {
15
15
  handleDeletePromptTag
16
16
  };
17
- //# sourceMappingURL=delete-prompt-tag-ZMZUAGFW.js.map
17
+ //# sourceMappingURL=delete-prompt-tag-I6HNMSVJ.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  deleteWorkflow
3
- } from "./chunk-ZVS4UKN2.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-HKY3GW45.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/delete-workflow.ts
8
8
  async function handleDeleteWorkflow(params) {
@@ -14,4 +14,4 @@ async function handleDeleteWorkflow(params) {
14
14
  export {
15
15
  handleDeleteWorkflow
16
16
  };
17
- //# sourceMappingURL=delete-workflow-EYQ3T4RQ.js.map
17
+ //# sourceMappingURL=delete-workflow-QEO74JQR.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getAgent
3
- } from "./chunk-4AUB2BIA.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-XC62KJIT.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/get-agent.ts
8
8
  async function handleGetAgent(params) {
@@ -25,4 +25,4 @@ async function handleGetAgent(params) {
25
25
  export {
26
26
  handleGetAgent
27
27
  };
28
- //# sourceMappingURL=get-agent-E3QSTVKG.js.map
28
+ //# sourceMappingURL=get-agent-3KDWCP5N.js.map
@@ -3,8 +3,8 @@ import {
3
3
  } from "./chunk-ZXKLPC2E.js";
4
4
  import {
5
5
  getAnalyticsTimeseries
6
- } from "./chunk-2WPLXEKF.js";
7
- import "./chunk-BWWY5KEF.js";
6
+ } from "./chunk-42ZHHHIJ.js";
7
+ import "./chunk-KOO5733S.js";
8
8
 
9
9
  // src/tools/get-analytics.ts
10
10
  function getGroupedData(bucket, groupBy) {
@@ -69,4 +69,4 @@ async function handleGetAnalytics(params) {
69
69
  export {
70
70
  handleGetAnalytics
71
71
  };
72
- //# sourceMappingURL=get-analytics-2OHV763I.js.map
72
+ //# sourceMappingURL=get-analytics-GPVJX7SF.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getDashboard
3
- } from "./chunk-EUQDVOSU.js";
4
- import "./chunk-2WPLXEKF.js";
5
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-JHOSVOHT.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
6
 
7
7
  // src/tools/get-dashboard.ts
8
8
  async function handleGetDashboard(params) {
@@ -26,4 +26,4 @@ async function handleGetDashboard(params) {
26
26
  export {
27
27
  handleGetDashboard
28
28
  };
29
- //# sourceMappingURL=get-dashboard-PC7JDHH6.js.map
29
+ //# sourceMappingURL=get-dashboard-YPTIE5YY.js.map
@@ -3,9 +3,9 @@ import {
3
3
  } from "./chunk-NUFPTHKU.js";
4
4
  import {
5
5
  getDataset
6
- } from "./chunk-WQG2DFHX.js";
7
- import "./chunk-2WPLXEKF.js";
8
- import "./chunk-BWWY5KEF.js";
6
+ } from "./chunk-TROIWSEQ.js";
7
+ import "./chunk-42ZHHHIJ.js";
8
+ import "./chunk-KOO5733S.js";
9
9
 
10
10
  // src/tools/get-dataset.ts
11
11
  function formatDatasetResponse(dataset) {
@@ -45,4 +45,4 @@ export {
45
45
  formatDatasetResponse,
46
46
  handleGetDataset
47
47
  };
48
- //# sourceMappingURL=get-dataset-H5IK5FVU.js.map
48
+ //# sourceMappingURL=get-dataset-6DQFYITM.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getEvaluator,
3
3
  getEvaluatorType
4
- } from "./chunk-HYMIWO3U.js";
5
- import "./chunk-2WPLXEKF.js";
6
- import "./chunk-BWWY5KEF.js";
4
+ } from "./chunk-R7C7OUVG.js";
5
+ import "./chunk-42ZHHHIJ.js";
6
+ import "./chunk-KOO5733S.js";
7
7
 
8
8
  // src/tools/get-evaluator.ts
9
9
  async function handleGetEvaluator(params) {
@@ -44,4 +44,4 @@ async function handleGetEvaluator(params) {
44
44
  export {
45
45
  handleGetEvaluator
46
46
  };
47
- //# sourceMappingURL=get-evaluator-UWVUPYTM.js.map
47
+ //# sourceMappingURL=get-evaluator-PCM6XQAU.js.map
@@ -0,0 +1,26 @@
1
+ import {
2
+ getProject
3
+ } from "./chunk-ADSJ2FDA.js";
4
+ import "./chunk-42ZHHHIJ.js";
5
+ import "./chunk-KOO5733S.js";
6
+
7
+ // src/tools/get-project.ts
8
+ async function handleGetProject(params) {
9
+ const project = await getProject(params.id);
10
+ const lines = [];
11
+ lines.push(`# ${project.name}
12
+ `);
13
+ lines.push(`**ID**: ${project.id}`);
14
+ lines.push(`**Slug**: ${project.slug}`);
15
+ lines.push(`**Language**: ${project.language}`);
16
+ lines.push(`**Framework**: ${project.framework}`);
17
+ lines.push(`**Team ID**: ${project.teamId}`);
18
+ lines.push(`**PII Redaction**: ${project.piiRedactionLevel}`);
19
+ lines.push(`**Created**: ${project.createdAt}`);
20
+ lines.push(`**Updated**: ${project.updatedAt}`);
21
+ return lines.join("\n");
22
+ }
23
+ export {
24
+ handleGetProject
25
+ };
26
+ //# sourceMappingURL=get-project-JCMWXVLU.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getPrompt
3
- } from "./chunk-2WPLXEKF.js";
4
- import "./chunk-BWWY5KEF.js";
3
+ } from "./chunk-42ZHHHIJ.js";
4
+ import "./chunk-KOO5733S.js";
5
5
 
6
6
  // src/tools/get-prompt.ts
7
7
  async function handleGetPrompt(params) {
@@ -42,4 +42,4 @@ async function handleGetPrompt(params) {
42
42
  export {
43
43
  handleGetPrompt
44
44
  };
45
- //# sourceMappingURL=get-prompt-WZUOLLQC.js.map
45
+ //# sourceMappingURL=get-prompt-5XAGWWBG.js.map