@lightsage/mcp 0.4.5 → 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.
Files changed (202) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +1535 -366
  3. package/bin/mcp-server.js.map +47 -15
  4. package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts +15 -0
  5. package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts.map +1 -0
  6. package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.js +72 -0
  7. package/esm/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.js.map +1 -0
  8. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts +16 -0
  9. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts.map +1 -0
  10. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.js +83 -0
  11. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.js.map +1 -0
  12. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts +16 -0
  13. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts.map +1 -0
  14. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.js +88 -0
  15. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.js.map +1 -0
  16. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.d.ts +15 -0
  17. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.d.ts.map +1 -0
  18. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.js +72 -0
  19. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsList.js.map +1 -0
  20. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts +16 -0
  21. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts.map +1 -0
  22. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.js +88 -0
  23. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.js.map +1 -0
  24. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts +16 -0
  25. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts.map +1 -0
  26. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.js +89 -0
  27. package/esm/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.js.map +1 -0
  28. package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts +16 -0
  29. package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts.map +1 -0
  30. package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js +86 -0
  31. package/esm/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js.map +1 -0
  32. package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.d.ts +16 -0
  33. package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.d.ts.map +1 -0
  34. package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.js +93 -0
  35. package/esm/funcs/agentPreferenceV2AgentPreferenceResultsList.js.map +1 -0
  36. package/esm/landing-page.js +1 -1
  37. package/esm/lib/config.d.ts +2 -2
  38. package/esm/lib/config.js +2 -2
  39. package/esm/mcp-server/mcp-server.js +1 -1
  40. package/esm/mcp-server/server.d.ts.map +1 -1
  41. package/esm/mcp-server/server.js +17 -1
  42. package/esm/mcp-server/server.js.map +1 -1
  43. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts +3 -0
  44. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.d.ts.map +1 -0
  45. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.js +30 -0
  46. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.js.map +1 -0
  47. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts +7 -0
  48. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.d.ts.map +1 -0
  49. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.js +35 -0
  50. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.js.map +1 -0
  51. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts +7 -0
  52. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.d.ts.map +1 -0
  53. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.js +35 -0
  54. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.js.map +1 -0
  55. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.d.ts +3 -0
  56. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.d.ts.map +1 -0
  57. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.js +30 -0
  58. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.js.map +1 -0
  59. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts +7 -0
  60. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts.map +1 -0
  61. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.js +35 -0
  62. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.js.map +1 -0
  63. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts +7 -0
  64. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts.map +1 -0
  65. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.js +35 -0
  66. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.js.map +1 -0
  67. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts +7 -0
  68. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.d.ts.map +1 -0
  69. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js +35 -0
  70. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.js.map +1 -0
  71. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.d.ts +7 -0
  72. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.d.ts.map +1 -0
  73. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.js +35 -0
  74. package/esm/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.js.map +1 -0
  75. package/esm/models/createevaltemplaterequest.d.ts +1 -1
  76. package/esm/models/createv2agentpreferenceevalrequest.d.ts +14 -0
  77. package/esm/models/createv2agentpreferenceevalrequest.d.ts.map +1 -0
  78. package/esm/models/createv2agentpreferenceevalrequest.js +17 -0
  79. package/esm/models/createv2agentpreferenceevalrequest.js.map +1 -0
  80. package/esm/models/evaltemplate.d.ts +1 -1
  81. package/esm/models/updateevaltemplaterequest.d.ts +1 -1
  82. package/esm/models/updatev2agentpreferenceevalrequest.d.ts +13 -0
  83. package/esm/models/updatev2agentpreferenceevalrequest.d.ts.map +1 -0
  84. package/esm/models/updatev2agentpreferenceevalrequest.js +16 -0
  85. package/esm/models/updatev2agentpreferenceevalrequest.js.map +1 -0
  86. package/esm/models/v2agentpreferencecompany.d.ts +7 -0
  87. package/esm/models/v2agentpreferencecompany.d.ts.map +1 -0
  88. package/esm/models/v2agentpreferencecompany.js +10 -0
  89. package/esm/models/v2agentpreferencecompany.js.map +1 -0
  90. package/esm/models/v2agentpreferencecompetitor.d.ts +9 -0
  91. package/esm/models/v2agentpreferencecompetitor.d.ts.map +1 -0
  92. package/esm/models/v2agentpreferencecompetitor.js +12 -0
  93. package/esm/models/v2agentpreferencecompetitor.js.map +1 -0
  94. package/esm/models/v2agentpreferencecompetitorsresponse.d.ts +8 -0
  95. package/esm/models/v2agentpreferencecompetitorsresponse.d.ts.map +1 -0
  96. package/esm/models/v2agentpreferencecompetitorsresponse.js +11 -0
  97. package/esm/models/v2agentpreferencecompetitorsresponse.js.map +1 -0
  98. package/esm/models/v2agentpreferenceeval.d.ts +19 -0
  99. package/esm/models/v2agentpreferenceeval.d.ts.map +1 -0
  100. package/esm/models/v2agentpreferenceeval.js +23 -0
  101. package/esm/models/v2agentpreferenceeval.js.map +1 -0
  102. package/esm/models/v2agentpreferenceevalscreateop.d.ts +6 -0
  103. package/esm/models/v2agentpreferenceevalscreateop.d.ts.map +1 -0
  104. package/esm/models/v2agentpreferenceevalscreateop.js +12 -0
  105. package/esm/models/v2agentpreferenceevalscreateop.js.map +1 -0
  106. package/esm/models/v2agentpreferenceevalsdeleteop.d.ts +10 -0
  107. package/esm/models/v2agentpreferenceevalsdeleteop.d.ts.map +1 -0
  108. package/esm/models/v2agentpreferenceevalsdeleteop.js +15 -0
  109. package/esm/models/v2agentpreferenceevalsdeleteop.js.map +1 -0
  110. package/esm/models/v2agentpreferenceevalsresponse.d.ts +8 -0
  111. package/esm/models/v2agentpreferenceevalsresponse.d.ts.map +1 -0
  112. package/esm/models/v2agentpreferenceevalsresponse.js +11 -0
  113. package/esm/models/v2agentpreferenceevalsresponse.js.map +1 -0
  114. package/esm/models/v2agentpreferenceevalsretrieveop.d.ts +10 -0
  115. package/esm/models/v2agentpreferenceevalsretrieveop.d.ts.map +1 -0
  116. package/esm/models/v2agentpreferenceevalsretrieveop.js +15 -0
  117. package/esm/models/v2agentpreferenceevalsretrieveop.js.map +1 -0
  118. package/esm/models/v2agentpreferenceevalsupdateop.d.ts +12 -0
  119. package/esm/models/v2agentpreferenceevalsupdateop.d.ts.map +1 -0
  120. package/esm/models/v2agentpreferenceevalsupdateop.js +17 -0
  121. package/esm/models/v2agentpreferenceevalsupdateop.js.map +1 -0
  122. package/esm/models/v2agentpreferenceheadtoheadresponse.d.ts +15 -0
  123. package/esm/models/v2agentpreferenceheadtoheadresponse.d.ts.map +1 -0
  124. package/esm/models/v2agentpreferenceheadtoheadresponse.js +18 -0
  125. package/esm/models/v2agentpreferenceheadtoheadresponse.js.map +1 -0
  126. package/esm/models/v2agentpreferenceheadtoheadretrieveop.d.ts +10 -0
  127. package/esm/models/v2agentpreferenceheadtoheadretrieveop.d.ts.map +1 -0
  128. package/esm/models/v2agentpreferenceheadtoheadretrieveop.js +15 -0
  129. package/esm/models/v2agentpreferenceheadtoheadretrieveop.js.map +1 -0
  130. package/esm/models/v2agentpreferencematchup.d.ts +14 -0
  131. package/esm/models/v2agentpreferencematchup.d.ts.map +1 -0
  132. package/esm/models/v2agentpreferencematchup.js +17 -0
  133. package/esm/models/v2agentpreferencematchup.js.map +1 -0
  134. package/esm/models/v2agentpreferencerecord.d.ts +10 -0
  135. package/esm/models/v2agentpreferencerecord.d.ts.map +1 -0
  136. package/esm/models/v2agentpreferencerecord.js +13 -0
  137. package/esm/models/v2agentpreferencerecord.js.map +1 -0
  138. package/esm/models/v2agentpreferenceresult.d.ts +12 -0
  139. package/esm/models/v2agentpreferenceresult.d.ts.map +1 -0
  140. package/esm/models/v2agentpreferenceresult.js +16 -0
  141. package/esm/models/v2agentpreferenceresult.js.map +1 -0
  142. package/esm/models/v2agentpreferenceresultslistop.d.ts +12 -0
  143. package/esm/models/v2agentpreferenceresultslistop.d.ts.map +1 -0
  144. package/esm/models/v2agentpreferenceresultslistop.js +17 -0
  145. package/esm/models/v2agentpreferenceresultslistop.js.map +1 -0
  146. package/esm/models/v2agentpreferenceresultsresponse.d.ts +11 -0
  147. package/esm/models/v2agentpreferenceresultsresponse.d.ts.map +1 -0
  148. package/esm/models/v2agentpreferenceresultsresponse.js +14 -0
  149. package/esm/models/v2agentpreferenceresultsresponse.js.map +1 -0
  150. package/esm/models/v2evalresultsummary.d.ts +2 -0
  151. package/esm/models/v2evalresultsummary.d.ts.map +1 -1
  152. package/esm/models/v2evalresultsummary.js +3 -0
  153. package/esm/models/v2evalresultsummary.js.map +1 -1
  154. package/esm/models/v2preferenceresult.d.ts +30 -0
  155. package/esm/models/v2preferenceresult.d.ts.map +1 -0
  156. package/esm/models/v2preferenceresult.js +26 -0
  157. package/esm/models/v2preferenceresult.js.map +1 -0
  158. package/esm/tool-names.d.ts.map +1 -1
  159. package/esm/tool-names.js +32 -0
  160. package/esm/tool-names.js.map +1 -1
  161. package/package.json +1 -1
  162. package/src/funcs/agentPreferenceV2AgentPreferenceCompetitorsList.ts +124 -0
  163. package/src/funcs/agentPreferenceV2AgentPreferenceEvalsCreate.ts +145 -0
  164. package/src/funcs/agentPreferenceV2AgentPreferenceEvalsDelete.ts +153 -0
  165. package/src/funcs/agentPreferenceV2AgentPreferenceEvalsList.ts +124 -0
  166. package/src/funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.ts +153 -0
  167. package/src/funcs/agentPreferenceV2AgentPreferenceEvalsUpdate.ts +154 -0
  168. package/src/funcs/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.ts +151 -0
  169. package/src/funcs/agentPreferenceV2AgentPreferenceResultsList.ts +158 -0
  170. package/src/landing-page.ts +1 -1
  171. package/src/lib/config.ts +2 -2
  172. package/src/mcp-server/mcp-server.ts +1 -1
  173. package/src/mcp-server/server.ts +17 -1
  174. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceCompetitorsList.ts +37 -0
  175. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsCreate.ts +45 -0
  176. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsDelete.ts +45 -0
  177. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.ts +36 -0
  178. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.ts +45 -0
  179. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsUpdate.ts +45 -0
  180. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceHeadToHeadRetrieve.ts +44 -0
  181. package/src/mcp-server/tools/agentPreferenceV2AgentPreferenceResultsList.ts +45 -0
  182. package/src/models/createv2agentpreferenceevalrequest.ts +48 -0
  183. package/src/models/updatev2agentpreferenceevalrequest.ts +38 -0
  184. package/src/models/v2agentpreferencecompany.ts +18 -0
  185. package/src/models/v2agentpreferencecompetitor.ts +22 -0
  186. package/src/models/v2agentpreferencecompetitorsresponse.ts +22 -0
  187. package/src/models/v2agentpreferenceeval.ts +54 -0
  188. package/src/models/v2agentpreferenceevalscreateop.ts +25 -0
  189. package/src/models/v2agentpreferenceevalsdeleteop.ts +33 -0
  190. package/src/models/v2agentpreferenceevalsresponse.ts +22 -0
  191. package/src/models/v2agentpreferenceevalsretrieveop.ts +33 -0
  192. package/src/models/v2agentpreferenceevalsupdateop.ts +41 -0
  193. package/src/models/v2agentpreferenceheadtoheadresponse.ts +46 -0
  194. package/src/models/v2agentpreferenceheadtoheadretrieveop.ts +37 -0
  195. package/src/models/v2agentpreferencematchup.ts +42 -0
  196. package/src/models/v2agentpreferencerecord.ts +30 -0
  197. package/src/models/v2agentpreferenceresult.ts +35 -0
  198. package/src/models/v2agentpreferenceresultslistop.ts +39 -0
  199. package/src/models/v2agentpreferenceresultsresponse.ts +28 -0
  200. package/src/models/v2evalresultsummary.ts +9 -0
  201. package/src/models/v2preferenceresult.ts +50 -0
  202. package/src/tool-names.ts +32 -0
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: b6066f6a920b
4
+ */
5
+ import { agentPreferenceV2AgentPreferenceEvalsList } from "../../funcs/agentPreferenceV2AgentPreferenceEvalsList.js";
6
+ import { formatResult } from "../tools.js";
7
+ export const tool$agentPreferenceV2AgentPreferenceEvalsList = {
8
+ name: "agent-preference-v2-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 agentPreferenceV2AgentPreferenceEvalsList(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=agentPreferenceV2AgentPreferenceEvalsList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentPreferenceV2AgentPreferenceEvalsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yCAAyC,EAAE,MAAM,0DAA0D,CAAC;AACrH,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,8CAA8C,GAAmB;IAC5E,IAAI,EAAE,iDAAiD;IACvD,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,yCAAyC,CAC9D,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/v2agentpreferenceevalsretrieveop.js").V2AgentPreferenceEvalsRetrieveRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2agentpreferenceevalsretrieveop.js").V2AgentPreferenceEvalsRetrieveRequest, unknown>>;
4
+ };
5
+ export declare const tool$agentPreferenceV2AgentPreferenceEvalsRetrieve: ToolDefinition<typeof args>;
6
+ export {};
7
+ //# sourceMappingURL=agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentPreferenceV2AgentPreferenceEvalsRetrieve.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,kDAAkD,EAAE,cAAc,CAC7E,OAAO,IAAI,CA8BZ,CAAC"}
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: e0cae09e3663
4
+ */
5
+ import { agentPreferenceV2AgentPreferenceEvalsRetrieve } from "../../funcs/agentPreferenceV2AgentPreferenceEvalsRetrieve.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$agentPreferenceV2AgentPreferenceEvalsRetrieve = {
12
+ name: "agent-preference-v2-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 agentPreferenceV2AgentPreferenceEvalsRetrieve(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=agentPreferenceV2AgentPreferenceEvalsRetrieve.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentPreferenceV2AgentPreferenceEvalsRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/agentPreferenceV2AgentPreferenceEvalsRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,6CAA6C,EAAE,MAAM,8DAA8D,CAAC;AAC7H,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,kDAAkD,GAE3D;IACF,IAAI,EAAE,qDAAqD;IAC3D,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,6CAA6C,CAClE,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$agentPreferenceV2AgentPreferenceEvalsUpdate: ToolDefinition<typeof args>;
6
+ export {};
7
+ //# sourceMappingURL=agentPreferenceV2AgentPreferenceEvalsUpdate.d.ts.map
@@ -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"}