@lightsage/mcp 0.4.5 → 0.4.7
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 +1537 -370
- package/bin/mcp-server.js.map +49 -17
- package/esm/funcs/agentPreferenceCompetitorsList.d.ts +15 -0
- package/esm/funcs/agentPreferenceCompetitorsList.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceCompetitorsList.js +72 -0
- package/esm/funcs/agentPreferenceCompetitorsList.js.map +1 -0
- package/esm/funcs/agentPreferenceEvalsCreate.d.ts +16 -0
- package/esm/funcs/agentPreferenceEvalsCreate.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceEvalsCreate.js +83 -0
- package/esm/funcs/agentPreferenceEvalsCreate.js.map +1 -0
- package/esm/funcs/agentPreferenceEvalsDelete.d.ts +16 -0
- package/esm/funcs/agentPreferenceEvalsDelete.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceEvalsDelete.js +88 -0
- package/esm/funcs/agentPreferenceEvalsDelete.js.map +1 -0
- package/esm/funcs/agentPreferenceEvalsList.d.ts +15 -0
- package/esm/funcs/agentPreferenceEvalsList.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceEvalsList.js +72 -0
- package/esm/funcs/agentPreferenceEvalsList.js.map +1 -0
- package/esm/funcs/agentPreferenceEvalsResultsList.d.ts +16 -0
- package/esm/funcs/agentPreferenceEvalsResultsList.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceEvalsResultsList.js +93 -0
- package/esm/funcs/agentPreferenceEvalsResultsList.js.map +1 -0
- package/esm/funcs/agentPreferenceEvalsRetrieve.d.ts +16 -0
- package/esm/funcs/agentPreferenceEvalsRetrieve.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceEvalsRetrieve.js +88 -0
- package/esm/funcs/agentPreferenceEvalsRetrieve.js.map +1 -0
- package/esm/funcs/agentPreferenceEvalsUpdate.d.ts +16 -0
- package/esm/funcs/agentPreferenceEvalsUpdate.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceEvalsUpdate.js +89 -0
- package/esm/funcs/agentPreferenceEvalsUpdate.js.map +1 -0
- package/esm/funcs/agentPreferenceHeadToHeadRetrieve.d.ts +16 -0
- package/esm/funcs/agentPreferenceHeadToHeadRetrieve.d.ts.map +1 -0
- package/esm/funcs/agentPreferenceHeadToHeadRetrieve.js +86 -0
- package/esm/funcs/agentPreferenceHeadToHeadRetrieve.js.map +1 -0
- package/esm/funcs/evalsV2EvalsList.d.ts +1 -1
- package/esm/funcs/evalsV2EvalsList.js +1 -1
- 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 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentPreferenceCompetitorsList.d.ts +3 -0
- package/esm/mcp-server/tools/agentPreferenceCompetitorsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceCompetitorsList.js +30 -0
- package/esm/mcp-server/tools/agentPreferenceCompetitorsList.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsCreate.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsCreate.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsCreate.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsCreate.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsDelete.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsDelete.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsDelete.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsDelete.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsList.d.ts +3 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsList.js +30 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsList.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsResultsList.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsResultsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsResultsList.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsResultsList.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsRetrieve.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsUpdate.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsUpdate.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsUpdate.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceEvalsUpdate.js.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.js +35 -0
- package/esm/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/evalsV2EvalsList.js +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsList.js.map +1 -1
- 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 +33 -1
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/agentPreferenceCompetitorsList.ts +124 -0
- package/src/funcs/agentPreferenceEvalsCreate.ts +145 -0
- package/src/funcs/agentPreferenceEvalsDelete.ts +153 -0
- package/src/funcs/agentPreferenceEvalsList.ts +124 -0
- package/src/funcs/agentPreferenceEvalsResultsList.ts +158 -0
- package/src/funcs/agentPreferenceEvalsRetrieve.ts +153 -0
- package/src/funcs/agentPreferenceEvalsUpdate.ts +154 -0
- package/src/funcs/agentPreferenceHeadToHeadRetrieve.ts +151 -0
- package/src/funcs/evalsV2EvalsList.ts +1 -1
- 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 -1
- package/src/mcp-server/tools/agentPreferenceCompetitorsList.ts +36 -0
- package/src/mcp-server/tools/agentPreferenceEvalsCreate.ts +43 -0
- package/src/mcp-server/tools/agentPreferenceEvalsDelete.ts +43 -0
- package/src/mcp-server/tools/agentPreferenceEvalsList.ts +36 -0
- package/src/mcp-server/tools/agentPreferenceEvalsResultsList.ts +44 -0
- package/src/mcp-server/tools/agentPreferenceEvalsRetrieve.ts +43 -0
- package/src/mcp-server/tools/agentPreferenceEvalsUpdate.ts +43 -0
- package/src/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.ts +45 -0
- package/src/mcp-server/tools/evalsV2EvalsList.ts +1 -1
- 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 +33 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsDelete.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsDelete.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,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,+BAA+B,GAAgC;IAC1E,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE;;+EAEgE;IAC7E,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,IAAI;QACvB,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,0BAA0B,CAC/C,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 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsList.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsList.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,6BAA6B,EAAE,cA2B3C,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 60715cfd0f8f
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceEvalsList } from "../../funcs/agentPreferenceEvalsList.js";
|
|
6
|
+
import { formatResult } from "../tools.js";
|
|
7
|
+
export const tool$agentPreferenceEvalsList = {
|
|
8
|
+
name: "agent-preference-evals-list",
|
|
9
|
+
description: `List Evals
|
|
10
|
+
|
|
11
|
+
Returns all active Agent Preference evals owned by the organization.`,
|
|
12
|
+
annotations: {
|
|
13
|
+
"title": "",
|
|
14
|
+
"destructiveHint": false,
|
|
15
|
+
"idempotentHint": false,
|
|
16
|
+
"openWorldHint": false,
|
|
17
|
+
"readOnlyHint": true,
|
|
18
|
+
},
|
|
19
|
+
tool: async (client, ctx) => {
|
|
20
|
+
const [result] = await agentPreferenceEvalsList(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
21
|
+
if (!result.ok) {
|
|
22
|
+
return {
|
|
23
|
+
content: [{ type: "text", text: result.error.message }],
|
|
24
|
+
isError: true,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return formatResult(result.value);
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=agentPreferenceEvalsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,6BAA6B,GAAmB;IAC3D,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;qEAEsD;IACnE,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,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,wBAAwB,CAC7C,MAAM,EACN,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$agentPreferenceEvalsResultsList: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=agentPreferenceEvalsResultsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsResultsList.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsResultsList.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,cAAc,CAAC,OAAO,IAAI,CA8B1E,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 779d2fe3240a
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceEvalsResultsList } from "../../funcs/agentPreferenceEvalsResultsList.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$agentPreferenceEvalsResultsList = {
|
|
12
|
+
name: "agent-preference-evals-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 agentPreferenceEvalsResultsList(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=agentPreferenceEvalsResultsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsResultsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsResultsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,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,oCAAoC,GAC/C;IACE,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EAAE;;gJAE+H;IAC5I,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,+BAA+B,CACpD,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/v2agentpreferenceevalsretrieveop.js").V2AgentPreferenceEvalsRetrieveRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2agentpreferenceevalsretrieveop.js").V2AgentPreferenceEvalsRetrieveRequest, unknown>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$agentPreferenceEvalsRetrieve: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=agentPreferenceEvalsRetrieve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsRetrieve.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsRetrieve.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,OAAO,IAAI,CA6BzE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4dc6629a3b3d
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceEvalsRetrieve } from "../../funcs/agentPreferenceEvalsRetrieve.js";
|
|
6
|
+
import { V2AgentPreferenceEvalsRetrieveRequest$zodSchema } from "../../models/v2agentpreferenceevalsretrieveop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2AgentPreferenceEvalsRetrieveRequest$zodSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$agentPreferenceEvalsRetrieve = {
|
|
12
|
+
name: "agent-preference-evals-retrieve",
|
|
13
|
+
description: `Retrieve Eval
|
|
14
|
+
|
|
15
|
+
Returns one Agent Preference eval.`,
|
|
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 agentPreferenceEvalsRetrieve(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=agentPreferenceEvalsRetrieve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,+CAA+C,EAAE,MAAM,kDAAkD,CAAC;AACnH,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,+CAA+C;CACzD,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE;;mCAEoB;IACjC,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,4BAA4B,CACjD,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/v2agentpreferenceevalsupdateop.js").V2AgentPreferenceEvalsUpdateRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2agentpreferenceevalsupdateop.js").V2AgentPreferenceEvalsUpdateRequest, unknown>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$agentPreferenceEvalsUpdate: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=agentPreferenceEvalsUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsUpdate.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsUpdate.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,cAAc,CAAC,OAAO,IAAI,CA6BvE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8d7c16e6d58d
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceEvalsUpdate } from "../../funcs/agentPreferenceEvalsUpdate.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$agentPreferenceEvalsUpdate = {
|
|
12
|
+
name: "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 agentPreferenceEvalsUpdate(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=agentPreferenceEvalsUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceEvalsUpdate.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceEvalsUpdate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,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,+BAA+B,GAAgC;IAC1E,IAAI,EAAE,+BAA+B;IACrC,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,0BAA0B,CAC/C,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$agentPreferenceHeadToHeadRetrieve: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=agentPreferenceHeadToHeadRetrieve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceHeadToHeadRetrieve.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,cAAc,CACjE,OAAO,IAAI,CA8BZ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: f53d1faeba02
|
|
4
|
+
*/
|
|
5
|
+
import { agentPreferenceHeadToHeadRetrieve } from "../../funcs/agentPreferenceHeadToHeadRetrieve.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$agentPreferenceHeadToHeadRetrieve = {
|
|
12
|
+
name: "agent-preference-head-to-head-retrieve",
|
|
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 agentPreferenceHeadToHeadRetrieve(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=agentPreferenceHeadToHeadRetrieve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentPreferenceHeadToHeadRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceHeadToHeadRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,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,sCAAsC,GAE/C;IACF,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EAAE;;iTAEkS;IAC/S,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,iCAAiC,CACtD,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"}
|
|
@@ -8,7 +8,7 @@ export const tool$evalsV2EvalsList = {
|
|
|
8
8
|
name: "evals-v2-evals-list",
|
|
9
9
|
description: `List Evals
|
|
10
10
|
|
|
11
|
-
Returns all active eval definitions owned by the organization
|
|
11
|
+
Returns all active eval definitions owned by the organization. Agent Preference evals are not included; list them with \`GET /v2/agent-preference/evals\`.`,
|
|
12
12
|
annotations: {
|
|
13
13
|
"title": "",
|
|
14
14
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsV2EvalsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsV2EvalsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,qBAAqB,GAAmB;IACnD,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"evalsV2EvalsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsV2EvalsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,qBAAqB,GAAmB;IACnD,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE;;2JAE4I;IACzJ,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,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,gBAAgB,CACrC,MAAM,EACN,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"}
|