@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.
- package/.release-please-shim +1 -0
- package/CHANGELOG.md +87 -0
- package/LICENSE +7 -0
- package/dist/archive-project-HZBRPR2S.js +19 -0
- package/dist/{archive-scenario-WJ2A7ETN.js → archive-scenario-P5RRITRM.js} +4 -4
- package/dist/{archive-suite-4JOM4SSL.js → archive-suite-NUUFD2EM.js} +4 -4
- package/dist/{assign-prompt-tag-GL7EAAF3.js → assign-prompt-tag-FKCCZPML.js} +3 -3
- package/dist/{chunk-2WPLXEKF.js → chunk-42ZHHHIJ.js} +20 -5
- package/dist/chunk-ADSJ2FDA.js +44 -0
- package/dist/{chunk-IE4M5OGE.js → chunk-BB7EOKHR.js} +2 -2
- package/dist/chunk-BBJ5WAJB.js +24 -0
- package/dist/{chunk-EGH5RPXM.js → chunk-BYWYM2RP.js} +2 -2
- package/dist/{chunk-2GT7IFWK.js → chunk-CCM4ZFGF.js} +2 -2
- package/dist/{chunk-LUMEZEHL.js → chunk-CHKCEZBP.js} +2 -2
- package/dist/{chunk-ZVS4UKN2.js → chunk-HKY3GW45.js} +2 -2
- package/dist/{chunk-EUQDVOSU.js → chunk-JHOSVOHT.js} +2 -2
- package/dist/{chunk-E5JYYU3J.js → chunk-JVLJKQJG.js} +669 -94
- package/dist/{chunk-BWWY5KEF.js → chunk-KOO5733S.js} +3 -2
- package/dist/{chunk-HYMIWO3U.js → chunk-R7C7OUVG.js} +2 -2
- package/dist/{chunk-WQG2DFHX.js → chunk-TROIWSEQ.js} +2 -2
- package/dist/{chunk-CCWCIJJ3.js → chunk-X2SEURT2.js} +2 -2
- package/dist/{chunk-4AUB2BIA.js → chunk-XC62KJIT.js} +3 -3
- package/dist/config.js +1 -1
- package/dist/{create-agent-MBOOT3XK.js → create-agent-K5Q7BFGZ.js} +4 -4
- package/dist/{create-annotation-XMV6A7ED.js → create-annotation-KN3GE3DK.js} +4 -4
- package/dist/create-api-key-OQI5PUNQ.js +26 -0
- package/dist/{create-dashboard-VRKLFVZJ.js → create-dashboard-G4QA5AXP.js} +4 -4
- package/dist/{create-dataset-7HQPZCRE.js → create-dataset-WQSC37N7.js} +4 -4
- package/dist/{create-dataset-records-2NIVFYTV.js → create-dataset-records-B4RL3FLC.js} +4 -4
- package/dist/{create-evaluator-WYFRFLRC.js → create-evaluator-YFFQIR7E.js} +4 -4
- package/dist/create-mcp-server.js +3 -2
- package/dist/create-project-CUVQ67VN.js +44 -0
- package/dist/{create-prompt-IEN7O6JT.js → create-prompt-NGXKSP4X.js} +3 -3
- package/dist/{create-prompt-tag-CAEZ45VO.js → create-prompt-tag-IUKYPVHH.js} +3 -3
- package/dist/{create-scenario-6YHSMGLP.js → create-scenario-FNBXALH3.js} +4 -4
- package/dist/{create-suite-H5XOFDE5.js → create-suite-DJEPD4ZB.js} +4 -4
- package/dist/{delete-agent-JKTNBWAA.js → delete-agent-TJI5XBBM.js} +4 -4
- package/dist/{delete-annotation-ACMDV6QO.js → delete-annotation-KRP53TUU.js} +4 -4
- package/dist/{delete-dashboard-VJSR7CRU.js → delete-dashboard-N5SZJIR3.js} +4 -4
- package/dist/{delete-dataset-RTTTWP4D.js → delete-dataset-KDUOHL2P.js} +4 -4
- package/dist/{delete-dataset-records-KNQTIPQK.js → delete-dataset-records-DM4W3PAW.js} +4 -4
- package/dist/{delete-evaluator-7FVC5WM4.js → delete-evaluator-7ZATLJOA.js} +4 -4
- package/dist/{delete-prompt-tag-ZMZUAGFW.js → delete-prompt-tag-I6HNMSVJ.js} +3 -3
- package/dist/{delete-workflow-EYQ3T4RQ.js → delete-workflow-QEO74JQR.js} +4 -4
- package/dist/{get-agent-E3QSTVKG.js → get-agent-3KDWCP5N.js} +4 -4
- package/dist/{get-analytics-2OHV763I.js → get-analytics-GPVJX7SF.js} +3 -3
- package/dist/{get-dashboard-PC7JDHH6.js → get-dashboard-YPTIE5YY.js} +4 -4
- package/dist/{get-dataset-H5IK5FVU.js → get-dataset-6DQFYITM.js} +4 -4
- package/dist/{get-evaluator-UWVUPYTM.js → get-evaluator-PCM6XQAU.js} +4 -4
- package/dist/get-project-JCMWXVLU.js +26 -0
- package/dist/{get-prompt-WZUOLLQC.js → get-prompt-5XAGWWBG.js} +3 -3
- package/dist/{get-scenario-Q6LCNUYN.js → get-scenario-7XBCDZWX.js} +4 -4
- package/dist/{get-simulation-run-Z2XKO256.js → get-simulation-run-AV24FJWI.js} +4 -4
- package/dist/{get-suite-BXK5TN7P.js → get-suite-4DBVHFEM.js} +4 -4
- package/dist/{get-trace-4EJAYVBG.js → get-trace-MRBDS3HJ.js} +3 -3
- package/dist/{get-workflow-O34QJLHD.js → get-workflow-UR4Y6UFX.js} +4 -4
- package/dist/{http-server-ISHF7NJX.js → http-server-DEGNV5EP.js} +4 -3
- package/dist/index.js +1453 -431
- package/dist/{langwatch-api-annotations-ERBG27RF.js → langwatch-api-annotations-ZJDRB4JH.js} +4 -4
- package/dist/{langwatch-api-dashboards-G6TR7VVO.js → langwatch-api-dashboards-WARLI6NF.js} +4 -4
- package/dist/{langwatch-api-monitors-WSXZLS2B.js → langwatch-api-monitors-4XKXHYCG.js} +3 -3
- package/dist/{langwatch-api-secrets-RR5DKG2X.js → langwatch-api-secrets-6SHK5G7Q.js} +3 -3
- package/dist/{langwatch-api-triggers-2RTNSWQY.js → langwatch-api-triggers-5SX6R2WU.js} +3 -3
- package/dist/langwatch-api-workflows-NLJENNXE.js +15 -0
- package/dist/{list-agents-AW3P6FJV.js → list-agents-NECO7MPI.js} +4 -4
- package/dist/{list-annotations-QNCGWPQ3.js → list-annotations-3OJEO774.js} +4 -4
- package/dist/list-api-keys-AWW7ROLB.js +37 -0
- package/dist/{list-dashboards-R7RK2IXL.js → list-dashboards-DVPVVVKW.js} +4 -4
- package/dist/{list-dataset-records-WVCSQP7P.js → list-dataset-records-I4BYORF5.js} +4 -4
- package/dist/{list-datasets-KEXRLDEU.js → list-datasets-WUAE5HGX.js} +4 -4
- package/dist/{list-evaluators-7R2LB4JH.js → list-evaluators-B6OSVAM2.js} +4 -4
- package/dist/{list-model-providers-OBYJCKBX.js → list-model-providers-NL6IP4UZ.js} +4 -4
- package/dist/list-projects-5FHMJ4PQ.js +42 -0
- package/dist/{list-prompt-tags-6LY3ZPYI.js → list-prompt-tags-Z2DD6FLQ.js} +3 -3
- package/dist/{list-prompts-VWEZ4CDE.js → list-prompts-VNXKHK7T.js} +3 -3
- package/dist/{list-scenarios-TXD4W2ZJ.js → list-scenarios-CFZHXL76.js} +4 -4
- package/dist/{list-simulation-runs-RHPOLMFI.js → list-simulation-runs-AM2BXLBW.js} +4 -4
- package/dist/{list-suites-FSGBX27Z.js → list-suites-ZDOHAAXF.js} +4 -4
- package/dist/{list-workflows-VRGEZ3EN.js → list-workflows-WBRBKLIT.js} +4 -4
- package/dist/{rename-prompt-tag-VOJJLX4M.js → rename-prompt-tag-A4RJUK7Z.js} +3 -3
- package/dist/revoke-api-key-ZSPSPF5G.js +15 -0
- package/dist/{run-agent-KTCC7TB7.js → run-agent-JFNDY7MR.js} +4 -4
- package/dist/{run-suite-BTMHGI2D.js → run-suite-TH7LO5TJ.js} +4 -4
- package/dist/{run-workflow-IGAYGKJL.js → run-workflow-CK3JP5U2.js} +4 -4
- package/dist/{search-traces-VYFUIMXH.js → search-traces-3BBVYPC3.js} +3 -3
- package/dist/{set-model-provider-W5IUI326.js → set-model-provider-WOC5FNMV.js} +4 -4
- package/dist/{update-agent-4BB7EYLR.js → update-agent-YMEV5MTL.js} +4 -4
- package/dist/{update-dataset-CXBKZ4W3.js → update-dataset-EYT5POFM.js} +4 -4
- package/dist/{update-dataset-record-HOHAMHXG.js → update-dataset-record-VFF5JTX4.js} +4 -4
- package/dist/{update-evaluator-IVOR6FTR.js → update-evaluator-6IJHFG2E.js} +4 -4
- package/dist/update-project-OIT4WPFI.js +24 -0
- package/dist/{update-prompt-OWQAKE7K.js → update-prompt-ZU2DD6KM.js} +3 -3
- package/dist/{update-scenario-GDFVILPN.js → update-scenario-3VUTPDRU.js} +4 -4
- package/dist/{update-suite-BXYUYSPT.js → update-suite-C6JFDQHL.js} +4 -4
- package/package.json +7 -7
- package/pnpm-workspace.yaml +2 -0
- package/pyproject.toml +3 -0
- package/src/__tests__/all-tools.integration.test.ts +9 -0
- package/src/__tests__/datasets.integration.test.ts +17 -0
- package/src/__tests__/datasets.unit.test.ts +4 -0
- package/src/__tests__/experiment-list-tools.unit.test.ts +157 -0
- package/src/__tests__/get-experiment-results.unit.test.ts +222 -0
- package/src/__tests__/project-api-key-tools.unit.test.ts +451 -0
- package/src/__tests__/scenario-tools.unit.test.ts +3 -0
- package/src/config.ts +2 -0
- package/src/create-mcp-server.ts +257 -13
- package/src/langwatch-api-api-keys.ts +54 -0
- package/src/langwatch-api-projects.ts +82 -0
- package/src/langwatch-api.ts +22 -4
- package/src/tools/archive-project.ts +14 -0
- package/src/tools/create-api-key.ts +29 -0
- package/src/tools/create-project.ts +45 -0
- package/src/tools/get-experiment-results.ts +273 -0
- package/src/tools/get-project.ts +20 -0
- package/src/tools/list-api-keys.ts +33 -0
- package/src/tools/list-experiment-runs.ts +142 -0
- package/src/tools/list-experiments.ts +95 -0
- package/src/tools/list-projects.ts +41 -0
- package/src/tools/revoke-api-key.ts +9 -0
- package/src/tools/{run-evaluation.ts → run-experiment.ts} +5 -5
- package/src/tools/update-project.ts +22 -0
- package/uv.lock +192 -530
- package/Dockerfile +0 -22
- package/build.js +0 -12
- package/dist/archive-scenario-WJ2A7ETN.js.map +0 -1
- package/dist/archive-suite-4JOM4SSL.js.map +0 -1
- package/dist/assign-prompt-tag-GL7EAAF3.js.map +0 -1
- package/dist/chunk-2GT7IFWK.js.map +0 -1
- package/dist/chunk-2WPLXEKF.js.map +0 -1
- package/dist/chunk-4AUB2BIA.js.map +0 -1
- package/dist/chunk-BWWY5KEF.js.map +0 -1
- package/dist/chunk-CCWCIJJ3.js.map +0 -1
- package/dist/chunk-E5JYYU3J.js.map +0 -1
- package/dist/chunk-EGH5RPXM.js.map +0 -1
- package/dist/chunk-EUQDVOSU.js.map +0 -1
- package/dist/chunk-HYMIWO3U.js.map +0 -1
- package/dist/chunk-IE4M5OGE.js.map +0 -1
- package/dist/chunk-LUMEZEHL.js.map +0 -1
- package/dist/chunk-NUFPTHKU.js.map +0 -1
- package/dist/chunk-WQG2DFHX.js.map +0 -1
- package/dist/chunk-WVI5CJ6S.js.map +0 -1
- package/dist/chunk-ZVS4UKN2.js.map +0 -1
- package/dist/chunk-ZXKLPC2E.js.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/create-agent-MBOOT3XK.js.map +0 -1
- package/dist/create-annotation-XMV6A7ED.js.map +0 -1
- package/dist/create-dashboard-VRKLFVZJ.js.map +0 -1
- package/dist/create-dataset-7HQPZCRE.js.map +0 -1
- package/dist/create-dataset-records-2NIVFYTV.js.map +0 -1
- package/dist/create-evaluator-WYFRFLRC.js.map +0 -1
- package/dist/create-mcp-server.js.map +0 -1
- package/dist/create-prompt-IEN7O6JT.js.map +0 -1
- package/dist/create-prompt-tag-CAEZ45VO.js.map +0 -1
- package/dist/create-scenario-6YHSMGLP.js.map +0 -1
- package/dist/create-suite-H5XOFDE5.js.map +0 -1
- package/dist/delete-agent-JKTNBWAA.js.map +0 -1
- package/dist/delete-annotation-ACMDV6QO.js.map +0 -1
- package/dist/delete-dashboard-VJSR7CRU.js.map +0 -1
- package/dist/delete-dataset-RTTTWP4D.js.map +0 -1
- package/dist/delete-dataset-records-KNQTIPQK.js.map +0 -1
- package/dist/delete-evaluator-7FVC5WM4.js.map +0 -1
- package/dist/delete-prompt-tag-ZMZUAGFW.js.map +0 -1
- package/dist/delete-workflow-EYQ3T4RQ.js.map +0 -1
- package/dist/discover-evaluator-schema-H23XCLNE.js.map +0 -1
- package/dist/discover-scenario-schema-MEEEVND7.js.map +0 -1
- package/dist/discover-schema-3T52ORPB.js.map +0 -1
- package/dist/get-agent-E3QSTVKG.js.map +0 -1
- package/dist/get-analytics-2OHV763I.js.map +0 -1
- package/dist/get-dashboard-PC7JDHH6.js.map +0 -1
- package/dist/get-dataset-H5IK5FVU.js.map +0 -1
- package/dist/get-evaluator-UWVUPYTM.js.map +0 -1
- package/dist/get-prompt-WZUOLLQC.js.map +0 -1
- package/dist/get-scenario-Q6LCNUYN.js.map +0 -1
- package/dist/get-simulation-run-Z2XKO256.js.map +0 -1
- package/dist/get-suite-BXK5TN7P.js.map +0 -1
- package/dist/get-trace-4EJAYVBG.js.map +0 -1
- package/dist/get-workflow-O34QJLHD.js.map +0 -1
- package/dist/http-server-ISHF7NJX.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/langwatch-api-annotations-ERBG27RF.js.map +0 -1
- package/dist/langwatch-api-dashboards-G6TR7VVO.js.map +0 -1
- package/dist/langwatch-api-monitors-WSXZLS2B.js.map +0 -1
- package/dist/langwatch-api-secrets-RR5DKG2X.js.map +0 -1
- package/dist/langwatch-api-triggers-2RTNSWQY.js.map +0 -1
- package/dist/langwatch-api-workflows-VJRIIDZ7.js +0 -15
- package/dist/langwatch-api-workflows-VJRIIDZ7.js.map +0 -1
- package/dist/list-agents-AW3P6FJV.js.map +0 -1
- package/dist/list-annotations-QNCGWPQ3.js.map +0 -1
- package/dist/list-dashboards-R7RK2IXL.js.map +0 -1
- package/dist/list-dataset-records-WVCSQP7P.js.map +0 -1
- package/dist/list-datasets-KEXRLDEU.js.map +0 -1
- package/dist/list-evaluators-7R2LB4JH.js.map +0 -1
- package/dist/list-model-providers-OBYJCKBX.js.map +0 -1
- package/dist/list-prompt-tags-6LY3ZPYI.js.map +0 -1
- package/dist/list-prompts-VWEZ4CDE.js.map +0 -1
- package/dist/list-scenarios-TXD4W2ZJ.js.map +0 -1
- package/dist/list-simulation-runs-RHPOLMFI.js.map +0 -1
- package/dist/list-suites-FSGBX27Z.js.map +0 -1
- package/dist/list-workflows-VRGEZ3EN.js.map +0 -1
- package/dist/rename-prompt-tag-VOJJLX4M.js.map +0 -1
- package/dist/run-agent-KTCC7TB7.js.map +0 -1
- package/dist/run-evaluation-2X3V3Q6L.js +0 -64
- package/dist/run-evaluation-2X3V3Q6L.js.map +0 -1
- package/dist/run-suite-BTMHGI2D.js.map +0 -1
- package/dist/run-workflow-IGAYGKJL.js.map +0 -1
- package/dist/search-traces-VYFUIMXH.js.map +0 -1
- package/dist/set-model-provider-W5IUI326.js.map +0 -1
- package/dist/update-agent-4BB7EYLR.js.map +0 -1
- package/dist/update-dataset-CXBKZ4W3.js.map +0 -1
- package/dist/update-dataset-record-HOHAMHXG.js.map +0 -1
- package/dist/update-evaluator-IVOR6FTR.js.map +0 -1
- package/dist/update-prompt-OWQAKE7K.js.map +0 -1
- package/dist/update-scenario-GDFVILPN.js.map +0 -1
- package/dist/update-suite-BXYUYSPT.js.map +0 -1
- package/tests/evaluations.ipynb +0 -649
- package/tests/fixtures/azure/azure_openai_stream_bot_expected.py +0 -102
- package/tests/fixtures/azure/azure_openai_stream_bot_input.py +0 -78
- package/tests/fixtures/dspy/dspy_bot_expected.py +0 -61
- package/tests/fixtures/dspy/dspy_bot_input.py +0 -53
- package/tests/fixtures/fastapi/fastapi_app_expected.py +0 -68
- package/tests/fixtures/fastapi/fastapi_app_input.py +0 -60
- package/tests/fixtures/fastapi/prompt_management_fastapi_expected.py +0 -114
- package/tests/fixtures/fastapi/prompt_management_fastapi_input.py +0 -88
- package/tests/fixtures/haystack/haystack_bot_expected.py +0 -141
- package/tests/fixtures/haystack/haystack_bot_input.py +0 -69
- package/tests/fixtures/langchain/langchain_bot_expected.py +0 -53
- package/tests/fixtures/langchain/langchain_bot_input.py +0 -45
- package/tests/fixtures/langchain/langchain_bot_with_memory_expected.py +0 -69
- package/tests/fixtures/langchain/langchain_bot_with_memory_input.py +0 -61
- package/tests/fixtures/langchain/langchain_rag_bot_expected.py +0 -97
- package/tests/fixtures/langchain/langchain_rag_bot_input.py +0 -77
- package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_expected.py +0 -116
- package/tests/fixtures/langchain/langchain_rag_bot_vertex_ai_input.py +0 -81
- package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_expected.py +0 -331
- package/tests/fixtures/langchain/langgraph_rag_bot_with_threads_input.py +0 -106
- package/tests/fixtures/litellm/litellm_bot_expected.py +0 -40
- package/tests/fixtures/litellm/litellm_bot_input.py +0 -35
- package/tests/fixtures/openai/openai_bot_expected.py +0 -43
- package/tests/fixtures/openai/openai_bot_function_call_expected.py +0 -91
- package/tests/fixtures/openai/openai_bot_function_call_input.py +0 -82
- package/tests/fixtures/openai/openai_bot_input.py +0 -36
- package/tests/fixtures/openai/openai_bot_rag_expected.py +0 -73
- package/tests/fixtures/openai/openai_bot_rag_input.py +0 -51
- package/tests/fixtures/opentelemetry/openinference_dspy_bot_expected.py +0 -63
- package/tests/fixtures/opentelemetry/openinference_dspy_bot_input.py +0 -58
- package/tests/fixtures/opentelemetry/openinference_langchain_bot_expected.py +0 -53
- package/tests/fixtures/opentelemetry/openinference_langchain_bot_input.py +0 -52
- package/tests/fixtures/opentelemetry/openinference_openai_bot_expected.py +0 -49
- package/tests/fixtures/opentelemetry/openinference_openai_bot_input.py +0 -41
- package/tests/fixtures/opentelemetry/openllmetry_openai_bot_expected.py +0 -44
- package/tests/fixtures/opentelemetry/openllmetry_openai_bot_input.py +0 -40
- package/tests/fixtures/strands/strands_bot_expected.py +0 -84
- package/tests/fixtures/strands/strands_bot_input.py +0 -52
- package/tests/scenario-openai.test.ts +0 -160
- package/tsup.config.ts +0 -14
- package/vitest.config.js +0 -7
package/dist/{langwatch-api-annotations-ERBG27RF.js → langwatch-api-annotations-ZJDRB4JH.js}
RENAMED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
getAnnotation,
|
|
5
5
|
getAnnotationsByTrace,
|
|
6
6
|
listAnnotations
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BB7EOKHR.js";
|
|
8
|
+
import "./chunk-42ZHHHIJ.js";
|
|
9
|
+
import "./chunk-KOO5733S.js";
|
|
10
10
|
export {
|
|
11
11
|
createAnnotation,
|
|
12
12
|
deleteAnnotation,
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getAnnotationsByTrace,
|
|
15
15
|
listAnnotations
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=langwatch-api-annotations-
|
|
17
|
+
//# sourceMappingURL=langwatch-api-annotations-ZJDRB4JH.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
getDashboard,
|
|
5
5
|
listDashboards,
|
|
6
6
|
renameDashboard
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JHOSVOHT.js";
|
|
8
|
+
import "./chunk-42ZHHHIJ.js";
|
|
9
|
+
import "./chunk-KOO5733S.js";
|
|
10
10
|
export {
|
|
11
11
|
createDashboard,
|
|
12
12
|
deleteDashboard,
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
listDashboards,
|
|
15
15
|
renameDashboard
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=langwatch-api-dashboards-
|
|
17
|
+
//# sourceMappingURL=langwatch-api-dashboards-WARLI6NF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
4
|
+
import "./chunk-KOO5733S.js";
|
|
5
5
|
|
|
6
6
|
// src/langwatch-api-monitors.ts
|
|
7
7
|
async function listMonitors() {
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
toggleMonitor,
|
|
50
50
|
updateMonitor
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=langwatch-api-monitors-
|
|
52
|
+
//# sourceMappingURL=langwatch-api-monitors-4XKXHYCG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
4
|
+
import "./chunk-KOO5733S.js";
|
|
5
5
|
|
|
6
6
|
// src/langwatch-api-secrets.ts
|
|
7
7
|
async function listSecrets() {
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
listSecrets,
|
|
38
38
|
updateSecret
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=langwatch-api-secrets-
|
|
40
|
+
//# sourceMappingURL=langwatch-api-secrets-6SHK5G7Q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeRequest
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
4
|
+
import "./chunk-KOO5733S.js";
|
|
5
5
|
|
|
6
6
|
// src/langwatch-api-triggers.ts
|
|
7
7
|
async function listTriggers() {
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
listTriggers,
|
|
28
28
|
updateTrigger
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=langwatch-api-triggers-
|
|
30
|
+
//# sourceMappingURL=langwatch-api-triggers-5SX6R2WU.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
deleteWorkflow,
|
|
3
|
+
getWorkflow,
|
|
4
|
+
listWorkflows,
|
|
5
|
+
runWorkflow
|
|
6
|
+
} from "./chunk-HKY3GW45.js";
|
|
7
|
+
import "./chunk-42ZHHHIJ.js";
|
|
8
|
+
import "./chunk-KOO5733S.js";
|
|
9
|
+
export {
|
|
10
|
+
deleteWorkflow,
|
|
11
|
+
getWorkflow,
|
|
12
|
+
listWorkflows,
|
|
13
|
+
runWorkflow
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=langwatch-api-workflows-NLJENNXE.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listAgents
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XC62KJIT.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-agents.ts
|
|
8
8
|
async function handleListAgents() {
|
|
@@ -29,4 +29,4 @@ async function handleListAgents() {
|
|
|
29
29
|
export {
|
|
30
30
|
handleListAgents
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=list-agents-
|
|
32
|
+
//# sourceMappingURL=list-agents-NECO7MPI.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAnnotationsByTrace,
|
|
3
3
|
listAnnotations
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-BB7EOKHR.js";
|
|
5
|
+
import "./chunk-42ZHHHIJ.js";
|
|
6
|
+
import "./chunk-KOO5733S.js";
|
|
7
7
|
|
|
8
8
|
// src/tools/list-annotations.ts
|
|
9
9
|
async function handleListAnnotations(params) {
|
|
@@ -30,4 +30,4 @@ async function handleListAnnotations(params) {
|
|
|
30
30
|
export {
|
|
31
31
|
handleListAnnotations
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=list-annotations-
|
|
33
|
+
//# sourceMappingURL=list-annotations-3OJEO774.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
listApiKeys
|
|
3
|
+
} from "./chunk-BBJ5WAJB.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
|
+
|
|
7
|
+
// src/tools/list-api-keys.ts
|
|
8
|
+
async function handleListApiKeys() {
|
|
9
|
+
const result = await listApiKeys();
|
|
10
|
+
const keys = result.data;
|
|
11
|
+
if (!Array.isArray(keys) || keys.length === 0) {
|
|
12
|
+
return "No API keys found.\n\n> Tip: Use `platform_create_api_key` to create a new key.";
|
|
13
|
+
}
|
|
14
|
+
const lines = [];
|
|
15
|
+
lines.push(`# API Keys (${keys.length} total)
|
|
16
|
+
`);
|
|
17
|
+
for (const k of keys) {
|
|
18
|
+
const status = k.revokedAt ? "REVOKED" : k.expiresAt && new Date(k.expiresAt) < /* @__PURE__ */ new Date() ? "EXPIRED" : "ACTIVE";
|
|
19
|
+
lines.push(`## ${k.name}`);
|
|
20
|
+
lines.push(`**ID**: ${k.id}`);
|
|
21
|
+
lines.push(`**Status**: ${status}`);
|
|
22
|
+
if (k.description) lines.push(`**Description**: ${k.description}`);
|
|
23
|
+
if (k.expiresAt) lines.push(`**Expires**: ${k.expiresAt}`);
|
|
24
|
+
if (k.lastUsedAt) lines.push(`**Last Used**: ${k.lastUsedAt}`);
|
|
25
|
+
lines.push(`**Created**: ${k.createdAt}`);
|
|
26
|
+
if (k.roleBindings.length > 0) {
|
|
27
|
+
const bindings = k.roleBindings.map((rb) => `${rb.role} on ${rb.scopeType}:${rb.scopeId}`).join(", ");
|
|
28
|
+
lines.push(`**Bindings**: ${bindings}`);
|
|
29
|
+
}
|
|
30
|
+
lines.push("");
|
|
31
|
+
}
|
|
32
|
+
return lines.join("\n");
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
handleListApiKeys
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=list-api-keys-AWW7ROLB.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listDashboards
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-JHOSVOHT.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-dashboards.ts
|
|
8
8
|
async function handleListDashboards() {
|
|
@@ -29,4 +29,4 @@ async function handleListDashboards() {
|
|
|
29
29
|
export {
|
|
30
30
|
handleListDashboards
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=list-dashboards-
|
|
32
|
+
//# sourceMappingURL=list-dashboards-DVPVVVKW.js.map
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
} from "./chunk-NUFPTHKU.js";
|
|
4
4
|
import {
|
|
5
5
|
listDatasetRecords
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-TROIWSEQ.js";
|
|
7
|
+
import "./chunk-42ZHHHIJ.js";
|
|
8
|
+
import "./chunk-KOO5733S.js";
|
|
9
9
|
|
|
10
10
|
// src/tools/list-dataset-records.ts
|
|
11
11
|
async function handleListDatasetRecords(params) {
|
|
@@ -36,4 +36,4 @@ async function handleListDatasetRecords(params) {
|
|
|
36
36
|
export {
|
|
37
37
|
handleListDatasetRecords
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=list-dataset-records-
|
|
39
|
+
//# sourceMappingURL=list-dataset-records-I4BYORF5.js.map
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
} from "./chunk-NUFPTHKU.js";
|
|
4
4
|
import {
|
|
5
5
|
listDatasets
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-TROIWSEQ.js";
|
|
7
|
+
import "./chunk-42ZHHHIJ.js";
|
|
8
|
+
import "./chunk-KOO5733S.js";
|
|
9
9
|
|
|
10
10
|
// src/tools/list-datasets.ts
|
|
11
11
|
async function fetchAllDatasets() {
|
|
@@ -57,4 +57,4 @@ async function handleListDatasets(params = {}) {
|
|
|
57
57
|
export {
|
|
58
58
|
handleListDatasets
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=list-datasets-
|
|
60
|
+
//# sourceMappingURL=list-datasets-WUAE5HGX.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEvaluatorType,
|
|
3
3
|
listEvaluators
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-R7C7OUVG.js";
|
|
5
|
+
import "./chunk-42ZHHHIJ.js";
|
|
6
|
+
import "./chunk-KOO5733S.js";
|
|
7
7
|
|
|
8
8
|
// src/tools/list-evaluators.ts
|
|
9
9
|
async function handleListEvaluators() {
|
|
@@ -31,4 +31,4 @@ async function handleListEvaluators() {
|
|
|
31
31
|
export {
|
|
32
32
|
handleListEvaluators
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=list-evaluators-
|
|
34
|
+
//# sourceMappingURL=list-evaluators-B6OSVAM2.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listModelProviders
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-X2SEURT2.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-model-providers.ts
|
|
8
8
|
async function handleListModelProviders() {
|
|
@@ -32,4 +32,4 @@ async function handleListModelProviders() {
|
|
|
32
32
|
export {
|
|
33
33
|
handleListModelProviders
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=list-model-providers-
|
|
35
|
+
//# sourceMappingURL=list-model-providers-NL6IP4UZ.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
listProjects
|
|
3
|
+
} from "./chunk-ADSJ2FDA.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
|
+
|
|
7
|
+
// src/tools/list-projects.ts
|
|
8
|
+
async function handleListProjects(params) {
|
|
9
|
+
const result = await listProjects({
|
|
10
|
+
page: params?.page,
|
|
11
|
+
limit: params?.limit ?? 100
|
|
12
|
+
});
|
|
13
|
+
const projects = result.data;
|
|
14
|
+
if (!Array.isArray(projects) || projects.length === 0) {
|
|
15
|
+
return "No projects found in this organization.\n\n> Tip: Use `platform_create_project` to create your first project.";
|
|
16
|
+
}
|
|
17
|
+
const lines = [];
|
|
18
|
+
lines.push(`# Projects (${result.pagination.total} total)
|
|
19
|
+
`);
|
|
20
|
+
for (const p of projects) {
|
|
21
|
+
lines.push(`## ${p.name}`);
|
|
22
|
+
lines.push(`**ID**: ${p.id}`);
|
|
23
|
+
lines.push(`**Slug**: ${p.slug}`);
|
|
24
|
+
lines.push(`**Language**: ${p.language}`);
|
|
25
|
+
lines.push(`**Framework**: ${p.framework}`);
|
|
26
|
+
lines.push(`**Updated**: ${p.updatedAt}`);
|
|
27
|
+
lines.push("");
|
|
28
|
+
}
|
|
29
|
+
if (result.pagination.totalPages > 1) {
|
|
30
|
+
lines.push(
|
|
31
|
+
`> Showing page ${result.pagination.page} of ${result.pagination.totalPages}. Use \`page\` parameter to navigate.`
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
lines.push(
|
|
35
|
+
"> Use `platform_get_project` with the ID to see full project details."
|
|
36
|
+
);
|
|
37
|
+
return lines.join("\n");
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
handleListProjects
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=list-projects-5FHMJ4PQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listPromptTags
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
4
|
+
import "./chunk-KOO5733S.js";
|
|
5
5
|
|
|
6
6
|
// src/tools/list-prompt-tags.ts
|
|
7
7
|
async function handleListPromptTags() {
|
|
@@ -20,4 +20,4 @@ async function handleListPromptTags() {
|
|
|
20
20
|
export {
|
|
21
21
|
handleListPromptTags
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=list-prompt-tags-
|
|
23
|
+
//# sourceMappingURL=list-prompt-tags-Z2DD6FLQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listPrompts
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
4
|
+
import "./chunk-KOO5733S.js";
|
|
5
5
|
|
|
6
6
|
// src/tools/list-prompts.ts
|
|
7
7
|
async function handleListPrompts() {
|
|
@@ -29,4 +29,4 @@ async function handleListPrompts() {
|
|
|
29
29
|
export {
|
|
30
30
|
handleListPrompts
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=list-prompts-
|
|
32
|
+
//# sourceMappingURL=list-prompts-VNXKHK7T.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listScenarios
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CCM4ZFGF.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-scenarios.ts
|
|
8
8
|
async function handleListScenarios(params) {
|
|
@@ -37,4 +37,4 @@ async function handleListScenarios(params) {
|
|
|
37
37
|
export {
|
|
38
38
|
handleListScenarios
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=list-scenarios-
|
|
40
|
+
//# sourceMappingURL=list-scenarios-CFZHXL76.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listSimulationRuns
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BYWYM2RP.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-simulation-runs.ts
|
|
8
8
|
async function handleListSimulationRuns(params) {
|
|
@@ -40,4 +40,4 @@ async function handleListSimulationRuns(params) {
|
|
|
40
40
|
export {
|
|
41
41
|
handleListSimulationRuns
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=list-simulation-runs-
|
|
43
|
+
//# sourceMappingURL=list-simulation-runs-AM2BXLBW.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listSuites
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CHKCEZBP.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-suites.ts
|
|
8
8
|
async function handleListSuites(params) {
|
|
@@ -39,4 +39,4 @@ async function handleListSuites(params) {
|
|
|
39
39
|
export {
|
|
40
40
|
handleListSuites
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=list-suites-
|
|
42
|
+
//# sourceMappingURL=list-suites-ZDOHAAXF.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listWorkflows
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HKY3GW45.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/list-workflows.ts
|
|
8
8
|
async function handleListWorkflows() {
|
|
@@ -32,4 +32,4 @@ async function handleListWorkflows() {
|
|
|
32
32
|
export {
|
|
33
33
|
handleListWorkflows
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=list-workflows-
|
|
35
|
+
//# sourceMappingURL=list-workflows-WBRBKLIT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renamePromptTag
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
4
|
+
import "./chunk-KOO5733S.js";
|
|
5
5
|
|
|
6
6
|
// src/tools/rename-prompt-tag.ts
|
|
7
7
|
async function handleRenamePromptTag(params) {
|
|
@@ -15,4 +15,4 @@ async function handleRenamePromptTag(params) {
|
|
|
15
15
|
export {
|
|
16
16
|
handleRenamePromptTag
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=rename-prompt-tag-
|
|
18
|
+
//# sourceMappingURL=rename-prompt-tag-A4RJUK7Z.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
revokeApiKey
|
|
3
|
+
} from "./chunk-BBJ5WAJB.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
|
+
|
|
7
|
+
// src/tools/revoke-api-key.ts
|
|
8
|
+
async function handleRevokeApiKey(params) {
|
|
9
|
+
await revokeApiKey(params.id);
|
|
10
|
+
return `API key ${params.id} revoked successfully.`;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
handleRevokeApiKey
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=revoke-api-key-ZSPSPF5G.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgent
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XC62KJIT.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/run-agent.ts
|
|
8
8
|
async function handleRunAgent(params) {
|
|
@@ -33,4 +33,4 @@ async function handleRunAgent(params) {
|
|
|
33
33
|
export {
|
|
34
34
|
handleRunAgent
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=run-agent-
|
|
36
|
+
//# sourceMappingURL=run-agent-JFNDY7MR.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runSuite
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CHKCEZBP.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/run-suite.ts
|
|
8
8
|
async function handleRunSuite(params) {
|
|
@@ -26,4 +26,4 @@ async function handleRunSuite(params) {
|
|
|
26
26
|
export {
|
|
27
27
|
handleRunSuite
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=run-suite-
|
|
29
|
+
//# sourceMappingURL=run-suite-TH7LO5TJ.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWorkflow
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HKY3GW45.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/run-workflow.ts
|
|
8
8
|
async function handleRunWorkflow(params) {
|
|
@@ -33,4 +33,4 @@ async function handleRunWorkflow(params) {
|
|
|
33
33
|
export {
|
|
34
34
|
handleRunWorkflow
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=run-workflow-
|
|
36
|
+
//# sourceMappingURL=run-workflow-CK3JP5U2.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-ZXKLPC2E.js";
|
|
4
4
|
import {
|
|
5
5
|
searchTraces
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-42ZHHHIJ.js";
|
|
7
|
+
import "./chunk-KOO5733S.js";
|
|
8
8
|
|
|
9
9
|
// src/tools/search-traces.ts
|
|
10
10
|
async function handleSearchTraces(params) {
|
|
@@ -69,4 +69,4 @@ async function handleSearchTraces(params) {
|
|
|
69
69
|
export {
|
|
70
70
|
handleSearchTraces
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=search-traces-
|
|
72
|
+
//# sourceMappingURL=search-traces-3BBVYPC3.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setModelProvider
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-X2SEURT2.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/set-model-provider.ts
|
|
8
8
|
async function handleSetModelProvider(params) {
|
|
@@ -30,4 +30,4 @@ async function handleSetModelProvider(params) {
|
|
|
30
30
|
export {
|
|
31
31
|
handleSetModelProvider
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=set-model-provider-
|
|
33
|
+
//# sourceMappingURL=set-model-provider-WOC5FNMV.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateAgent
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-XC62KJIT.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/update-agent.ts
|
|
8
8
|
async function handleUpdateAgent(params) {
|
|
@@ -17,4 +17,4 @@ async function handleUpdateAgent(params) {
|
|
|
17
17
|
export {
|
|
18
18
|
handleUpdateAgent
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=update-agent-
|
|
20
|
+
//# sourceMappingURL=update-agent-YMEV5MTL.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
import "./chunk-NUFPTHKU.js";
|
|
5
5
|
import {
|
|
6
6
|
updateDataset
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-TROIWSEQ.js";
|
|
8
|
+
import "./chunk-42ZHHHIJ.js";
|
|
9
|
+
import "./chunk-KOO5733S.js";
|
|
10
10
|
|
|
11
11
|
// src/tools/update-dataset.ts
|
|
12
12
|
async function handleUpdateDataset(params) {
|
|
@@ -19,4 +19,4 @@ async function handleUpdateDataset(params) {
|
|
|
19
19
|
export {
|
|
20
20
|
handleUpdateDataset
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=update-dataset-
|
|
22
|
+
//# sourceMappingURL=update-dataset-EYT5POFM.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateDatasetRecord
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TROIWSEQ.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
6
|
|
|
7
7
|
// src/tools/update-dataset-record.ts
|
|
8
8
|
async function handleUpdateDatasetRecord(params) {
|
|
@@ -16,4 +16,4 @@ async function handleUpdateDatasetRecord(params) {
|
|
|
16
16
|
export {
|
|
17
17
|
handleUpdateDatasetRecord
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=update-dataset-record-
|
|
19
|
+
//# sourceMappingURL=update-dataset-record-VFF5JTX4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEvaluatorType,
|
|
3
3
|
updateEvaluator
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-R7C7OUVG.js";
|
|
5
|
+
import "./chunk-42ZHHHIJ.js";
|
|
6
|
+
import "./chunk-KOO5733S.js";
|
|
7
7
|
|
|
8
8
|
// src/tools/update-evaluator.ts
|
|
9
9
|
async function handleUpdateEvaluator(params) {
|
|
@@ -21,4 +21,4 @@ async function handleUpdateEvaluator(params) {
|
|
|
21
21
|
export {
|
|
22
22
|
handleUpdateEvaluator
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=update-evaluator-
|
|
24
|
+
//# sourceMappingURL=update-evaluator-6IJHFG2E.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
updateProject
|
|
3
|
+
} from "./chunk-ADSJ2FDA.js";
|
|
4
|
+
import "./chunk-42ZHHHIJ.js";
|
|
5
|
+
import "./chunk-KOO5733S.js";
|
|
6
|
+
|
|
7
|
+
// src/tools/update-project.ts
|
|
8
|
+
async function handleUpdateProject(params) {
|
|
9
|
+
const project = await updateProject(params);
|
|
10
|
+
const lines = [];
|
|
11
|
+
lines.push(`Project updated successfully!
|
|
12
|
+
`);
|
|
13
|
+
lines.push(`**Name**: ${project.name}`);
|
|
14
|
+
lines.push(`**ID**: ${project.id}`);
|
|
15
|
+
lines.push(`**Slug**: ${project.slug}`);
|
|
16
|
+
lines.push(`**Language**: ${project.language}`);
|
|
17
|
+
lines.push(`**Framework**: ${project.framework}`);
|
|
18
|
+
lines.push(`**PII Redaction**: ${project.piiRedactionLevel}`);
|
|
19
|
+
return lines.join("\n");
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
handleUpdateProject
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=update-project-OIT4WPFI.js.map
|