@lightsage/mcp 0.4.4 → 0.4.6
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/README.md +2 -2
- package/bin/mcp-server.js +1320 -565
- package/bin/mcp-server.js.map +46 -24
- package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts +15 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.js +72 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts +16 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts.map +1 -0
- package/esm/funcs/{contentV2ContentDraftsCreate.js → agentPreferenceV2AgentPreferenceEvalsCreate.js} +9 -9
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts +16 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts.map +1 -0
- package/esm/funcs/{contentV2ContentFinalize.js → agentPreferenceV2AgentPreferenceEvalsDelete.js} +11 -11
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.d.ts +15 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.js +72 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts +16 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts.map +1 -0
- package/esm/funcs/{contentV2ContentRetrieve.js → agentPreferenceV2AgentPreferenceEvalsRetrieve.js} +10 -10
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts +16 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.js +89 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts +16 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js +86 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.d.ts +16 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.js +93 -0
- package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.js.map +1 -0
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +17 -7
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts +3 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.js +30 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.d.ts +3 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.js +30 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.js.map +1 -0
- package/esm/models/createevaltemplaterequest.d.ts +1 -1
- package/esm/models/createv2agentpreferenceevalrequest.d.ts +14 -0
- package/esm/models/createv2agentpreferenceevalrequest.d.ts.map +1 -0
- package/esm/models/createv2agentpreferenceevalrequest.js +17 -0
- package/esm/models/createv2agentpreferenceevalrequest.js.map +1 -0
- package/esm/models/evaltemplate.d.ts +1 -1
- package/esm/models/updateevaltemplaterequest.d.ts +1 -1
- package/esm/models/updatev2agentpreferenceevalrequest.d.ts +13 -0
- package/esm/models/updatev2agentpreferenceevalrequest.d.ts.map +1 -0
- package/esm/models/updatev2agentpreferenceevalrequest.js +16 -0
- package/esm/models/updatev2agentpreferenceevalrequest.js.map +1 -0
- package/esm/models/v2agentpreferencecompany.d.ts +7 -0
- package/esm/models/v2agentpreferencecompany.d.ts.map +1 -0
- package/esm/models/v2agentpreferencecompany.js +10 -0
- package/esm/models/v2agentpreferencecompany.js.map +1 -0
- package/esm/models/v2agentpreferencecompetitor.d.ts +9 -0
- package/esm/models/v2agentpreferencecompetitor.d.ts.map +1 -0
- package/esm/models/v2agentpreferencecompetitor.js +12 -0
- package/esm/models/v2agentpreferencecompetitor.js.map +1 -0
- package/esm/models/v2agentpreferencecompetitorsresponse.d.ts +8 -0
- package/esm/models/v2agentpreferencecompetitorsresponse.d.ts.map +1 -0
- package/esm/models/v2agentpreferencecompetitorsresponse.js +11 -0
- package/esm/models/v2agentpreferencecompetitorsresponse.js.map +1 -0
- package/esm/models/v2agentpreferenceeval.d.ts +19 -0
- package/esm/models/v2agentpreferenceeval.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceeval.js +23 -0
- package/esm/models/v2agentpreferenceeval.js.map +1 -0
- package/esm/models/v2agentpreferenceevalscreateop.d.ts +6 -0
- package/esm/models/v2agentpreferenceevalscreateop.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceevalscreateop.js +12 -0
- package/esm/models/v2agentpreferenceevalscreateop.js.map +1 -0
- package/esm/models/v2agentpreferenceevalsdeleteop.d.ts +10 -0
- package/esm/models/v2agentpreferenceevalsdeleteop.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceevalsdeleteop.js +15 -0
- package/esm/models/v2agentpreferenceevalsdeleteop.js.map +1 -0
- package/esm/models/v2agentpreferenceevalsresponse.d.ts +8 -0
- package/esm/models/v2agentpreferenceevalsresponse.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceevalsresponse.js +11 -0
- package/esm/models/v2agentpreferenceevalsresponse.js.map +1 -0
- package/esm/models/v2agentpreferenceevalsretrieveop.d.ts +10 -0
- package/esm/models/v2agentpreferenceevalsretrieveop.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceevalsretrieveop.js +15 -0
- package/esm/models/v2agentpreferenceevalsretrieveop.js.map +1 -0
- package/esm/models/v2agentpreferenceevalsupdateop.d.ts +12 -0
- package/esm/models/v2agentpreferenceevalsupdateop.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceevalsupdateop.js +17 -0
- package/esm/models/v2agentpreferenceevalsupdateop.js.map +1 -0
- package/esm/models/v2agentpreferenceheadtoheadresponse.d.ts +15 -0
- package/esm/models/v2agentpreferenceheadtoheadresponse.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceheadtoheadresponse.js +18 -0
- package/esm/models/v2agentpreferenceheadtoheadresponse.js.map +1 -0
- package/esm/models/v2agentpreferenceheadtoheadretrieveop.d.ts +10 -0
- package/esm/models/v2agentpreferenceheadtoheadretrieveop.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceheadtoheadretrieveop.js +15 -0
- package/esm/models/v2agentpreferenceheadtoheadretrieveop.js.map +1 -0
- package/esm/models/v2agentpreferencematchup.d.ts +14 -0
- package/esm/models/v2agentpreferencematchup.d.ts.map +1 -0
- package/esm/models/v2agentpreferencematchup.js +17 -0
- package/esm/models/v2agentpreferencematchup.js.map +1 -0
- package/esm/models/v2agentpreferencerecord.d.ts +10 -0
- package/esm/models/v2agentpreferencerecord.d.ts.map +1 -0
- package/esm/models/v2agentpreferencerecord.js +13 -0
- package/esm/models/v2agentpreferencerecord.js.map +1 -0
- package/esm/models/v2agentpreferenceresult.d.ts +12 -0
- package/esm/models/v2agentpreferenceresult.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceresult.js +16 -0
- package/esm/models/v2agentpreferenceresult.js.map +1 -0
- package/esm/models/v2agentpreferenceresultslistop.d.ts +12 -0
- package/esm/models/v2agentpreferenceresultslistop.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceresultslistop.js +17 -0
- package/esm/models/v2agentpreferenceresultslistop.js.map +1 -0
- package/esm/models/v2agentpreferenceresultsresponse.d.ts +11 -0
- package/esm/models/v2agentpreferenceresultsresponse.d.ts.map +1 -0
- package/esm/models/v2agentpreferenceresultsresponse.js +14 -0
- package/esm/models/v2agentpreferenceresultsresponse.js.map +1 -0
- package/esm/models/v2evalresultsummary.d.ts +2 -0
- package/esm/models/v2evalresultsummary.d.ts.map +1 -1
- package/esm/models/v2evalresultsummary.js +3 -0
- package/esm/models/v2evalresultsummary.js.map +1 -1
- package/esm/models/v2preferenceresult.d.ts +30 -0
- package/esm/models/v2preferenceresult.d.ts.map +1 -0
- package/esm/models/v2preferenceresult.js +26 -0
- package/esm/models/v2preferenceresult.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +32 -12
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.ts +124 -0
- package/src/funcs/{contentV2ContentDraftsCreate.ts → agentPreferenceV2AgentPreferenceEvalsCreate.ts} +13 -13
- package/src/funcs/{contentV2ContentFinalize.ts → agentPreferenceV2AgentPreferenceEvalsDelete.ts} +14 -14
- package/src/funcs/agentPreferenceV2AgentPreferenceEvalsList.ts +124 -0
- package/src/funcs/{contentV2ContentRetrieve.ts → agentPreferenceV2AgentPreferenceEvalsRetrieve.ts} +13 -13
- package/src/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.ts +154 -0
- package/src/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.ts +151 -0
- package/src/funcs/agentPreferenceV2AgentPreferenceResultsList.ts +158 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -7
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.ts +37 -0
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.ts +45 -0
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.ts +45 -0
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.ts +36 -0
- package/src/mcp-server/tools/{contentV2ContentRetrieve.ts → agentPreferenceV2AgentPreferenceEvalsRetrieve.ts} +11 -9
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.ts +45 -0
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.ts +44 -0
- package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.ts +45 -0
- package/src/models/createv2agentpreferenceevalrequest.ts +48 -0
- package/src/models/updatev2agentpreferenceevalrequest.ts +38 -0
- package/src/models/v2agentpreferencecompany.ts +18 -0
- package/src/models/v2agentpreferencecompetitor.ts +22 -0
- package/src/models/v2agentpreferencecompetitorsresponse.ts +22 -0
- package/src/models/v2agentpreferenceeval.ts +54 -0
- package/src/models/v2agentpreferenceevalscreateop.ts +25 -0
- package/src/models/v2agentpreferenceevalsdeleteop.ts +33 -0
- package/src/models/v2agentpreferenceevalsresponse.ts +22 -0
- package/src/models/v2agentpreferenceevalsretrieveop.ts +33 -0
- package/src/models/v2agentpreferenceevalsupdateop.ts +41 -0
- package/src/models/v2agentpreferenceheadtoheadresponse.ts +46 -0
- package/src/models/v2agentpreferenceheadtoheadretrieveop.ts +37 -0
- package/src/models/v2agentpreferencematchup.ts +42 -0
- package/src/models/v2agentpreferencerecord.ts +30 -0
- package/src/models/v2agentpreferenceresult.ts +35 -0
- package/src/models/v2agentpreferenceresultslistop.ts +39 -0
- package/src/models/v2agentpreferenceresultsresponse.ts +28 -0
- package/src/models/v2evalresultsummary.ts +9 -0
- package/src/models/v2preferenceresult.ts +50 -0
- package/src/tool-names.ts +32 -12
- package/esm/funcs/contentV2ContentDraftsCreate.d.ts +0 -16
- package/esm/funcs/contentV2ContentDraftsCreate.d.ts.map +0 -1
- package/esm/funcs/contentV2ContentDraftsCreate.js.map +0 -1
- package/esm/funcs/contentV2ContentFinalize.d.ts +0 -16
- package/esm/funcs/contentV2ContentFinalize.d.ts.map +0 -1
- package/esm/funcs/contentV2ContentFinalize.js.map +0 -1
- package/esm/funcs/contentV2ContentRetrieve.d.ts +0 -16
- package/esm/funcs/contentV2ContentRetrieve.d.ts.map +0 -1
- package/esm/funcs/contentV2ContentRetrieve.js.map +0 -1
- package/esm/mcp-server/tools/contentV2ContentDraftsCreate.d.ts +0 -7
- package/esm/mcp-server/tools/contentV2ContentDraftsCreate.d.ts.map +0 -1
- package/esm/mcp-server/tools/contentV2ContentDraftsCreate.js +0 -35
- package/esm/mcp-server/tools/contentV2ContentDraftsCreate.js.map +0 -1
- package/esm/mcp-server/tools/contentV2ContentFinalize.d.ts +0 -7
- package/esm/mcp-server/tools/contentV2ContentFinalize.d.ts.map +0 -1
- package/esm/mcp-server/tools/contentV2ContentFinalize.js +0 -35
- package/esm/mcp-server/tools/contentV2ContentFinalize.js.map +0 -1
- package/esm/mcp-server/tools/contentV2ContentRetrieve.d.ts +0 -7
- package/esm/mcp-server/tools/contentV2ContentRetrieve.d.ts.map +0 -1
- package/esm/mcp-server/tools/contentV2ContentRetrieve.js +0 -35
- package/esm/mcp-server/tools/contentV2ContentRetrieve.js.map +0 -1
- package/esm/models/generatecontentdraftrequest.d.ts +0 -9
- package/esm/models/generatecontentdraftrequest.d.ts.map +0 -1
- package/esm/models/generatecontentdraftrequest.js +0 -12
- package/esm/models/generatecontentdraftrequest.js.map +0 -1
- package/esm/models/publiccontent.d.ts +0 -11
- package/esm/models/publiccontent.d.ts.map +0 -1
- package/esm/models/publiccontent.js +0 -14
- package/esm/models/publiccontent.js.map +0 -1
- package/esm/models/v2contentdraftscreateop.d.ts +0 -6
- package/esm/models/v2contentdraftscreateop.d.ts.map +0 -1
- package/esm/models/v2contentdraftscreateop.js +0 -12
- package/esm/models/v2contentdraftscreateop.js.map +0 -1
- package/esm/models/v2contentfinalizeop.d.ts +0 -10
- package/esm/models/v2contentfinalizeop.d.ts.map +0 -1
- package/esm/models/v2contentfinalizeop.js +0 -15
- package/esm/models/v2contentfinalizeop.js.map +0 -1
- package/esm/models/v2contentretrieveop.d.ts +0 -10
- package/esm/models/v2contentretrieveop.d.ts.map +0 -1
- package/esm/models/v2contentretrieveop.js +0 -15
- package/esm/models/v2contentretrieveop.js.map +0 -1
- package/src/mcp-server/tools/contentV2ContentDraftsCreate.ts +0 -43
- package/src/mcp-server/tools/contentV2ContentFinalize.ts +0 -43
- package/src/models/generatecontentdraftrequest.ts +0 -28
- package/src/models/publiccontent.ts +0 -24
- package/src/models/v2contentdraftscreateop.ts +0 -20
- package/src/models/v2contentfinalizeop.ts +0 -28
- package/src/models/v2contentretrieveop.ts +0 -28
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAC3E,OAAO,IAAI,CA8BZ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4c8c478bf423
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceV2AgentPreferenceEvalsUpdate } from "../../funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.js";
|
|
6
|
+
import { V2AgentPreferenceEvalsUpdateRequest$zodSchema } from "../../models/v2agentpreferenceevalsupdateop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2AgentPreferenceEvalsUpdateRequest$zodSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$agentPreferenceV2AgentPreferenceEvalsUpdate = {
|
|
12
|
+
name: "agent-preference-v2-agent-preference-evals-update",
|
|
13
|
+
description: `Update Eval
|
|
14
|
+
|
|
15
|
+
Updates an Agent Preference eval. Omitted fields remain unchanged, an empty \`agent\` or \`tags\` array clears that collection, and \`persona: null\` clears the saved persona. The competitor and the judge that decides the comparison cannot be changed.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": false,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await agentPreferenceV2AgentPreferenceEvalsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=agentPreferenceV2AgentPreferenceEvalsUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceV2AgentPreferenceEvalsUpdate.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,6CAA6C;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,gDAAgD,GAEzD;IACF,IAAI,EAAE,mDAAmD;IACzD,WAAW,EAAE;;4PAE6O;IAC1P,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,2CAA2C,CAChE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToolDefinition } from "../tools.js";
|
|
2
|
+
declare const args: {
|
|
3
|
+
request: import("zod").ZodOptional<import("zod").ZodType<import("../../models/v2agentpreferenceheadtoheadretrieveop.js").V2AgentPreferenceHeadToHeadRetrieveRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2agentpreferenceheadtoheadretrieveop.js").V2AgentPreferenceHeadToHeadRetrieveRequest, unknown>>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$agentPreferenceV2AgentPreferenceHeadToHeadRetrieve: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,uDAAuD,EAClE,cAAc,CAAC,OAAO,IAAI,CA6BzB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4e3db491c174
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceV2AgentPreferenceHeadToHeadRetrieve } from "../../funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js";
|
|
6
|
+
import { V2AgentPreferenceHeadToHeadRetrieveRequest$zodSchema } from "../../models/v2agentpreferenceheadtoheadretrieveop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2AgentPreferenceHeadToHeadRetrieveRequest$zodSchema.optional(),
|
|
10
|
+
};
|
|
11
|
+
export const tool$agentPreferenceV2AgentPreferenceHeadToHeadRetrieve = {
|
|
12
|
+
name: "agent-preference-v2-agent-preference-head-to-273",
|
|
13
|
+
description: `Retrieve Head To Head
|
|
14
|
+
|
|
15
|
+
Returns how often agents recommended your company over each tracked competitor: wins, losses, ties, and win rate per competitor plus a combined record. Calculated from the most recent attempts across all Agent Preference evals, up to \`limit\`; \`truncated\` reports whether older attempts were left out.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": true,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await agentPreferenceV2AgentPreferenceHeadToHeadRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kDAAkD,EAAE,MAAM,mEAAmE,CAAC;AACvI,OAAO,EAAE,oDAAoD,EAAE,MAAM,uDAAuD,CAAC;AAC7H,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,oDAAoD,CAAC,QAAQ,EAAE;CACzE,CAAC;AAEF,MAAM,CAAC,MAAM,uDAAuD,GACpC;IAC5B,IAAI,EAAE,kDAAkD;IACxD,WAAW,EAAE;;iTAEgS;IAC7S,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,kDAAkD,CACvE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToolDefinition } from "../tools.js";
|
|
2
|
+
declare const args: {
|
|
3
|
+
request: import("zod").ZodType<import("../../models/v2agentpreferenceresultslistop.js").V2AgentPreferenceResultsListRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2agentpreferenceresultslistop.js").V2AgentPreferenceResultsListRequest, unknown>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$agentPreferenceV2AgentPreferenceResultsList: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=agentPreferenceV2AgentPreferenceResultsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceV2AgentPreferenceResultsList.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAC3E,OAAO,IAAI,CA8BZ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 6815c77109cc
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceV2AgentPreferenceResultsList } from "../../funcs/agentPreferenceV2AgentPreferenceResultsList.js";
|
|
6
|
+
import { V2AgentPreferenceResultsListRequest$zodSchema } from "../../models/v2agentpreferenceresultslistop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2AgentPreferenceResultsListRequest$zodSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$agentPreferenceV2AgentPreferenceResultsList = {
|
|
12
|
+
name: "agent-preference-v2-agent-preference-results-list",
|
|
13
|
+
description: `List Results
|
|
14
|
+
|
|
15
|
+
Returns recorded attempts for an Agent Preference eval, newest first, each with whether your company won, lost, or tied against the competitor.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": true,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await agentPreferenceV2AgentPreferenceResultsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=agentPreferenceV2AgentPreferenceResultsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceV2AgentPreferenceResultsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,6CAA6C;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,gDAAgD,GAEzD;IACF,IAAI,EAAE,mDAAmD;IACzD,WAAW,EAAE;;gJAEiI;IAC9I,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,2CAA2C,CAChE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -40,8 +40,8 @@ export declare const CreateEvalTemplateRequestIncludedComponent: {
|
|
|
40
40
|
export type CreateEvalTemplateRequestIncludedComponent = ClosedEnum<typeof CreateEvalTemplateRequestIncludedComponent>;
|
|
41
41
|
export declare const CreateEvalTemplateRequestIncludedComponent$zodSchema: z.ZodEnum<{
|
|
42
42
|
persona: "persona";
|
|
43
|
-
runs: "runs";
|
|
44
43
|
search_grounding: "search_grounding";
|
|
44
|
+
runs: "runs";
|
|
45
45
|
judges: "judges";
|
|
46
46
|
targets: "targets";
|
|
47
47
|
competitors: "competitors";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
3
|
+
export type CreateV2AgentPreferenceEvalRequest = {
|
|
4
|
+
competitor_id: string;
|
|
5
|
+
prompts: Array<string>;
|
|
6
|
+
name?: string | undefined;
|
|
7
|
+
agent?: Array<string> | undefined;
|
|
8
|
+
persona?: string | undefined;
|
|
9
|
+
search_grounding?: SearchGroundingMode | undefined;
|
|
10
|
+
runs?: number | undefined;
|
|
11
|
+
tags?: Array<string> | undefined;
|
|
12
|
+
};
|
|
13
|
+
export declare const CreateV2AgentPreferenceEvalRequest$zodSchema: z.ZodType<CreateV2AgentPreferenceEvalRequest>;
|
|
14
|
+
//# sourceMappingURL=createv2agentpreferenceevalrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createv2agentpreferenceevalrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2agentpreferenceevalrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,kCAAkC,GAAG;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACnD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,kCAAkC,CAwBlC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: aca5cf70b2df
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
7
|
+
export const CreateV2AgentPreferenceEvalRequest$zodSchema = z.object({
|
|
8
|
+
agent: z.array(z.string()).optional().describe("Runnable agents from `GET /v2/agents`. An empty array saves the comparison without default agents. CLI clients expose repeatable `--agent`."),
|
|
9
|
+
competitor_id: z.string().describe("Tracked competitor to compare against, from `GET /v2/agent-preference/competitors`."),
|
|
10
|
+
name: z.string().optional().describe("Display name. Defaults to `<your company> vs <competitor>` when omitted."),
|
|
11
|
+
persona: z.string().optional().describe("Optional perspective applied to the whole comparison."),
|
|
12
|
+
prompts: z.array(z.string()).describe("Buying or build questions the agent answers by choosing between your company and the competitor. CLI clients expose this as repeatable `--prompt`."),
|
|
13
|
+
runs: z.int().default(1).describe("Independent attempts for every prompt-agent pair."),
|
|
14
|
+
search_grounding: SearchGroundingMode$zodSchema.optional().describe("Requested web-retrieval behavior for an eval run."),
|
|
15
|
+
tags: z.array(z.string()).optional(),
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=createv2agentpreferenceevalrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createv2agentpreferenceevalrequest.js","sourceRoot":"","sources":["../../src/models/createv2agentpreferenceevalrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAalC,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,6IAA6I,CAC9I;IACD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAChC,qFAAqF,CACtF;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClC,0EAA0E,CAC3E;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,uDAAuD,CACxD;IACD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CACnC,oJAAoJ,CACrJ;IACD,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC/B,mDAAmD,CACpD;IACD,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjE,mDAAmD,CACpD;IACD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC"}
|
|
@@ -40,8 +40,8 @@ export declare const EvalTemplateIncludedComponent: {
|
|
|
40
40
|
export type EvalTemplateIncludedComponent = ClosedEnum<typeof EvalTemplateIncludedComponent>;
|
|
41
41
|
export declare const EvalTemplateIncludedComponent$zodSchema: z.ZodEnum<{
|
|
42
42
|
persona: "persona";
|
|
43
|
-
runs: "runs";
|
|
44
43
|
search_grounding: "search_grounding";
|
|
44
|
+
runs: "runs";
|
|
45
45
|
judges: "judges";
|
|
46
46
|
targets: "targets";
|
|
47
47
|
competitors: "competitors";
|
|
@@ -34,8 +34,8 @@ export declare const UpdateEvalTemplateRequestIncludedComponent: {
|
|
|
34
34
|
export type UpdateEvalTemplateRequestIncludedComponent = ClosedEnum<typeof UpdateEvalTemplateRequestIncludedComponent>;
|
|
35
35
|
export declare const UpdateEvalTemplateRequestIncludedComponent$zodSchema: z.ZodEnum<{
|
|
36
36
|
persona: "persona";
|
|
37
|
-
runs: "runs";
|
|
38
37
|
search_grounding: "search_grounding";
|
|
38
|
+
runs: "runs";
|
|
39
39
|
judges: "judges";
|
|
40
40
|
targets: "targets";
|
|
41
41
|
competitors: "competitors";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
3
|
+
export type UpdateV2AgentPreferenceEvalRequest = {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
prompts?: Array<string> | null | undefined;
|
|
6
|
+
agent?: Array<string> | null | undefined;
|
|
7
|
+
persona?: string | undefined;
|
|
8
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
9
|
+
runs?: number | undefined;
|
|
10
|
+
tags?: Array<string> | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare const UpdateV2AgentPreferenceEvalRequest$zodSchema: z.ZodType<UpdateV2AgentPreferenceEvalRequest>;
|
|
13
|
+
//# sourceMappingURL=updatev2agentpreferenceevalrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatev2agentpreferenceevalrequest.d.ts","sourceRoot":"","sources":["../../src/models/updatev2agentpreferenceevalrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,kCAAkC,CAelC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 02077da4c512
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
7
|
+
export const UpdateV2AgentPreferenceEvalRequest$zodSchema = z.object({
|
|
8
|
+
agent: z.array(z.string()).nullable().optional().describe("Runnable agents from `GET /v2/agents`. An empty array saves the comparison without default agents. CLI clients expose repeatable `--agent`."),
|
|
9
|
+
name: z.string().optional(),
|
|
10
|
+
persona: z.string().optional().describe("Set to null to clear the saved persona."),
|
|
11
|
+
prompts: z.array(z.string()).nullable().optional().describe("Buying or build questions the agent answers by choosing between your company and the competitor. CLI clients expose this as repeatable `--prompt`."),
|
|
12
|
+
runs: z.int().optional(),
|
|
13
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional(),
|
|
14
|
+
tags: z.array(z.string()).nullable().optional(),
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=updatev2agentpreferenceevalrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatev2agentpreferenceevalrequest.js","sourceRoot":"","sources":["../../src/models/updatev2agentpreferenceevalrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAYlC,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,6IAA6I,CAC9I;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrC,yCAAyC,CAC1C;IACD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,oJAAoJ,CACrJ;IACD,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACxB,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACrE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type V2AgentPreferenceCompany = {
|
|
3
|
+
name?: string | null | undefined;
|
|
4
|
+
domain?: string | null | undefined;
|
|
5
|
+
};
|
|
6
|
+
export declare const V2AgentPreferenceCompany$zodSchema: z.ZodType<V2AgentPreferenceCompany>;
|
|
7
|
+
//# sourceMappingURL=v2agentpreferencecompany.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferencecompany.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferencecompany.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAIxB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0549a1745dc9
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
export const V2AgentPreferenceCompany$zodSchema = z.object({
|
|
7
|
+
domain: z.string().nullable().optional(),
|
|
8
|
+
name: z.string().nullable().optional(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=v2agentpreferencecompany.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferencecompany.js","sourceRoot":"","sources":["../../src/models/v2agentpreferencecompany.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type V2AgentPreferenceCompetitor = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
domain?: string | null | undefined;
|
|
6
|
+
logo_url?: string | null | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare const V2AgentPreferenceCompetitor$zodSchema: z.ZodType<V2AgentPreferenceCompetitor>;
|
|
9
|
+
//# sourceMappingURL=v2agentpreferencecompetitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferencecompetitor.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferencecompetitor.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,2BAA2B,CAM3B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 751b1cb5d550
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
export const V2AgentPreferenceCompetitor$zodSchema = z.object({
|
|
7
|
+
domain: z.string().nullable().optional(),
|
|
8
|
+
id: z.string().describe("Competitor ID to pass as `competitor_id`."),
|
|
9
|
+
logo_url: z.string().nullable().optional(),
|
|
10
|
+
name: z.string(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=v2agentpreferencecompetitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferencecompetitor.js","sourceRoot":"","sources":["../../src/models/v2agentpreferencecompetitor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AASzB,MAAM,CAAC,MAAM,qCAAqC,GAE9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACpE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { V2AgentPreferenceCompetitor } from "./v2agentpreferencecompetitor.js";
|
|
3
|
+
export type V2AgentPreferenceCompetitorsResponse = {
|
|
4
|
+
data?: Array<V2AgentPreferenceCompetitor> | undefined;
|
|
5
|
+
count: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const V2AgentPreferenceCompetitorsResponse$zodSchema: z.ZodType<V2AgentPreferenceCompetitorsResponse>;
|
|
8
|
+
//# sourceMappingURL=v2agentpreferencecompetitorsresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferencecompetitorsresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferencecompetitorsresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC;IACtD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,oCAAoC,CAIpC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7a0e6255c751
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { V2AgentPreferenceCompetitor$zodSchema, } from "./v2agentpreferencecompetitor.js";
|
|
7
|
+
export const V2AgentPreferenceCompetitorsResponse$zodSchema = z.object({
|
|
8
|
+
count: z.int(),
|
|
9
|
+
data: z.array(V2AgentPreferenceCompetitor$zodSchema).optional(),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=v2agentpreferencecompetitorsresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferencecompetitorsresponse.js","sourceRoot":"","sources":["../../src/models/v2agentpreferencecompetitorsresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAO1C,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC,QAAQ,EAAE;CAChE,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
3
|
+
import { V2AgentPreferenceCompetitor } from "./v2agentpreferencecompetitor.js";
|
|
4
|
+
export type V2AgentPreferenceEval = {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
competitor?: V2AgentPreferenceCompetitor | null | undefined;
|
|
8
|
+
prompts?: Array<string> | undefined;
|
|
9
|
+
judges?: Array<string> | undefined;
|
|
10
|
+
agent?: Array<string> | undefined;
|
|
11
|
+
persona?: string | null | undefined;
|
|
12
|
+
search_grounding?: SearchGroundingMode | undefined;
|
|
13
|
+
runs?: number | undefined;
|
|
14
|
+
tags?: Array<string> | undefined;
|
|
15
|
+
created_at?: string | null | undefined;
|
|
16
|
+
updated_at?: string | null | undefined;
|
|
17
|
+
};
|
|
18
|
+
export declare const V2AgentPreferenceEval$zodSchema: z.ZodType<V2AgentPreferenceEval>;
|
|
19
|
+
//# sourceMappingURL=v2agentpreferenceeval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceeval.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferenceeval.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5D,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACpC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACnD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAuBzE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 69294cc9fd96
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
7
|
+
import { V2AgentPreferenceCompetitor$zodSchema, } from "./v2agentpreferencecompetitor.js";
|
|
8
|
+
export const V2AgentPreferenceEval$zodSchema = z.object({
|
|
9
|
+
agent: z.array(z.string()).optional(),
|
|
10
|
+
competitor: V2AgentPreferenceCompetitor$zodSchema.nullable().optional()
|
|
11
|
+
.describe("The competitor your company is compared against. Null when the competitor is no longer tracked."),
|
|
12
|
+
created_at: z.string().nullable().optional(),
|
|
13
|
+
id: z.string().describe("Eval ID. Pass it as `eval_id` to `POST /v2/eval-runs` to run the comparison."),
|
|
14
|
+
judges: z.array(z.string()).optional().describe("Criteria applied to each response. The first one decides which company the agent recommended and cannot be changed."),
|
|
15
|
+
name: z.string(),
|
|
16
|
+
persona: z.string().nullable().optional(),
|
|
17
|
+
prompts: z.array(z.string()).optional(),
|
|
18
|
+
runs: z.int().default(1),
|
|
19
|
+
search_grounding: SearchGroundingMode$zodSchema.optional().describe("Requested web-retrieval behavior for an eval run."),
|
|
20
|
+
tags: z.array(z.string()).optional(),
|
|
21
|
+
updated_at: z.string().nullable().optional(),
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=v2agentpreferenceeval.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceeval.js","sourceRoot":"","sources":["../../src/models/v2agentpreferenceeval.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAiB1C,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,UAAU,EAAE,qCAAqC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACpE,QAAQ,CACP,iGAAiG,CAClG;IACH,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACrB,8EAA8E,CAC/E;IACD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7C,qHAAqH,CACtH;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvC,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACxB,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjE,mDAAmD,CACpD;IACD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { V2AgentPreferenceEval } from "./v2agentpreferenceeval.js";
|
|
4
|
+
export type V2AgentPreferenceEvalsCreateResponse = V2AgentPreferenceEval | HTTPValidationError;
|
|
5
|
+
export declare const V2AgentPreferenceEvalsCreateResponse$zodSchema: z.ZodType<V2AgentPreferenceEvalsCreateResponse>;
|
|
6
|
+
//# sourceMappingURL=v2agentpreferenceevalscreateop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalscreateop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalscreateop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,oCAAoC,GAC5C,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,oCAAoC,CAIpC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8e87c60dcd51
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { V2AgentPreferenceEval$zodSchema, } from "./v2agentpreferenceeval.js";
|
|
8
|
+
export const V2AgentPreferenceEvalsCreateResponse$zodSchema = z.union([
|
|
9
|
+
V2AgentPreferenceEval$zodSchema,
|
|
10
|
+
HTTPValidationError$zodSchema,
|
|
11
|
+
]);
|
|
12
|
+
//# sourceMappingURL=v2agentpreferenceevalscreateop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalscreateop.js","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalscreateop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAMpC,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,KAAK,CAAC;IACV,+BAA+B;IAC/B,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { V2AgentPreferenceEval } from "./v2agentpreferenceeval.js";
|
|
4
|
+
export type V2AgentPreferenceEvalsDeleteRequest = {
|
|
5
|
+
eval_id: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const V2AgentPreferenceEvalsDeleteRequest$zodSchema: z.ZodType<V2AgentPreferenceEvalsDeleteRequest>;
|
|
8
|
+
export type V2AgentPreferenceEvalsDeleteResponse = V2AgentPreferenceEval | HTTPValidationError;
|
|
9
|
+
export declare const V2AgentPreferenceEvalsDeleteResponse$zodSchema: z.ZodType<V2AgentPreferenceEvalsDeleteResponse>;
|
|
10
|
+
//# sourceMappingURL=v2agentpreferenceevalsdeleteop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsdeleteop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsdeleteop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,mCAAmC,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,mCAAmC,CAGnC,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAC5C,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,oCAAoC,CAIpC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 57a9e388de4f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { V2AgentPreferenceEval$zodSchema, } from "./v2agentpreferenceeval.js";
|
|
8
|
+
export const V2AgentPreferenceEvalsDeleteRequest$zodSchema = z.object({
|
|
9
|
+
eval_id: z.string(),
|
|
10
|
+
});
|
|
11
|
+
export const V2AgentPreferenceEvalsDeleteResponse$zodSchema = z.union([
|
|
12
|
+
V2AgentPreferenceEval$zodSchema,
|
|
13
|
+
HTTPValidationError$zodSchema,
|
|
14
|
+
]);
|
|
15
|
+
//# sourceMappingURL=v2agentpreferenceevalsdeleteop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsdeleteop.js","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsdeleteop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAIpC,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,KAAK,CAAC;IACV,+BAA+B;IAC/B,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { V2AgentPreferenceEval } from "./v2agentpreferenceeval.js";
|
|
3
|
+
export type V2AgentPreferenceEvalsResponse = {
|
|
4
|
+
data?: Array<V2AgentPreferenceEval> | undefined;
|
|
5
|
+
count: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const V2AgentPreferenceEvalsResponse$zodSchema: z.ZodType<V2AgentPreferenceEvalsResponse>;
|
|
8
|
+
//# sourceMappingURL=v2agentpreferenceevalsresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,8BAA8B,CAI9B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: cf4af1726432
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { V2AgentPreferenceEval$zodSchema, } from "./v2agentpreferenceeval.js";
|
|
7
|
+
export const V2AgentPreferenceEvalsResponse$zodSchema = z.object({
|
|
8
|
+
count: z.int(),
|
|
9
|
+
data: z.array(V2AgentPreferenceEval$zodSchema).optional(),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=v2agentpreferenceevalsresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsresponse.js","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,MAAM,wCAAwC,GAEjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { V2AgentPreferenceEval } from "./v2agentpreferenceeval.js";
|
|
4
|
+
export type V2AgentPreferenceEvalsRetrieveRequest = {
|
|
5
|
+
eval_id: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const V2AgentPreferenceEvalsRetrieveRequest$zodSchema: z.ZodType<V2AgentPreferenceEvalsRetrieveRequest>;
|
|
8
|
+
export type V2AgentPreferenceEvalsRetrieveResponse = V2AgentPreferenceEval | HTTPValidationError;
|
|
9
|
+
export declare const V2AgentPreferenceEvalsRetrieveResponse$zodSchema: z.ZodType<V2AgentPreferenceEvalsRetrieveResponse>;
|
|
10
|
+
//# sourceMappingURL=v2agentpreferenceevalsretrieveop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsretrieveop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsretrieveop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,qCAAqC,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,qCAAqC,CAGrC,CAAC;AAEH,MAAM,MAAM,sCAAsC,GAC9C,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAItC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: cc26328ee8f5
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { V2AgentPreferenceEval$zodSchema, } from "./v2agentpreferenceeval.js";
|
|
8
|
+
export const V2AgentPreferenceEvalsRetrieveRequest$zodSchema = z.object({
|
|
9
|
+
eval_id: z.string(),
|
|
10
|
+
});
|
|
11
|
+
export const V2AgentPreferenceEvalsRetrieveResponse$zodSchema = z.union([
|
|
12
|
+
V2AgentPreferenceEval$zodSchema,
|
|
13
|
+
HTTPValidationError$zodSchema,
|
|
14
|
+
]);
|
|
15
|
+
//# sourceMappingURL=v2agentpreferenceevalsretrieveop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsretrieveop.js","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsretrieveop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAIpC,MAAM,CAAC,MAAM,+CAA+C,GAExD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,gDAAgD,GAEzD,CAAC,CAAC,KAAK,CAAC;IACV,+BAA+B;IAC/B,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
+
import { UpdateV2AgentPreferenceEvalRequest } from "./updatev2agentpreferenceevalrequest.js";
|
|
4
|
+
import { V2AgentPreferenceEval } from "./v2agentpreferenceeval.js";
|
|
5
|
+
export type V2AgentPreferenceEvalsUpdateRequest = {
|
|
6
|
+
eval_id: string;
|
|
7
|
+
body: UpdateV2AgentPreferenceEvalRequest;
|
|
8
|
+
};
|
|
9
|
+
export declare const V2AgentPreferenceEvalsUpdateRequest$zodSchema: z.ZodType<V2AgentPreferenceEvalsUpdateRequest>;
|
|
10
|
+
export type V2AgentPreferenceEvalsUpdateResponse = V2AgentPreferenceEval | HTTPValidationError;
|
|
11
|
+
export declare const V2AgentPreferenceEvalsUpdateResponse$zodSchema: z.ZodType<V2AgentPreferenceEvalsUpdateResponse>;
|
|
12
|
+
//# sourceMappingURL=v2agentpreferenceevalsupdateop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsupdateop.d.ts","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsupdateop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kCAAkC,EAEnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,mCAAmC,GAAG;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,kCAAkC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,mCAAmC,CAInC,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAC5C,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,oCAAoC,CAIpC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e4709630f651
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
+
import { UpdateV2AgentPreferenceEvalRequest$zodSchema, } from "./updatev2agentpreferenceevalrequest.js";
|
|
8
|
+
import { V2AgentPreferenceEval$zodSchema, } from "./v2agentpreferenceeval.js";
|
|
9
|
+
export const V2AgentPreferenceEvalsUpdateRequest$zodSchema = z.object({
|
|
10
|
+
body: UpdateV2AgentPreferenceEvalRequest$zodSchema,
|
|
11
|
+
eval_id: z.string(),
|
|
12
|
+
});
|
|
13
|
+
export const V2AgentPreferenceEvalsUpdateResponse$zodSchema = z.union([
|
|
14
|
+
V2AgentPreferenceEval$zodSchema,
|
|
15
|
+
HTTPValidationError$zodSchema,
|
|
16
|
+
]);
|
|
17
|
+
//# sourceMappingURL=v2agentpreferenceevalsupdateop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2agentpreferenceevalsupdateop.js","sourceRoot":"","sources":["../../src/models/v2agentpreferenceevalsupdateop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,4CAA4C,GAC7C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAEL,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,4CAA4C;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,KAAK,CAAC;IACV,+BAA+B;IAC/B,6BAA6B;CAC9B,CAAC,CAAC"}
|